Commit b56be24
Write the rollback out as its own block, with no secret lookup
Copilot review: 'the same block with one flag swapped' still ran step 2, which
resolves an ENABLED version of ORIGIN_SECRET and exits when there is none. If
the secret was disabled or deleted during the incident - a plausible thing to
have happened, and a plausible reason to be rolling back - set -e would abort
before --remove-secrets ever ran, leaving the gate armed at exactly the moment
it has to come off.
The rollback is now its own block that depends on nothing but the currently
serving revision: no in-flight check (waiting for a build is the wrong trade
when the gate is the outage) and no secret lookup at all. It ends by reading
the verdict back, and the note that removing the Worker binding is not a
rollback moved next to it.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PBQdMbboxo59sSThGSbfke1 parent 34f1604 commit b56be24
1 file changed
Lines changed: 32 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
557 | 583 | | |
558 | 584 | | |
559 | 585 | | |
| |||
0 commit comments