Skip to content

fix(cli): bound managed service shutdown - #43461

Open
thdxr wants to merge 1 commit into
v2from
service-shutdown-watchdog
Open

fix(cli): bound managed service shutdown#43461
thdxr wants to merge 1 commit into
v2from
service-shutdown-watchdog

Conversation

@thdxr

@thdxr thdxr commented Aug 19, 2026

Copy link
Copy Markdown
Member

Summary

  • arm a native 10-second watchdog when a managed service begins shutdown
  • force the daemon to exit if an Effect finalizer remains stuck
  • clear the watchdog after successful shutdown so embedded callers are unaffected

Testing

  • bun typecheck in packages/cli
  • repository pre-push typecheck: 33 packages passed
  • bun test test/service.test.ts -t "clean managed service shutdown removes its registration"
  • bun test test/service.test.ts -t "deleting a managed service registration stops its owner"

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