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. |
bbcdeb1 to
83d22bd
Compare
36530ec to
4046cbe
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) |
Persisting a v2 task snapshot now writes and flushes a unique temporary file before atomic replacement, so failed writes, flushes or replacement preserve the previous complete checkpoint. Loads bound state-file allocation, check the task binding, and authenticate the referenced catalog document before returning recovery inputs. Replacements reject binding changes and regressed counters/generations.
Stacked on #182; advances step 07 of #162. The adapter requires one writer per task in a caller-private directory. TaskStore/engine wiring, durable creation journals, state admission, migration and directory-fsync power-loss recovery remain pending. Cancellation concurrent with replacement may leave the new complete snapshot persisted; recovery reads disk state.
Validation: 387 JVM torrent tests pass with no failures or skips, including reopen/store recovery, missing catalog, malformed/foreign/oversized state, flush failure, replacement failure and retry. Both pinned-client v1 conformance scenarios and the no-native-runtime guard pass. These checks do not establish v2 wire interoperability or full release-gate completion.