Repository navigation
refactor(registry): own model-load commands and plan timing - #1022
Gajesh2007 wants to merge 8 commits into
Conversation
|
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 Please review source e4507f6 / head 92b81b5 against updated #1019 parent 3307cef. Focus private model-load command ownership, session/model identity and clock semantics, r.mu/p.mu transaction ordering, capability/disconnect cleanup, and trailing timer rearm/release-before-callback. Existing policy values and outcomes remain unchanged. Independent source/docs peer is clean. Full coordinator race passed 33 packages / 5,643 test results; two new fixtures ran separately under race, and the exact-deadline fixture also passes unchanged on the original parent. Five existing fleet/model-swap benchmark groups passed parent/candidate one-iteration fixture smoke. Pinned Go 1.25 / golangci-lint v2.1.6: zero issues; docs-check: 280 files. |
|
Codex Review: Didn't find any major issues. 🚀 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". |
|
@codex review Signed head dada570 incorporates #1019's one-file package-comment correction: cacheattempt now names cachedirectory as the receipt/holder owner. All model-load source and documentation bytes remain unchanged. The parent review's source-stamp ancestry claim was independently disproved; verified stamps remain unchanged. Existing source/docs peer and full/focused race receipts still apply, and docs-check again passes 280 files. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: dada570535
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
|
@codex review The zero-value Commands.Reserve initialization finding is fixed with a regression that reproduced the panic and now checks coupled clocks, expiry boundaries and completion. Independent peer, affected race, pinned lint and docs checks pass. |
|
Codex Review: Didn't find any major issues. Nice work! 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-model-loads # Conflicts: # docs/developer/build.md # docs/developer/test.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. |
|
Codex Review: Didn't find any major issues. Hooray! 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 ( |
Pending model-load deadlines, original start times and heartbeat plan timing were shared registry implementation details.
modelloads.Commandsnow owns the two session/model maps behind a private mutex, andmodelloads.PlanGateowns the fleet timer state. Focused registry files retain live eligibility, provider publication, command I/O and terminal queue decisions.Stacked on #1019 (
refactor/coordinator-cache-directory). The source includes its reviewed admission citation follow-up.The registry still holds its existing
r.mu/p.muscopes when validating and reserving loads, removing ineligible commands or disconnecting sessions. The command owner is a leaf and never calls the registry. Completion preserves the original start timestamp; backoff only changes the deadline. Expiry remains strict: unswept entries block a second model even at the exact deadline, while status receipts require an unexpired exact session/model command. Stable-identity dispatch-load cooldowns still survive reconnect. The timer still coalesces heartbeat planning into one leading and one trailing opportunity, releases its lock before the callback, and rearms delayed callbacks; explicit swap requests remain immediate.Before:
After:
Validation:
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.