Skip to content

spawn reaper deploy: report armed state, retag spawn:version, don't claim a reused bucket was created (#1086) - #1087

Merged
scttfrdmn merged 1 commit into
mainfrom
fix/1086
Oct 17, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
fix/1086

Conversation

@scttfrdmn

Copy link
Copy Markdown
Contributor

Fixes #1086. Stacked on #1085 (#1084's fix).

  • ensureFunction returns the dry-run state it actually wrote; Result.DryRun is no longer hard-coded true, and the CLI prints the DRY RUN / arm-it block only when it is true, else ARMED.
  • The update path calls TagResource with Tags(opts.Version), so spawn:version follows the deployed release.
  • ensureBucket reports whether it created the bucket; an existing one is "converged". An existing bucket is deliberately still not tagged (ownership proof for teardown; --bucket can be someone else's).

Each fix verified against a compiling revert: all four reverts fail their test.

@scttfrdmn
scttfrdmn changed the base branch from fix/1084 to main October 17, 2026 20:52
@codecov

codecov Bot commented Oct 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 12 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/reaperdeploy/deployer.go 65.51% 7 Missing and 3 partials ⚠️
cmd/reaper.go 71.42% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@scttfrdmn
scttfrdmn merged commit 57cce3a into main Oct 17, 2026
8 checks passed
@scttfrdmn
scttfrdmn deleted the fix/1086 branch October 17, 2026 21:11
@scttfrdmn scttfrdmn mentioned this pull request Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

spawn reaper deploy on an existing reaper: says DRY RUN when armed, never updates spawn:version, says it created a bucket it reused

1 participant