rehearsal-4: gateway image pre-warms the gateway closure in its Nix store — shorter rented deploy, image stays generic #655
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#655
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?
Follow-up to #646, ruled in conversation with Ben 2026-08-22 (deferred until the rented drive #652 is green — a speed optimisation, not a correctness need).
The gateway image is deliberately minimal (ADR 0048): NixOS + sshd + cloud-init +
idss-agent+ the fleet disko layout. Netbird, Caddy, kanidm, acme-dns, control plane, dashboard all arrive at stand-up via seed/supply + aclan update(VMMode), so the renteddeployleg builds the whole gateway closure on as-2vcpu-4gbbox (spec ceiling 15 min).Ask: at image build, copy the generic parts of the gateway closure into the image's Nix store (
nix copy --tothe build box before snapshot, orsystem.extraDependencieson a representative gateway eval) sodeployis mostly a switch, not a build. Constraints that must hold:image-bootleg keeps asserting that.deployleg durations on #652 before/after; the spec ceiling tightens from green evidence like every leg.Related: the private path's warm-proof / GC-root lessons (warm-arc review 2026-08-08 —
elevatedPrimePATH scoping) — pin a GC root for the warmed closure ornix-collect-garbageon the build box will eat it before the snapshot.Ruled: DEFERRED (Ben, 2026-08-22)
Parked, not rejected — a speed optimisation to the rented
deployleg, not a correctness need. #646 already proved the pre-warmed-closure pattern for the private/self-hosted path (scripts/build-gateway-warm.sh+system.extraDependencies,nix/guest/configuration.nix:117); this ticket extends the same technique to the rented gateway-image path once that path exists and is exercised for real.Revisit when:
Labelled
deferredperdocs/agents/triage-labels.md: triage automation skips this issue; a human (or a session, once #652 fires) re-labels it when the criterion fires.Triaged
deferred. This ticket's own body already records that Ben ruled it deferred in conversation (2026-08-22, follow-up to #646, gated on the rented drive #652 going green) — this pass formalises that ruling into the canonical## Ruled: DEFERREDsection (docs/agents/triage-labels.md) so triage automation and future agents skip it correctly, and applies thedeferredlabel. No ADR 0174 agent ruling here; the human call was already made — this is a formatting/labelling pass, not a new decision.Redundancy check: not already implemented.
scripts/build-gateway-warm.sh+nix/guest/configuration.nix:117(system.extraDependencies) already prove the pre-warmed-closure pattern for the private/self-hosted enroll path — this ticket asks for the same technique on the separate rented gateway-imagedeployleg, which does not yet do this.Revisit criterion: #652 (the standing rented-drive rehearsal) reaches GREEN.