fix: recover stale runtime adapter claims#448
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is product and availability hardening, not a new adversarial multi-tenant security guarantee. Normal
adapter connectbehavior is unchanged: it obtains a ticket and connects immediately, which confirms the claim.Closes #370
Verification
npm test --prefix worker(632 passed)npm test --prefix worker -- --run test/fleet.test.ts test/coordinator-runtime.test.ts(278 passed)npm run format:check --prefix workernpm run lint --prefix workernpm run check --prefix workernpm run build --prefix workernode scripts/build-docs-site.mjsReview
The required autoreview helper was attempted with Codex
gpt-5.5. Its subprocess remained blocked on stdin for seven minutes with no CPU use, network socket, child process, or review output, so the failed subprocess was terminated. Equivalent manual review checked legacy-record compatibility, owner/org authorization, ticket and agent races, registration confirmation, active relay and deletion fences, and Node coordinator lifecycle serialization; no actionable findings remained.