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 #234 (V2 catalog, checkpoints and crash recovery) 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 v2 store can now recover task-owned files after initialization or a process exit before its first checkpoint. An optional creation-log path in private task state binds records to the full content identity, task, output, selection and mapping policy. Each ownership claim is flushed with a checksum; replay bounds allocations, discards torn final appends and validates the authenticated mapping and current OS identities before adopting paths. Payload availability still requires recheck.
Stacked on #183; advances step 07 of #162. Failed live appends can retry. Restart conservatively preserves paths created before their ownership record was successfully flushed; it never infers ownership from their presence. Logs require one writer and remain outside payload cleanup. Runtime wiring, state admission, log lifecycle/compaction, process-kill and directory-fsync power-loss gates remain pending.
Validation: 392 JVM torrent tests passed, with zero failures/errors/skips, including five new tests for pre-checkpoint recovery, interrupted initialization, torn/corrupt records, failed append/retry, wrong task bindings and replacement preservation. Both pinned-client v1 conformance scenarios, the native-runtime guard and full torrent iOS simulator test-source compilation pass. New-instance/injected-I/O tests do not establish physical crash or mobile lifecycle coverage.