Skip to content

test: add a preflight check to the factory-edge staging script - #5504

Merged
auser merged 1 commit into
mainfrom
test/factory-edge-preflight
Nov 15, 2026
Merged

auser merged 1 commit into
mainfrom
test/factory-edge-preflight

Conversation

@auser

@auser auser commented Nov 14, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #5495. scripts/factory-edge-stage.sh --check verifies every prerequisite and starts nothing: a working mvmctl, the demo home, the cached image, enough free disk, and that every granted destination resolves. A grant is resolved to addresses when its workload is admitted, so the demo needs working DNS, and a flaky network at presentation time would otherwise fail during staging. Normal staging runs the same checks first, and DNS_CHECK=0 skips the DNS check (the hermetic test uses it so it needs no network).

The runbook now says to stage shortly before presenting, about ten minutes, because every lookup a staged workload makes is a signed audit-chain entry and the chain, with the cost of explain and trust audit verify, grows for as long as the workloads run; and that staged machines do not survive a reboot while the demo home, the installed release and the cached image do.

Verification: the hermetic test passes (it now also checks that --check starts nothing and that an unresolvable grant is caught). A live rehearsal of the whole presenter sequence against the v0.28.0-rc.2 release on HVF passed: --check about 3 s, staging 18 s, demo 28 s with all 11 checks, and a clean --down with no processes left. Spec hygiene and overclaim gates pass.

--check verifies every prerequisite and starts nothing: a working mvmctl, the
demo home, the cached image, enough free disk, and that every granted
destination resolves, since a grant is resolved to addresses when its workload
is admitted and the demo therefore needs working DNS. Staging runs the same
checks first. The runbook now says to stage shortly before presenting, because
each lookup a staged workload makes is a signed chain entry, and that staged
machines do not survive a reboot.
@auser
auser added this pull request to the merge queue Nov 15, 2026
@github-actions github-actions Bot mentioned this pull request Nov 15, 2026
Merged via the queue into main with commit 7d6f8bd Nov 15, 2026
12 checks passed
@auser
auser deleted the test/factory-edge-preflight branch November 15, 2026 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant