Repository navigation
thread-store: retry only uncommitted append suffix - #727
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. |
There was a problem hiding this comment.
Code Review
This pull request introduces support for partial appends in the thread store, allowing LiveThread to retry only the uncommitted suffix of items when an append operation fails. It adds the append_items_committed method to the ThreadStore trait and updates persist_appended_items to handle partial progress and retry logic. Corresponding unit tests have been added to verify this behavior. The review feedback highlights two main points: first, the use of unstable let-chains (&& let) should be avoided to maintain compatibility with stable Rust; second, transient errors encountered during partial append retries should be logged rather than silently discarded to preserve observability.
847d684 to
d801624
Compare
Summary
Scope and validation
origin/mainata8a117155ca4971dd85c18592e14e2cc70a177bacodex-rs/thread-store/src/live_thread.rs,codex-rs/thread-store/src/live_thread_tests.rs,codex-rs/thread-store/src/store.rsd80162483294827951072b2c8bfa292962701709Hosted focused tests and required cross-platform checks should be run for this exact head before queue or merge.