fix: standalone writers take the repository lock

This commit is contained in:
Abdessamad Derraz committed 2026-11-06 03:42:09 +01:00
1 parent 639204712b
commit 1ed605969d
10 files changed
+152 -30

No files matched your search

+3 -1
View File
@@ -3547,6 +3547,8 @@ from artifacts import ( # noqa: E402,F401
artifact_lock,
hold_artifact_lock,
hold_repository_outputs,
publish_hold,
repository_output_lock,
_TIMESTAMP_PATTERNS,
_strip_timestamps,
)
@@ -3588,7 +3590,7 @@ def run_cli(main: Callable[[], int | None]) -> None:
try:
code = main()
sys.stdout.flush()
except InputMissing as exc:
except (InputMissing, ArtifactLockBusy) as exc:
print(f"ERROR: {exc}", file=sys.stderr)
sys.exit(1)
except BrokenPipeError: