8000 fix(minimal-client): wait past the host's revocation wait for a row-ended resume · gominimal/minimal@7582b5f · GitHub
[go: up one dir, main page]

Skip to content

fix(minimal-client): wait past the host's revocation wait for a row-e…

Minimal Arch / arch-review succeeded Nov 19, 2026 in 0s

PASS

Inputs. Re-review of #3615 at 7582b5f2 on arch 8b824707, the same arch as every earlier ruling on this PR. The latest ruling that is not a FAIL or a CONFIRM is the PASS at be7afdbf. since-conditions.json is empty after that PASS, so no condition is open and the compare is enough. The compare is one commit (7582b5f2). No findings.json or arch-map.md is staged, so I found the sections by search.

Governs: deployment-and-egress-gateway.md §7.1 (LocalVM) line 245: the helper derives what it binds from its own records, never from the guest. architecture.md Exit codes line 362. The compare does not touch either rule.

The compare. (1) crates/minimal-client/src/box_registration.rs adds ROW_ENDED_RESUME_TIMEOUT (10 s), which is twice minvmd's REVOCATION_WAIT (5 s, crates/minvmd/src/box_registry.rs:262). resume_box_row_after_row_ended uses it in place of BOX_CONTROL_TIMEOUT. (2) resume_box_row_answer in crates/minimal-client/src/attach.rs takes the bound as a parameter. Its two callers pass BOX_CONTROL_THREAD_BOUND (no change) and ROW_ENDED_RESUME_TIMEOUT + 1 s. (3) The test is renamed to attach_after_row_withdrawn_resumes_the_same_creation, and spec 18's comment and verify: line follow it. No reference to the old name stays in the tree. A timeout still gives RowEndedResume::NotBack, and the attach exits 1. So the path still fails closed (rubric rule 7). The design states no bound on the creator's ask for a row, so the value of the bound is not a design question. The PR body's follow-up "REVOCATION_WAIT equals BOX_CONTROL_TIMEOUT" is what this commit fixes for the row-ended resume.

Ruling. Everything outside the compare keeps the status of the PASS at be7afdbf. NET-138 conforms. No departure from precedent.

Not checked: whether the new tests pass. That needs a build, which this review does not run. The new test row_ended_resume_outlasts_minvmds_revocation_wait reads minvmd's source text across crates. That is a test-quality question for minimal-review, not a design one.

Ruled at 7582b5f against gominimal/arch@8b824707cde6 by claude-opus-5-5; arch_rulings 1505, job 7b787666-824d-4faa-9758-03c8a45fdaf6.

0