Skip to content

Commit 32ac9e4

Browse files
author
Brandon Vincitore
committed
fix(server): retain revoked native cleanup in shared runtimes
Force Stop could discard a pending accepted start before its native identity arrived, then preserve the process for a working sibling. Revoke logical authority under the existing thread lock and capture a deduplicated service-owned cleanup receipt; keep the response, exact raw identity observation and successful-close observer until native termination or actual closure. Run native cleanup outside the command lock, guard replacement bindings and reused turn identities, and expose outstanding unresponsive cleanup without automatic shared-process killing. Keep revoked events out of current-run admission, serialize the next claim on the same native binding after cleanup, and retain the shared attachment for existing idle unloading. The real manager/execution/ThreadManagement matrix proves delayed-identity A cleanup with working B, repeated Force Stop, stale binding, known unsent termination and failed scope closure. It also proves L-2 post-start goal refusal retention, native Stop and one next start. Existing checkpoint waiting, provider requests, import and client-only queue controls remain. Fork-owned correction for independent review finding L-1; existing source authors, pins and ledger are unchanged. Review-Base: fc1bf74 Related-Source-PR: pingdotgg#31933 Related-Source-Head: fbaa763 Model: gpt-6.1-sol. Harness: Codex.
1 parent 425abfb commit 32ac9e4

4 files changed

Lines changed: 598 additions & 70 deletions

File tree

0 commit comments

Comments
 (0)