Skip to content

Add an experimental rollout compression endpoint - #46020

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

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

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Add an experimental rollout compression endpoint

What changed

Add rollout/compress to trigger a best-effort background compression pass for cold local rollouts, even when features.local_thread_store_compression is disabled. The method takes no parameters and immediately returns {} to acknowledge scheduling, not completion. Existing worker locks, concurrency limits, and cooldowns still apply.

Require the experimentalApi capability and reject non-local thread stores. Document the endpoint and the requirement that clients sharing the Codex home support compressed rollout files.

Testing

Add integration tests for compression with the startup flag disabled, lossless rollout readback, experimental capability enforcement, and rejection of non-local thread stores.

## What changed

Add `rollout/compress` to trigger a best-effort background compression pass for cold local rollouts, even when `features.local_thread_store_compression` is disabled. The method takes no parameters and immediately returns `{}` to acknowledge scheduling, not completion. Existing worker locks, concurrency limits, and cooldowns still apply.

Require the `experimentalApi` capability and reject non-local thread stores. Document the endpoint and the requirement that clients sharing the Codex home support compressed rollout files.

## Testing

Add integration tests for compression with the startup flag disabled, lossless rollout readback, experimental capability enforcement, and rejection of non-local thread stores.

GitOrigin-RevId: be73a3b3f37f3adc54512de8256abf684d5d8112
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/be73a3b3f37f3adc54512de8256abf684d5d8112 branch from ca5c5a9 to 0d08309 Compare September 16, 2026 20:39
@copyberry
copyberry Bot merged commit 0d08309 into main Sep 16, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/be73a3b3f37f3adc54512de8256abf684d5d8112 branch September 16, 2026 20:39
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 16, 2026
@spykakosg
spykakosg deployed to issue-triage September 16, 2026 20:44 — with GitHub Actions Active
@spykakosg
spykakosg deployed to issue-triage September 16, 2026 20:44 — with GitHub Actions Active
@spykakosg
spykakosg deployed to issue-triage September 16, 2026 20:44 — with GitHub Actions Active
@spykakosg
spykakosg deployed to issue-triage September 16, 2026 20:45 — with GitHub Actions Active

This branch was successfully deployed

1 active 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.

5 participants