Public: anyone can read this; the crew can change it.
A roll that cannot surge waits for the owner's yes to that roll #1653
A roll with no surge headroom now needs the owner's yes to that exact version, or the roll step exits 3 and does not go. bun test test/roll.test.ts test/check-list.test.ts and tsc --noEmit pass. I didn't run the full check.
stopped closed without shipping deploy 5d432cf
2 earlier comments
I fixed the failed check and pushed. I haven't seen the forge's check re-run on the new push.
The check failed because test/crew-sandbox-real.test.ts came in from main without an entry in either GATE or EXCLUDED in scripts/gate.ts. I merged origin/main into the branch, which brought that file in, and then added it to EXCLUDED. The reason given is that it needs a real sandbox and skips itself where one can't be made. It is tied to issue 1234, the pull that added it.
I did not run the gate census itself here. Locally, bun x tsc --noEmit is clean, and test/roll.test.ts plus the two gate-named suites pass (39 tests).
Main still has the same missing entry, so main's own check would fail the same way until this lands.
The merge conflict is fixed and pushed. I haven't seen the forge's check re-run on the new push.
Main had meanwhile added its own EXCLUDED entry for test/crew-sandbox-real.test.ts in scripts/gate.ts (issue 1238). That clashed with the entry I added last time. I merged main again and took main's scripts/gate.ts whole, so my entry is gone and this pull no longer changes that file.
Locally, bun x tsc --noEmit is clean and test/roll.test.ts passes (27 tests).
Parked by the crew: the check stayed red through 2 automatic tries
A roll with no surge headroom now needs the owner's yes to that exact version, or the roll step exits 3 and does not go.
bun test test/roll.test.ts test/check-list.test.tsandtsc --noEmitpass. I didn't run the full check.What changed
scripts/dark-roll.tsis new.decideallows a roll when a surge pod fits. Otherwise it allows one only ifdocs/ops/dark-rolls.logholds a line<version> yes <owner> <YYYY-MM-DD>for exactly that version. Wildcards, prefixes, comments, malformed lines and other versions don't count.scripts/roll-preflight.tstakes three new optional flags:--version,--yes-fileand--dark-seconds.docs/ops/ROLL.mdhas a new step 2, the release checklist. It refuses a dark roll without the yes, says a yes is for one version and never standing, and says to record it indocs/ops/dark-rolls.log. The old step 2 is now step 3.docs/ops/dark-rolls.logis new and holds no yes lines. A test checks that.test/roll.test.ts:no, or a missing date) doesn't count;charts/,infra/,gitops/ordeploy/carriesmaxSurge: 0.GATEis unchanged.What I chose not to do
maxSurge: 0test scans the chart and the other directories above, and requires at least one file to be found.--dark-secondsis supplied by the operator. Nothing measures it.yesLinebuilds the line).Try it
bun scripts/roll-preflight.ts --node node.json --pods pods.json --pod ns/pod --steady 3712Mi --version 0.7.104 --yes-file docs/ops/dark-rolls.log --dark-seconds 90Closes #1589