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) |
The admitted v2 piece ledger now connects peer block pipelines to assembly and commit workers. It bounds active pieces including submitted commits, assigns each canonical block once across peers, and reclaims unanswered assignments when a peer leaves. Late callbacks must match both peer identity and request ticket. Complete assemblies survive commit queue pressure, and only known completion tickets can update scheduler verification or make a rejected piece retryable.
Stacked on #198, under #162. Automatic piece-selection policy, transport/session wiring, generation barriers, upload/hash serving and the remaining production capabilities/gates are still required.
Validation at
25196bfb07a2348e505dc245e4e7c2b0efcdb07a:Scheduler recovery follow-up at
d94e32463b39d7d7bf77ea41ca1da6c2c0ae795b: a failed request write now removes the peer’s earlier unanswered assignments before propagating the error. A regression injects failure on the second request and proves a replacement peer can request the first abandoned block. Full validation passes: 459 JVM tests, 438 actually executed iOS simulator tests, zero failures/errors/skips, both pinned v1 conformance scenarios and the native-runtime guard.