Repository navigation
feat(worker): Persist a bounded checkpoint catalog - #444
Conversation
|
@codex review — pass 1 for exact head |
Codex Review Summary: ✅ CompletedThis 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. |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Add an internal catalog persistence primitive for a private, already-pinned Linux directory under an exclusive lease. The catalog stores opaque bytes in a versioned, checksummed record capped at 1 MiB on disk. Initialization is explicit and refuses an existing entry; replacement first validates the existing catalog. Missing or corrupt state never becomes an empty catalog.
Independent of #442 (retention rules) and #438 (directory reservation). No runtime or package entry point wiring, retention transitions, or cleanup. The caller owns lease/isolation, directory handle lifetime, filesystem admission, and payload semantics. This is not a disk-retention plateau measurement.
Verification
tsc --noEmit, andgit diff --checkpassed.