reap: the carrier never exports OC_E2E_DEVICE_TEARDOWN, so the final leg cannot destroy its own member device and reds (30/31 green, reap ran for the first time) #1137
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#1137
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?
The run
Drive
20260902T020219Zreached 30 of 31 green —remove-deviceGREEN (the last leg carrying a real defect, after #1134's LOSES row and2cef224d's removal-settle fix), andreapran for the first time in the #854 arc. It red on a wiring gap:Diagnosis
The
reapleg (journey.device.spec.tsrunDeviceTeardown) destroys THIS drive's device itself — the journey holds no clan-lab and no DO token — by running the command string the carrier is contracted to export asOC_E2E_DEVICE_TEARDOWN, then polls doctl until the box is gone.oc_device_create(scripts/lib/rehearsal-droplet.sh) exportedOC_E2E_DEVICE_IPand never the teardown command, so both the leg and its afterAll doctl-fallback threw "not set". The device was still cleaned up out of band (clan-lab's 6h TTL reap, GOTCHAS #48), but the leg could not prove it and redded — a contract never wired, visible in the afterAll fallback's own note the whole arc.Fix (landed
7f3a62d5)oc_device_teardownresolves its target from$oc_device_name/$oc_device_id, shell state that does not survive into the playwright subprocess. So the export bakes the concrete droplet name in:printf %qquotes the name; the parsed argv is exactly[clan-lab, destroy, <name>]even with a space in$CLAN_LAB.clan-lab destroyrefuses anything not clan-lab-tagged, so it can only reach the member box, never the standing gateway.bash -nclean; the exported command verified to parse to the right argv.Filed and fixed in one motion by the watching session under ADR 0174 — harness-only, revertible.
This is the last leg
reapis leg 31 of 31 and the only one that had never run. With this, every leg of the phase-5 device journey has a green path. The next drive is the completion candidate: bare metal → taken-over, IdP-authenticated, files-serving member → cleanly removed → reaped. If it holds, #854 goes GREEN.Fixed in
7f3a62d5(pushed just before this ticket was minted, so the auto-close could not fire). Closing.