Lock corpus artifacts during comparison
This commit is contained in:
1 parent
0979b8f544
commit
0da2bcd82d
4 files changed
+107
-34
No files matched your search
@@ -68,10 +68,12 @@ python3 infra/deploy/compare_corpus_inventories.py \
|
||||
|
||||
The checker streams every relative path, size, and SHA-256 from both SQLite
|
||||
inventories, and requires the same verifier/schema version and different
|
||||
normalized roots. A zero exit status confirms a non-empty staging tree matches
|
||||
the source. Keep both trees quiescent during their scans and comparison. This
|
||||
is an equality check only; the owner still reviews the code `6` disposition
|
||||
and approves the transfer destination.
|
||||
normalized roots. It opens both existing private `.inventory.lock` files
|
||||
read-only and holds shared nonblocking locks through comparison; a missing,
|
||||
unsafe, or busy lock fails closed. A zero exit status confirms a non-empty
|
||||
staging tree matches the source. Keep both trees quiescent during their scans
|
||||
and comparison. This is an equality check only; the owner still reviews the
|
||||
code `6` disposition and approves the transfer destination.
|
||||
|
||||
## Current data disposition
|
||||
|
||||
|
||||
@@ -199,7 +199,8 @@ protected file metadata remain unverified.
|
||||
|
||||
Adds a read-only, resumable full-file corpus inventory and normalized-data
|
||||
cross-check, a source/staging comparator requiring nonzero documents and
|
||||
fragments, synthetic regression tests, and an operator handoff runbook. CI's
|
||||
fragments plus held shared artifact locks, synthetic regression tests, and an
|
||||
operator handoff runbook. CI's
|
||||
existing `infra/deploy` unittest discovery includes the new tests. No workflow,
|
||||
runner, VPS, production data, or Docker settings are changed. The first real
|
||||
corpus scan stopped on an integer-storage bug; full validation with the
|
||||
|
||||
Reference in new issue
Block a user