Revision 1ef6ba0cf0e7ccad49e70480feb792abd2f4adde authored by Maxim Zhiltsov on 07 November 2023, 17:03:47 UTC, committed by GitHub on 07 November 2023, 17:03:47 UTC
It's possible to get more than 1 GT job in a task in the case of concurrent creation requests. This PR fixes this by introducing a task row-level lock in the DB for the update transaction. - Fixed GT job creation race condition
1 parent 92f5181
.coveragerc
[run]
branch = true
source =
cvat/apps/
cvat-sdk/
cvat-cli/
utils/dataset_manifest
omit =
cvat/settings/*
*/tests/*
*/test_*
*/_test_*
*/migrations/*
[report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about missing debug-only code:
def __repr__
if\s+[\w\.()]+\.isEnabledFor\(log\.DEBUG\):
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
# don't fail on the code that can be found
ignore_errors = true
skip_empty = true
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...