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 automatic session loop now has end-to-end validation through actual platform TCP sockets, handshake negotiation, peer actors/pool, scheduling, and real verified storage.
Three common tests cover pure-v2 negotiation, a hybrid v1 handshake upgrading to v2, and rejection of v2-valid payload whose hybrid v1 hash is wrong. The seeder verifies interest and requests, replies with blocks out of order, and disconnects before storage completion. Successful downloads preserve selected-file output and omit the unselected file; rejected hybrid payload publishes no progress or payload bytes. Joined cleanup releases buffer and state credit.
Stacked on #206, including its unavailable-partial-piece eviction review fix; part of #162. Both TCP endpoints use Ketch, so these tests do not establish independent-client interoperability, throughput, or physical-device lifecycle gates.
Validation at
50fc348c89a4b9bbaf988858bf2107754e15b2c6: 494 JVM and 473 executed iOS simulator tests, zero failures/errors/skips; both pinned v1 conformance scenarios and native dependency guard passed. The real TCP tests ran on both JVM and iOS.