Commit fe9b16b
Cleanup: delete only the preview doc via --stage PREVIEW
Live testing showed `raptor delete iac-module REF --yes --force` deletes the
PUBLISHED doc when a module has both published and preview versions — so
cleanup on an in-place-update PR would delete the customer's live module.
Delete now uses `raptor delete iac-module REF --stage PREVIEW --yes`, which
targets only the preview doc (and errors if no preview exists). Dropped
--force so the usage guard stays active and a genuinely in-use preview
surfaces as a real error instead of being force-deleted; that failure is
already recorded and gates the job. README version requirement updated to
list --stage alongside --feature-branch and list-JSON provenance.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 1ec4c1c commit fe9b16b
2 files changed
Lines changed: 18 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
51 | 57 | | |
52 | 58 | | |
53 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
385 | 389 | | |
386 | 390 | | |
387 | 391 | | |
| |||
0 commit comments