Repository navigation
Fix compressed history reads and preserve recorded subagent completion times - #12
Merged
Merged
Conversation
friel-openai
marked this pull request as ready for review
November 9, 2026 04:46
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
thread/items/listcan fail when a stored rollout path still names the plain JSONL file after compression. Legacy rollout conversion can also lose a completion time that was recorded on a subagent activity event.0038-compressed-paginated-item-readsuses the existing compression-aware reader when the plain file is missing and fingerprints the file that was actually read for descending page hints. Other open errors still propagate.0039-preserve-subagent-activity-completioncarries the activity's recorded occurrence time into the converted item. It leaves unrecorded times unknown and does not derive them from the rollout envelope or rewrite already-converted files.Neither change adds a protocol field or changes the storage schema. The regression tests check item identity and order, the compressed file remaining in place, and exact timing parity across legacy reads and conversion, including missing and zero times. Required CI selects both tests. The combined source was reproduced by replaying the canonical definitions with only the pinned upstream tag and the proposed commits.
Codex Task:
codex://threads/01a029f4-9863-7523-be3e-864bebe4187a-frielbot