Repository navigation
refactor(coordinator): give provider connections a session owner - #1046
Gajesh2007 wants to merge 11 commits into
Conversation
…/coordinator-provider-session
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…/coordinator-provider-session # Conflicts: # docs/developer/test.md # docs/reference/api-contracts.md
|
@codex review Refreshed the parent branch and resolved documentation/source-map conflicts. Existing subsystem implementations and regression tests are preserved. Exact parent composition and independent review pass; all coordinator test packages compile and documentation checks pass. The account-deletion fixture also carries the previously reviewed asynchronous-registration race fix; all seven deletion tests pass under the race detector. |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Consolidated into #1056 for review and merge after #1094, #1095 and #1096. #1056 contains this branch's exact head ( |
Provider registration, heartbeat, cache receipts, model-status messages and teardown previously shared the 2,009-line API provider file with inference frames. One
providercontrol/session.Sessionnow owns each accepted connection, with focused files for those responsibilities;api/provider.gois 1,219 lines and retains the upgrade, inference-frame handlers and public attestation roster.providerSessionDependenciesbinds the existing verification, challenge, code-identity, release-policy, MDM scheduler and inference owners. Store/registry/logger/config reads remain current; scheduler claims retain their startup store. The original provider pointer, per-connection challenge tracker and exact scheduler generation survive through cancellation, unbind, resume cleanup, device/code coverage stop, registry disconnect and socket close. Protocol guards, callback order, trust policy, budgets, metric values and wire schemas are preserved.Stacked on #1038. The source move includes a regression using an actual local WebSocket and a MemoryStore provider-session row: a store binding changed during registration must receive the specific close reason after the provider is offline. It passes the unchanged original implementation and rejects a captured-store mutation. Current source maps and security-review selectors follow the new owner; frozen records are unchanged.
Validation:
791f77dcbhas an exact 5,086-entry composition proof, including deletions, symlinks and gitlinks; all 25 remaining provider operations match that parent. The four cache receipts now reach the moveddispatch.LowCardinalityCacheTierthrough their existing binding. Final focused race: 114 top-level / 184 results pass without test skips (API 11.807s).Before:
After:
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.