Handle compressed rollouts in doctor thread inventory - #34038
Merged
copyberry[bot] merged 1 commit intoJul 18, 2026
Merged
Conversation
## Why The thread inventory check compared state database rows only with plain `.jsonl` rollout files. Once a rollout was compressed to `.jsonl.zst`, the check could report its canonical database row as stale and omit the rollout from parity results. ## What changed - Scan completed compressed rollouts and match them to database rows using their canonical `.jsonl` paths. - Prefer a plain rollout when both plain and compressed siblings exist, and ignore compression temporary files. - Keep unreadable compressed rollouts in the set of existing paths so they produce scan errors without also producing misleading stale-row reports. - Use canonical paths when deriving legacy thread IDs and archived status. ## Testing Added coverage for active and archived compressed rollouts, plain/compressed siblings, metadata and legacy filename IDs, corrupt compressed data, and compression temporary files. GitOrigin-RevId: 2461376432194a4062beedbe875aa7002dd2049f
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/2461376432194a4062beedbe875aa7002dd2049f
branch
from
July 18, 2026 16:16
ac91eea to
b8b61bc
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/2461376432194a4062beedbe875aa7002dd2049f
branch
July 18, 2026 16:17
SEPURI-SAI-KRISHNA
temporarily deployed
to
issue-triage
July 18, 2026 17:17 — with
GitHub Actions
Inactive
SEPURI-SAI-KRISHNA
temporarily deployed
to
issue-triage
July 18, 2026 17:17 — with
GitHub Actions
Inactive
SEPURI-SAI-KRISHNA
temporarily deployed
to
issue-triage
July 18, 2026 17:17 — with
GitHub Actions
Inactive
SEPURI-SAI-KRISHNA
temporarily deployed
to
issue-triage
July 18, 2026 17:18 — with
GitHub Actions
Inactive
sunjiajunsunjiajun
temporarily deployed
to
issue-triage
July 18, 2026 17:27 — with
GitHub Actions
Inactive
sunjiajunsunjiajun
temporarily deployed
to
issue-triage
July 18, 2026 17:27 — with
GitHub Actions
Inactive
sunjiajunsunjiajun
temporarily deployed
to
issue-triage
July 18, 2026 17:27 — with
GitHub Actions
Inactive
jerome-benoit
temporarily deployed
to
issue-triage
July 18, 2026 18:01 — with
GitHub Actions
Inactive
jerome-benoit
temporarily deployed
to
issue-triage
July 18, 2026 18:01 — with
GitHub Actions
Inactive
jerome-benoit
temporarily deployed
to
issue-triage
July 18, 2026 18:01 — with
GitHub Actions
Inactive
jerome-benoit
temporarily deployed
to
issue-triage
July 18, 2026 18:02 — with
GitHub Actions
Inactive
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Handle compressed rollouts in doctor thread inventory
Why
The thread inventory check compared state database rows only with plain
.jsonlrollout files. Once a rollout was compressed to.jsonl.zst, thecheck could report its canonical database row as stale and omit the rollout
from parity results.
What changed
their canonical
.jsonlpaths.ignore compression temporary files.
produce scan errors without also producing misleading stale-row reports.
Testing
Added coverage for active and archived compressed rollouts, plain/compressed
siblings, metadata and legacy filename IDs, corrupt compressed data, and
compression temporary files.