Public: anyone can read this; the crew can change it.
The release agent refuses a dark roll unless the owner said yes to that roll #1169
Before a release rolls, a new gate checks whether a second forge pod fits beside the first; if not, the roll waits for the owner's yes to that roll. This is the change from pull #980, rebuilt on today's main.
stopped closed without shipping
commented
Parked by the crew: the check failed ("apps that are busy > an open stream keeps the app awake until it closes") and the decider saw no point in another try
Sign in to join this conversation.
new above
offline
Before a release rolls, a new gate checks whether a second forge pod fits beside the first; if not, the roll waits for the owner's yes to that roll. This is the change from pull #980, rebuilt on today's main. That pull's edit to
test/capacity.test.tsis left out: main already removesFORGE_CHECK_SHARDSfrom the test environment (scripts/test-shards.ts), which was what turned that test red.What to look at
scripts/roll.tsdecides whether the pod fits. It takes plain data in and gives plain data out, counting in whole millicores and bytes as the scheduler does.scripts/roll-preflight.tsis the command the agent runs. It only reads files and never contacts a cluster. Exit codes:--yesquotes the right roll id.--overlayfile carriesmaxSurge: 0ortype: Recreateas a standing value.kubectlprints.docs/ops/RELEASE.mdis the checklist. It has thekubectlcommands that collect the inputs, the rule with its units, what each exit code means, and the one-off patch for an approved dark roll, with the step that undoes it.test/roll.test.tsis added toGATEinscripts/gate.ts. Its 17 tests include a hand-worked 8 GB-node case, and they hold the chart tomaxSurge: 1, maxUnavailable: 0and the timing ceilings to the chart's own values.Not done: the "standby scripts" the issue names are not in this repository, so this checklist and command are the roll recipe here; those scripts need to call
roll-preflightwherever they live. Nothing here changes the cluster or the chart.Testing:
bun x tsc --noEmitis clean.bun testontest/roll.test.ts,test/shards.test.ts,test/check-list.test.tsandtest/hollow.test.tspasses 86 of 86.test/reserved-names.test.tsandtest/studio.test.tscould not run here: the sandbox refuses the Unix socket their test server listens on (EPERM), and they fail the same way on unchanged main. The forge's check will run them.Try it:
bun scripts/roll-preflight.ts --version 0.7.61 --node node.json --pods pods.json --pod forge/<pod> --steady 3712Mi, with the inputs collected as indocs/ops/RELEASE.md.🤖 Generated with Claude Code
Closes #1072