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) |
Connect authenticated v2/hybrid metadata, output mapping and payload verification to fresh-directory filesystem storage. Selected files retain logical IDs and file-relative offsets; virtual padding is never written. A reserved private copy ensures verification and blocking I/O use the same bytes even if the caller reuses its receive buffer. Flush and the cancellation boundary precede committed progress publication.
Initialization exclusively creates a new root and rejects existing destinations. Live cleanup checks recorded OS identities. A shared handle permit and payload lease remain held until blocking I/O returns, including cancellation. Duplicate commits do not double-count progress.
Stack: based on #177, advancing #162 step 06. This adapter is not yet installed in the engine. Session state admission, persistent ownership/checkpoint v2, resume/import/recheck, committed reads/proof serving, generation-tagged sessions and alternate providers remain pending.
Validation: all 362 torrent JVM tests, both existing pinned-client v1 conformance scenarios and the native-runtime guard pass. New tests cover corrupt/valid/duplicate commits, empty and selected files, preserving existing destinations, buffer exhaustion, hybrid offsets/padding/IDs, cleanup and blocked-I/O cancellation with caller buffer mutation. V2 client interoperability remains unverified.