perf(guards): run the guard suite in parallel, and unpin the renamed cache claim #569
Loading…
Reference in a new issue
No description provided.
Delete branch "sean/parallel-guard-suite"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two commits. First, trunk is red and the wiring it guards is correct:
dc078fbcrenamed the buildkit cache claim to binjovi-buildkit-cache-arm-evac for the ARM worker replacement and moved tests/binjovi-buildkit.sh to a derived name, but check-kernel-build-cache.sh kept pinning the literal, so every full run of tests/check.sh has failed since. Its neighbouring probe survived only by accident, because claimName: binjovi-buildkit-cache is a PREFIX of the new name. Both are replaced by deriving the claim from the Deployment and pinning the shape: the daemon mounts a cache claim, that claim is declared in the same file, and it is on zfs-nvme-128k. Seven controls now, including that a CONSISTENT rename must still pass while a half rename must fail. Second, the suite runs in parallel. Serial it is 323 seconds, and three guards are 70 percent of that. A change touching tests/check.sh runs the whole suite inside one gitops_validate task with a 600 second deadline, and seanfarm #552 was killed at 602 seconds by the clock rather than by a failing guard. In parallel it finishes in 118 seconds with the same 97 guards reporting. The guards are hermetic; the five that use a fixed /tmp path were checked and every name is distinct. Every guard now runs even after one fails, and output is replayed in list order. https://claude.ai/code/session_01KZoQin34jeyt6nDGqvJA76