Skip to content

Include shared histories in rollout compression - #42039

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/8edebf61eccc1f79cabb8e641f8982c76f337bf1
Sep 1, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/8edebf61eccc1f79cabb8e641f8982c76f337bf1

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

Include shared histories in rollout compression

What changed

  • Make local_thread_store_compression compress cold rollout files across shared and forked histories without a separate compression mode.
  • Retire local_thread_store_shared_compression while continuing to accept it in strict configuration without changing compression behavior.
  • Read rollout files through the compressed-rollout reader when codex exec resume determines the latest turn's working directory.

Testing

  • Cover compression and restoration of an archived fork chain.
  • Cover cwd-based resume selection when only the compressed rollout remains.
  • Cover the removed compatibility key in strict configuration.

## What changed

- Make `local_thread_store_compression` compress cold rollout files across shared and forked histories without a separate compression mode.
- Retire `local_thread_store_shared_compression` while continuing to accept it in strict configuration without changing compression behavior.
- Read rollout files through the compressed-rollout reader when `codex exec resume` determines the latest turn's working directory.

## Testing

- Cover compression and restoration of an archived fork chain.
- Cover cwd-based resume selection when only the compressed rollout remains.
- Cover the removed compatibility key in strict configuration.

GitOrigin-RevId: 8edebf61eccc1f79cabb8e641f8982c76f337bf1
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/8edebf61eccc1f79cabb8e641f8982c76f337bf1 branch from 16561b6 to 9d0eae7 Compare September 1, 2026 12:24
@copyberry
copyberry Bot merged commit 9d0eae7 into main Sep 1, 2026
20 of 26 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/8edebf61eccc1f79cabb8e641f8982c76f337bf1 branch September 1, 2026 12:25
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 1, 2026

This branch was previously deployed

1 inactive deployment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants