internal/vm assemble seam test triggers #1038's 46-CPU-min installer-base nix build offline — trips the pre-push gate on any cold-store worker #1047
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1047
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
What's wrong
internal/vm/assemble_test.go'sTestAssemblePayload_ProducesResolvableLayoutruns the REALscripts/assemble-payload.shand its docstring is explicit that it drives the step offline with stand-in artifacts: "the real agent build needs the Go toolchain, the guest image needs Nix, and the pinned QEMU needs #230), so the LAYOUT contract is proven offline without those heavy inputs." It setsPAYLOAD_AGENT_SRC,PAYLOAD_GUEST_IMAGE_SRC,PAYLOAD_QEMU_SRC_DIRto stand-ins for exactly this reason.But #1038 added a NEW default build to
assemble-payload.sh— the warm kexec-installer-base closure (scripts/build-installer-base-warm.sh, a documented "46+ CPU-min" nix build) — that runs wheneverPAYLOAD_INSTALLER_BASE_CACHE_SRCis unset ANDPAYLOAD_SKIP_INSTALLER_BASE != 1. The assemble seam test sets NEITHER, so on any host whose nix store lacks the cached base the test now triggers that build insidego test, blowing far past the 600s package timeout (FAIL internal/vm 600.010s, anos/execio.Copy hang on the nix subprocess).This trips the pre-push Go gate (
nix develop .#go-ci -- go test ./...) for any worker whose store is cold — the gate cannot pass, blocking the push through no fault of the pushed slice. Workers whose store already carries the base pass fine, so it presents as intermittent. Found while pushing #1042: the gate redded three times oninternal/vmuntilPAYLOAD_SKIP_INSTALLER_BASE=1(the sanctioned CI/offline opt-out, assemble-payload.sh line ~195) brought it back to ~80s.Proposed fix
Add
PAYLOAD_SKIP_INSTALLER_BASE=1to the assemble test'scmd.Env(beside the existingPAYLOAD_*_SRCstand-ins) — the installer-base slot is optional and NOT part of the layout contractResolveConfigchecks, so skipping it keeps the test's stated offline posture and asserts exactly what it did pre-#1038. (Same class as the dashboard/keri-web slots, which the test tolerates because pnpm is light and cached; the installer-base nix build is not.)Optionally also guard the dashboard/keri-web builds behind stand-in
PAYLOAD_DASHBOARD_SRC_DIRif the seam test should be fully build-free.Found while working
#1042 (the ADR 0133 Tier 3 standing-path re-seed). Not fixed there — out of that slice's scope, and the fix belongs to the assemble seam test, not the takeover path.
Duplicate of #1046 — filed independently while diagnosing the same #1038 assemble-test regression from the #1042 push gate; #1046 (filed first, by the CI healer, with the identical
PAYLOAD_SKIP_INSTALLER_BASE=1fix and the liveci/seamevidence onmain) is canonical. Closing this in its favour.