D3569 — An attach refused with BoxHostRowEnded registers the box again through minvmd and retries the attach · Issue #3577 · gominimal/minimal · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
D3569 — An attach refused with BoxHostRowEnded registers the box again through minvmd and retries the attach #3577
### D3569 — An attach refused with BoxHostRowEnded registers the box again through minvmd and retries the attach
kind: task
size: M
est: 260 code, 180 tests
executor: agent
origin: bug
epic: 1437
layers:
- daemon:
- crates/minimald/src/box_actor/attach.rs: Give BoxHostRowEnded its own exit status from minimald-rpc so that the CLI can detect it, and remove the stop-gap destroy-and-activate wording.
- crates/minimald/src/box_actor/host.rs: Let host_row_lost and the relaunch accept a row that the creator registered again, with its new addresses and box id, as a new attachment.
- crates/minimald/src/rpc.rs: Handle the new request that stores the new box_addresses, task_addresses and box_id on the record and clears host_row_bound.
- crates/minimald-rpc/src/lib.rs: Add the row-ended attach exit status constant and the request that carries the new registration to the in-VM daemon.
- crates/minimald/src/connection.rs: Update attach_refusal_sends_an_exit_status_for_every_refusal for the new status and text of BoxHostRowEnded.
test: cargo test -p minimald attach_refusal_sends_an_exit_status_for_every_refusal
test: cargo test -p minimald box_actor::tests
- cli:
- crates/minimal/src/cmd/boxes/attach.rs: When the attach ends with the row-ended status, register the box again from the host-side spec, give the result to the daemon, and retry the attach one time.
- crates/minimal-client/src/box_registration.rs: Add a re-registration helper that calls register_box_for_activation with the record's name, network and policy and sends the new facts to the in-VM daemon.
- crates/minimal/src/tests.rs: Add an end-to-end test: the row is withdrawn after the shell exits, and the next attach registers the box again and succeeds.
test: cargo test -p minimal attach_after_row_withdrawn_registers_again
test: cargo test -p minimal-client box_registration
- spec:
- docs/specs/18-spec-box-networking/18-spec-box-networking.md: State that the creator's re-registration after an attachment ends is a new attachment, which meets the before-first-connection requirement.
test: cargo test -p minimal attach_after_row_withdrawn_registers_again
proof: On a VM-backed host, after a box's shell exits and minvmd withdraws its row, the next min session attach succeeds without the released-addresses refusal.
The run failed: TimeoutExpired: Command '['mip', 'check']' timed out after 300 seconds The coder's commit 8f33e23 was not published, and is on origin at refs/agent-quarantine/4cf30b39-326d-43ee-82b5-6d37b0cdb5b9: git fetch origin refs/agent-quarantine/4cf30b39-326d-43ee-82b5-6d37b0cdb5b9. Delete the ref once the work is recovered or abandoned.
Activity
norrietaylor commentedon Nov 18, 2026
/implement
minimal-foundry commentedon Nov 18, 2026
The run failed: TimeoutExpired: Command '['mip', 'check']' timed out after 300 seconds The coder's commit 8f33e23 was not published, and is on origin at refs/agent-quarantine/4cf30b39-326d-43ee-82b5-6d37b0cdb5b9:
git fetch origin refs/agent-quarantine/4cf30b39-326d-43ee-82b5-6d37b0cdb5b9. Delete the ref once the work is recovered or abandoned.branch
agent/3577-an-attach-refused-with-boxhostrowended-registers· epic #1437Updated 2026-11-18T23:53:19.063Z.