Skip to content

chore(smoke-nuke): drop ParentId filter so orphaned nested children get swept#352

Merged
chrisns merged 1 commit into
mainfrom
chore/smoke-nuke-stale-children
May 20, 2026
Merged

chore(smoke-nuke): drop ParentId filter so orphaned nested children get swept#352
chrisns merged 1 commit into
mainfrom
chore/smoke-nuke-stale-children

Conversation

@chrisns
Copy link
Copy Markdown
Member

@chrisns chrisns commented May 20, 2026

PR 321 retry after the first nuke failed because all-demo-PaperlessNgx-Q59CODQ417ER and all-demo-BopsPlanning-1KFCREGSEO53T were still alive owning IAM roles, an ALB ('NdxBops-v2-ALB'), an ECS cluster, S3 buckets. The new umbrella's children collided with already exists on every resource.

The nuke had a ParentId==null filter copied from the pre-deploy script's safety. But the nuke's purpose is the opposite — sweep everything matching ${STACK}- regardless of ownership. Dropping the filter from both terminal and in-progress passes.

Pre-deploy retains its ParentId filter (must not touch live children); the two scripts diverge intentionally now.

…et swept

After the first nuke, smoke retry for PR #321 failed because
all-demo-PaperlessNgx-Q59CODQ417ER and all-demo-BopsPlanning-1KFCREGSEO53T
still existed in CFN owning IAM roles, an ALB ('NdxBops-v2-ALB'), an ECS
cluster, S3 buckets. The new umbrella's children then collided with
"already exists" on every resource.

The nuke was filtering on ParentId==null to avoid deleting live nested
children, copying the pre-deploy script's safety. But the nuke's whole
purpose is the opposite — sweep everything matching ${STACK}- regardless
of ownership. Drop the ParentId filter from both the terminal-state
and in-progress passes.

The pre-deploy script's ParentId filter is still correct there
(it must not touch live children), so the two scripts now diverge
intentionally on that condition.
@chrisns chrisns added this pull request to the merge queue May 20, 2026
Merged via the queue into main with commit 4444441 May 20, 2026
3 of 4 checks passed
@chrisns chrisns deleted the chore/smoke-nuke-stale-children branch May 20, 2026 14:08
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.

1 participant