Skip to content

set shutdown flag before cleanup to prevent coordination race - #66

Merged
godon-robot[bot] merged 1 commit into
mainfrom
fix/shutdown-before-cleanup
Aug 7, 2026
Merged

set shutdown flag before cleanup to prevent coordination race#66
godon-robot[bot] merged 1 commit into
mainfrom
fix/shutdown-before-cleanup

Conversation

@godon-robot

@godon-robot godon-robot Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Controller sets shutdown_requested first, before any cleanup. Workers stop heartbeating, then cleanup runs cleanly.

Controller sets shutdown_requested=True as the first step in
delete_breeder. Workers see the flag and stop heartbeating before
cleanup runs. Removes need for double-clean retry hack.

Co-authored-by: cherusk <10729954+cherusk@users.noreply.github.com>
@godon-robot
godon-robot Bot merged commit 89f96eb into main Aug 7, 2026
2 checks passed
@godon-robot
godon-robot Bot deleted the fix/shutdown-before-cleanup branch August 7, 2026 10:36
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.

0 participants