SIGN IN SIGN UP

refactor: share worker lifecycle (#470)

* refactor: share worker lifecycle

- Extract cancellation, deadlines, and termination into a shared worker lifecycle.
- Keep request authentication and message limits in the command controller.

* fix: support browser worker termination

- Accept synchronous and asynchronous worker termination.
- Add browser-typed coverage for termination.

* test: guard shared worker lifecycle browser boundary
C
Chris Tate committed
2201d6bb8da7f4f675ac8137621b5a2a0d86af65
Parent: 022e260
Committed by GitHub <noreply@github.com> on 9/25/2026, 2:53:45 PM