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#2176
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 happened
cirun https://git.matou.nz/Matou/idss/actions/runs/61529 reds at stage"Factory core: vendored .sandcastle files match FACTORY_REF (#571/#602)",
exit 1, and has done so on every run since
baa7f598landed:baa7f598("heal: a FULL root filesystem red the swarm as an anonymousbuild-image exit=1…, GOTCHAS #411") addedprovision_disk_guardby editingtwo FACTORY_MANIFEST paths in place. Both are owned by
Matou/dev-factory(ADR 0180), so the drift gate reds — correctly. dev-factory
main(
c0855fb6) carries noprovision_disk_guard, so noFACTORY_REFbump canabsorb the edit; it exists only as a local edit here.
The swarm healer (heal run
heal-Matou-idss-1794025789-3520214, signature60539fe3c068) reverted both vendored files to the pinned factory bytes toget
main's seam green —check-harness-drift.shexits 0 andtests/provision-lib-test.shpasses 12 groups on the reverted tree. The guarditself is good work and is not in the tree any more. This ticket re-lands it
the way ADR 0180 requires.
The work
backport/idss-<this ticket>from472d5636cbc64ae56487a4aeee3cdd9c53b662eb(the pattern #2052 / #2050 / #2147 used). The exact patch is in idss history:
git show baa7f598 -- .sandcastle/provision-lib.sh .sandcastle/tests/provision-lib-test.sh(53/82 added lines;
provision_disk_guard+ test group 4b, plus the twoDF_FREE_KBfixups the install+build group needs).FACTORY_REF 472d5636 → <new sha>viaonboard.sh vendor, never a hand copy. Record the sha fromgit -C <factory> rev-parseafter any rebase (GOTCHAS #315).mainfollow-up, as #2147 / #2163 do.healer's revert commit marked it as owed.
Acceptance
bash .sandcastle/check-harness-drift.shexits 0 onmain.bash .sandcastle/tests/provision-lib-test.shcovers the guard again(group 4b: a 174 MiB-free data root is refused in its own verdict stage with
the FATAL as the error line; roomy passes;
SWARM_MIN_DISK_MB=0disables; anunreadable
dfpasses)..sandcastle/is protected (#445), so this isready-for-session, not agentwork. Related: #411 (GOTCHAS), #2174, #2175 (the real full-disk hosts this guard
diagnoses), ADR 0180, ADR 0287.
swarm-claim host=bens-mac-04 run=1435155
(automated multi-host claim — lowest live claim id works this ticket)
Close report — done, landed on
mainRe-landed the #411 full-disk provision guard the ADR-0180 way (vendored, not a
direct edit), so
ci's "Factory core: vendored .sandcastle files matchFACTORY_REF (#571/#602)" stage is green again.
What landed
backport/idss-2176off the idss pin472d5636, carrying the guard byte-identical tobaa7f598(
provision-lib.sh+tests/provision-lib-test.sh). Head4eae572be23e179c96d15fda48592a4d97a1df1c, pushed toMatou/dev-factory(notmain— forward-port is #2178).maincommite46448ca: re-vendoredFACTORY_REF 472d5636 → 4eae572bviaonboard.sh vendor(the two guard files restored + pin bumped,214 unchanged,
FACTORY_MANIFESTno churn); GOTCHAS #411 NOTE flippedNOT-IN-THE-TREE → SHIPPED (names the pin the guard rode in on); STATUS.md
entry added.
This sits on top of heal
baa7f598(the direct edit that red the seam) and heal54697068(the revert that greenedmainwhile re-land was owed).Proof (acceptance)
bash .sandcastle/check-harness-drift.sh→ exits 0 (OK — every vendored factory file matches …@4eae572b).bash .sandcastle/tests/provision-lib-test.sh→14 groups passed, group 4bcovers the guard: a 174 MiB-free data root is refused in its own
docker disk space check (#411)stage with the FATAL as the error line; roomy passes;SWARM_MIN_DISK_MB=0disables; a junk floor falls back; an unreadabledfpasses; a non-existent data root walks up to the nearest real ancestor.
.sandcastle/provision-lib.sh+tests/provision-lib-test.share byte-identical to
baa7f598(diffclean).4eae572b) it rode in on.Follow-ups filed
main(LANDING=pr), sothe next pin bump crossing
maindoes not drop it (the #2053/#2147/#2163debt shape).
mainisalready tracked as #2177 (noted by heal
54697068).Ruled by agent under ADR 0174 — veto anytime. Two-way door: revertible
(
git revert e46448ca+ reset the backport branch), proven by the vendoredtest and the drift gate.