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:
@@ -3,13 +3,13 @@
|
||||
Review baseline: `afd04e49d79afa775649e8f9dcc928b1db8cac05`.
|
||||
|
||||
The integration review followed all seven stages of
|
||||
[the implementation plan](implementation.md). One actionable issue remains.
|
||||
[the implementation plan](implementation.md). The one identified issue is complete.
|
||||
The existing single-invocation cleanup, canonical-product reuse, publication,
|
||||
restore, and managed-view behavior otherwise match the selected design.
|
||||
|
||||
## 1. Serialize Standalone Readiness Probes With Session Cleanup
|
||||
|
||||
Status: Pending.
|
||||
Status: Complete.
|
||||
|
||||
Priority: P2.
|
||||
|
||||
@@ -97,3 +97,19 @@ subsequently removes the completed probe directory. Also cover cancellation
|
||||
while waiting for the lock and reuse the existing no-prepared-state and
|
||||
manifest-unchanged validation tests. Exercise both Audita and Notarius through
|
||||
their shared locking boundary without duplicating native subprocess tests.
|
||||
|
||||
### Completion
|
||||
|
||||
Standalone validation now uses the existing context-aware session lock before
|
||||
loading prepared probe evidence and holds it through probe I/O and reference
|
||||
verification. Lock-acquisition and release failures remain command errors, and
|
||||
cancellation while waiting prevents probe construction. Missing manifests report
|
||||
missing preparation without creating a workspace. Automatic runner preflight and
|
||||
cleanup retention are unchanged.
|
||||
|
||||
Channel-controlled Audita and Notarius regressions verify lock exclusion during
|
||||
active probe I/O and successful cleanup afterward. Additional coverage checks
|
||||
cancelled lock waits, absent preparation, and unchanged manifest bytes. The new
|
||||
regressions failed before the fix and pass afterward, including five repeated
|
||||
race-enabled runs. Full tests, the full race suite, vet, build, documentation
|
||||
checks, and whitespace checks passed.
|
||||
|
||||
Reference in New Issue
Block a user