Repository navigation
fix(check): repair the buildcache and boxload beds (Closes #1138) - #1357
Conversation
…36.0447 The fixture pinned pod-nested-podman-socket v2026.273.1858, whose layer-container-nesting still ran a build-time podman pull that the sandboxed BuildKit worker denies, so check-boxload-pod failed its build on main. v2026.336.0447 carries the fixed nesting layer (pod-nested-podman-socket#8, layer-container-nesting#23). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Tvdn3smn7hhJAPbCPEE5dH Agent: vol-cdi · Claude Code session 8daa865c-d43e-447b-90b3-7d16ccc921d7 Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)
…essful builds check-plugin-buildcache-local's observation shim delegated to `command -v go`. On a host whose go is a version manager's shim (mise here), that shim re-resolved go through PATH, found the bed's shim first, and failed every build with a recursion error. The loader warn-skipped the failed kind, box validate still exited 0, and the cold arm counted the failed attempts as builds, so the bed reported 'the store did not hit' for a store that was never written. The shim now delegates to $(go env GOROOT)/bin/go, and the cold arm fails if the plugin build failed. Closes #1138. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Tvdn3smn7hhJAPbCPEE5dH Agent: vol-cdi · Claude Code session 8daa865c-d43e-447b-90b3-7d16ccc921d7 Assisted-by: Claude Code Anthropic Claude Opus 5.5 (analysed on a live system)
Review — PASSHead SHA: Security screen: PASS — bed-internal config + a documented producer pin bump; no secrets, no scope mismatch, no guardrail weakening, no unexpected supply-chain target (the new tag is the producer's fixed tag, validated by the passing bed run). Checklist: All applicable rules PASS or NA. Notes on the two judgment calls:
C1/C2 evidence is coherent and reproducible-in-principle (buildcache: 3 candidates with pasted output, winner implemented, old-shim arm fails / fixed arm passes; boxload: single candidate + why-no-other, spike-equivalent shown by old-pin FAIL vs new-pin PASS). C6 grep self-test matches the diff; C11 both changed beds pass on the committed tree ( Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: check-bed configuration only ( Blocks
Comment disposition
Reviewed, non-blocking
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
|
HOLDING This PR blocks #1340 (the kind-connect memo) and #1024 (the project loaded once per scan). Their gate, Agent: |
Review — PASSHead SHA: Security screen: PASS — bed-internal config plus a producer pin bump to the fixed tag; no secrets/egress, no scope mismatch, no guardrail weakening, no unexpected supply-chain target. Comment dispositions:
Checklist: All applicable rules PASS or NA — diff matches the body ( Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
Two check beds were red on
mainfor reasons in the beds themselves, not in the loader they gate. That kept the loader roster of #1340 and #1024 from going green. This change repairs both.check-plugin-buildcache-local(Closes check-plugin-buildcache-local fails its cache-hit assertion on unmodified main (27 -> 54 go builds on an unchanged rebuild) #1138). The bed'sgoshim recorded every build and then ranreal_go="$(command -v go)". On a host wheregois a version manager's shim (mise here), that names the manager's shim, and mise re-resolvesgothroughPATH. It finds the bed's own shim first, so every build ends inmise ERROR shim fallback recursion detected. The loader warn-skips a failed plugin build, sobox validatestill exits 0. Each failed attempt was counted as a build, so the warm arm read as a cache miss:FAIL: the second build of UNCHANGED source re-ran 'go build'. The plugin-build store was never broken."$(go env GOROOT)/bin/go".check-boxload-pod.check-boxload-apppinnedpod-nested-podman-socket:v2026.273.1858. That tag composes alayer-container-nestingwhose build-time materialize step fails (Error: no such file or directory). The producers were fixed first: fix(nesting): run the nested smoke check from the baked OCI layout layer-container-nesting#23 (tagv2026.336.0440) and fix(socket): pin layer-container-nesting past the sandbox-boundary fix pod-nested-podman-socket#8 (tagv2026.336.0447, which pins it). This change moves the fixture pin tov2026.336.0447.Head
fdc1838c1bc517d54c6994795f849a4cdf54cef4. It isc689588c335c2527026add35ed725def2e1c1a7f(the change, cut onmain40648c6279cff31483c60ded0b3dc8dc04246c06) plus agh pr update-branchmerge ofmain; none of the mergedmaincommits touches either bed, and the change set againstmainis unchanged (charly.yml, +14/−2).charly.ymlcheck-plugin-buildcache-local: the shim'sreal_gois$(go env GOROOT)/bin/go; the cold arm fails when its plugin build failedcharly.ymlcheck-boxload-app:pod-nested-podman-socketv2026.273.1858→v2026.336.0447How tested
The defects, on unchanged main
Both beds on charly
main(/tmp/cs/charly-main, its own bootstrapped binary). The buildcache bed fails its warm arm:The "builds" it counted were failed attempts. The same bed script, extracted and run by hand, gives the shim's recursion error. (On this host
command -v gois mise's shim; see the spike below.)The boxload bed fails at image build, in the nesting layer's materialize step:
Spike
Buildcache candidates:
$(go env GOROOT)/bin/go(implemented).go env GOROOTis answered by the real toolchain even through a manager's shim, and the binary under it is no wrapper.PATHinside the shim. Rejected: it names each manager (mise, asdf, goenv), and a new one breaks it again.Candidate (1) was spiked by extracting the bed's exact script from this tree's
charly.yml, deriving the old-shim variant with onesed, and running both against this tree's binary. The old shim fails, now at the new cold-arm control. The new shim passes every arm:The extractor:
Boxload: there is one candidate: fix the producer and repin. A charly-side workaround (overriding the nesting layer's step from the fixture) would leave every other consumer of the nesting layer broken. The producers landed first, as noted in the summary.
The change — both beds on the committed tree
Bootstrapped from this worktree (charly
2026.336.1052), then each bed run end to end:The nested container check that failed on
mainat build time now runs in both live phases. Each line pair below is one phase's report: 38 steps in that phase, 6 of them skipped (the bed-levelskipped_checks=13above counts unrun declared checks across all phases; it is a different counter):Rulebook compliance
main(above). The buildcache RCA is on check-plugin-buildcache-local fails its cache-hit assertion on unmodified main (27 -> 54 go builds on an unchanged rebuild) #1138: the mechanism is the recursion; the missed control is the cold arm counting attempts; the blast radius is any host whosegois a manager shim. The boxload RCA went to the producers (nested-podman-run can never pass on a pod: its image is materialized by a plan run: step that no pod phase executes (check-live is verify-only) layer-container-nesting#22, the pinned [email protected] predates the sandbox-boundary fix, so every box composing this candy still fails its build under the BuildKit worker pod-nested-podman-socket#7, both closed by their fixes).real_go.PATHfilter or retry; the boxload fix is in the producers.command -v goline is replaced, and the old pin is gone:mainand pass on this tree. The cold-arm control is proven to fail by the old-shim arm.2026.336.1052).fix/branch in a session worktree; check-plugin-buildcache-local fails its cache-hit assertion on unmodified main (27 -> 54 go builds on an unchanged rebuild) #1138 claimed before the edit.Plan conformance
Winning candidate: (1) exec
$(go env GOROOT)/bin/go; boxload: producer fix plus repin.The fixture pin move is no DESIGN-governed surface: a check fixture advances to the producer's fixed tag, landed producer-first under AGENTS.md "Commit, push, land" ("Cross-repo work is producer-first: producer PR → merge → tag → consumer ff → umbrella PR").
Change classification
Check-bed configuration only; no Go source and no product behaviour change.
Filed issues
Agent:
vol-cdi· Claude Code session8daa865c-d43e-447b-90b3-7d16ccc921d7Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)