Skip to content

Add stateful task sweeper to clean up on stack delete - #50

Closed
pcholakov wants to merge 1 commit into
mainfrom
task-sweeper
Closed

pcholakov wants to merge 1 commit into
mainfrom
task-sweeper

Conversation

@pcholakov

@pcholakov pcholakov commented Jul 22, 2025 •

Copy link
Copy Markdown
Collaborator

I have some safety concerns about the current implementation as being too naive; this has the potential to destroy the stateful tasks if the sweeper construct itself is inadvertently removed. This could happen if CloudFormation decides to perform a replacement rather than an update, for example. This shouldn't happen but I'd like to think about the safety here some more before merging - or at least hide this behind an opt-in flag until we're more confident. It's a relatively rare use case mostly for dev and temporary e2e test environments.

Fixes: #39

@pcholakov

Copy link
Copy Markdown
Collaborator Author

🤖 Claude Sonnet 5.5

Closing as stale: the branch conflicts with main and has been idle since July 2025. The underlying problem stays tracked in #39. The branch is kept if anyone wants to resume it.

@pcholakov pcholakov closed this Nov 6, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Destroying a freshly deployed cluster stack fails because Tasks are still active

1 participant