fix: hold the pipeline's fixed outputs for a run

The pipeline locked only --output-dir while it also writes database.json,
install/, README.md and docs/. A run on a scratch output directory could
start beside the run on dist/ and rewrite them. Every run now holds the
repository's .lock first.
This commit is contained in:
Abdessamad Derraz committed 2026-10-21 09:53:15 +02:00
1 parent 43337c6719
commit 12cc71b634
5 files changed
+75 -8

No files matched your search

+1
View File
@@ -2810,6 +2810,7 @@ from artifacts import ( # noqa: E402,F401
ArtifactLockBusy,
artifact_lock,
hold_artifact_lock,
hold_repository_outputs,
_TIMESTAMP_PATTERNS,
_strip_timestamps,
)