Skip to content

Restore Clean Exit Code For Single SIGINT Shutdowns#224

Merged
griffinmilsap merged 3 commits intodevfrom
223-sigint-shutdown-now-returns-sigint-exit-code-in-clean-cases
Feb 27, 2026
Merged

Restore Clean Exit Code For Single SIGINT Shutdowns#224
griffinmilsap merged 3 commits intodevfrom
223-sigint-shutdown-now-returns-sigint-exit-code-in-clean-cases

Conversation

@griffinmilsap
Copy link
Collaborator

@griffinmilsap griffinmilsap commented Feb 27, 2026

Summary

Re-align exit code semantics so a single SIGINT (the supported, clean shutdown path) returns 0, while forced or unclean shutdowns return a SIGINT-coded exit value.

Behavior

  • Single SIGINT + clean shutdown: exit 0.
  • Second SIGINT (force quit): exit SIGINT code.
  • Unclean shutdown (stuck tasks / shutdown errors): exit SIGINT code.

Notes

This change restores the pre-regression behavior and matches the intended contract for SIGINT-triggered shutdowns.

Closes #223

@griffinmilsap griffinmilsap linked an issue Feb 27, 2026 that may be closed by this pull request
@griffinmilsap griffinmilsap merged commit 67fac39 into dev Feb 27, 2026
14 checks passed
@griffinmilsap griffinmilsap deleted the 223-sigint-shutdown-now-returns-sigint-exit-code-in-clean-cases branch February 27, 2026 17:34
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.

SIGINT Shutdown Now Returns SIGINT Exit Code In Clean Cases

1 participant