updates: set-release-channel --apply needs eight env exports the operator must know by heart — it should build the gateway's clan environment itself (#1569's runbook step) #1665
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.
Blocks
Reference
Matou/idss#1665
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 gap
set-release-channel --apply(#1661) is meant to be the ONE command an operator types in an SSH session on a kept gateway to move it onto a release channel (#1569 — first on Whakatōhea Demo). It is not one command yet. The #1614 proof drive only gets through it by prefixing eight environment variables on the SSH wire (5134fbb3,app/tests/e2e/fixtures/updatesJourney.tsrealRailLandStep):Those are the exports the control-plane UNIT's start script builds for its own clan runner (
internal/clan/vmguest.go~:823-867). The drive found them one red at a time (#1661's three layers, #1664). A human following a runbook will find them the same way — on a kept community, with the pin committed but not live each time it fails.docs/architecture/11-update-supply-chain.md§"Landing the channel…" currently documents the one-liner WITHOUT them.Fix
--applybuilds its own environment. One shared source for "the environment the gateway's clan runner needs" — a Go helper the subcommand calls, or an env file the render emits (e.g./etc/idss/control-plane.env) that BOTH the unit's start script and--applyload — so the two cannot drift. Explicit env from the caller still wins (the drive, tests)./srv/idss/config,/var/lib/idss) when unset and present, so the operator's command is literallycontrol-plane set-release-channel --apply <node> <feed> <key>. Refuse loud if they are absent (ADR 0100), naming what was looked for.realRailLandStep— it should type what the operator types. That is the proof./srv/idss/bin/control-plane) — or the render puts anidss-control-planewrapper on root's PATH.Acceptance
--apply's clan invocation carriesHOME,SOPS_AGE_KEY_FILE, the git identity and the config/state dirs.--applydraw from the same source (no second hand-written list).realRailLandStepcarries no env prefix; fixture tests updated.Live proof: the #1614 drive's
real-railleg. Blocks #1569 (do not run the re-tune on Whakatōhea Demo before this), not #1614.swarm-claim host=bens-mac-04 run=28478
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1665 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope