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. |
Test Results 584 files 584 suites 3m 59s ⏱️ Results for commit 83d22bd. ♻️ This comment has been updated with latest results. |
b9aaa3b to
5b56b86
Compare
bbcdeb1 to
83d22bd
Compare
|
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) |
Connect the v2 store to catalog-backed snapshots and checkpoint ownership recovery. Each store now has an explicit task ID. Snapshots publish authenticated catalog content first and capture consistent ownership, selections, generations, counters and hint bits under the store mutex; counters cannot move backwards.
Recovery checks the expected task, caller-authorized output, selection, content mapping and every OS identity/kind before adopting any records. Failed recovery leaves the store untouched and retryable. Hint bits are discarded; initialize and recheck/commit must establish availability again. Fully verified owned files are restored to exact declared lengths, while foreign replacements are neither adopted nor deleted.
Stack: based on #181, advancing #162 step 07. Atomic TaskStore publication, durable creation journals, missing-file repair/import, v1 migration, runtime state admission and engine resume wiring remain pending.
Validation: all 383 local torrent tests, both existing pinned-client v1 conformance scenarios and the native-runtime guard pass. Five recovery tests cover catalog reopening and persisted checkpoints, preserved generations/counters, failed binding retries, replacement preservation, changed payloads and exact file lengths.