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 #233 (V2 layout and verified storage) 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) |
V2 files start on piece boundaries, while hybrid v1 requests also address padding. Add an internal layout that maps protocol ranges to payload extents and virtual zeros, preserves hybrid file IDs, and excludes padding from v2 piece reads. The index scales with files rather than piece count.
Stack: based on #173. Implements part of roadmap #162 step 06; runtime storage integration remains pending.
Validation: all four TorrentContentLayoutTest cases passed, covering empty files, cross-boundary reads, hybrid trailing padding, 10 TiB addressing, and overflow rejection. The native torrent runtime dependency guard passed.