Protect validation probes with the session lock
Some checks failed
ci/woodpecker/push/verify Pipeline was canceled
Some checks failed
ci/woodpecker/push/verify Pipeline was canceled
This commit is contained in:
@@ -51,6 +51,9 @@ operating-system lock held on `.lock` (`ErrLockConflict` on contention). The
|
||||
file retains owner metadata after release or process death; its existence is
|
||||
not evidence that a lock is active. Command and restore flows wait for this
|
||||
lock only while their context remains active, and report a release failure.
|
||||
Standalone validation uses the same lock for its prepared-state reads and
|
||||
session-local readiness probes, keeping active probe files outside concurrent
|
||||
cleanup. Validation leaves stage progress unchanged.
|
||||
|
||||
The runner assigns every invocation a run-workspace identity but creates the
|
||||
physical run directory and its `runs/` parent only when an executing stage
|
||||
|
||||
Reference in New Issue
Block a user