Repository navigation
Conversation
Require the exact SHADOW_MODE attestation before cutover or rollback can continue, and document that the scripts check the invoking shell rather than calling Railway. Co-Authored-By: Claude Code <noreply@anthropic.com>
The cutover scripts and their README were not Prettier-formatted before this branch, and the CI format check runs on every file a PR touches, so it would fail here. Formatting only; no behaviour change. Co-Authored-By: Claude Code <noreply@anthropic.com>
|
Hey @joei4cm, thanks for picking this one up. Tightening both scripts so they only pass on an exact We've decided to go a different direction with the cutover tooling, and Thanks for your continued work on Outpost. If there's another issue you'd like to pick up, let me know and I'll assign you. |
|
Thanks for the update and for explaining the direction change. I understand the cutover scripts are being removed, so this PR no longer has a landing path. I see it is now closed; no further action needed from my side. |
Closes #261.
execute-cutover.tsandrollback.tsno longer treat an unresolvedSHADOW_MODEas success. Cutover now passes only when the invoking shell has exactlySHADOW_MODE=false; rollback now completes that step only when it has exactlySHADOW_MODE=true. Any other value, including unset, fails before the announcement or team-notification step. The messages and README now state that the scripts check the invoking shell as the operator's attestation and do not call Railway.Tests:
NODE_OPTIONS=--max-old-space-size=4096 vitest run scripts/__tests__/cutover.test.ts --maxWorkers=2— 30 passed🤖 Generated with Claude Code