Repository navigation
Conversation
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. |
|
Superseded by #236 (V2 scheduling and download execution) in the consolidated eight-PR stack for #162. The replacement preserves this PR's code and subsequent fixes; its description links the original head and review discussions. The only additional consolidation fix is the CI-discovered listener cancellation regression, documented on the replacement. All eight replacements have passed their required CI checks. Closing without merging. This branch and its discussions remain available for reference. Review index: #162 (comment) |
A shared session scheduler currently waits for peer socket writes. This adds a reservation/acknowledgement path so per-peer actors can send independently while the session retains exclusive block assignments.
planNextreserves without I/O using session-owned availability.resolvechecks exact plan identity and ticket issuer, preventing stale acknowledgements or another connection's ticket from displacing a reservation. Unsent requests release their reservation; detached peers release assignments after their actor has shut down. Peer actors must enqueue acknowledgements before forwarding responses. Existing synchronous adapters remain available.Stacked on #202; part of #162. Full per-peer/session actor wiring and throughput gates remain outstanding.
Validation at
729497610059dcd07df58181aa036db060bf1272: 473 JVM and 452 executed iOS simulator tests, zero failures/errors/skips; both pinned v1 conformance scenarios and native dependency guard passed. New tests exercise no-write reservation, global deduplication, unsent rollback, stale acknowledgements, issuer mismatch, detach/replacement, and matching response delivery.