Add rollout migration tooling and background migration - #37348
Merged
copyberry[bot] merged 1 commit intoAug 7, 2026
Merged
Conversation
## What changed - Add `codex migrate-rollouts` with dry-run inspection by default, explicit `--apply`, thread filtering, optional I/O throttling, progress output, and JSON or verbose reports. - Add the disabled-by-default `background_paginated_rollout_migration` feature to migrate legacy local sessions at startup before rollout compression begins. - Persist a migration cursor and skipped-file fingerprints so later startups avoid full rescans while retrying changed files and recovering pending migrations. - Coordinate migration with live writers and emit metrics for manual and startup runs. ## Testing - Cover startup cursor advancement and lookback, pending migration recovery, live-writer coordination, changed empty rollouts, and progress reporting. GitOrigin-RevId: 276ac506c50ebec5140fd319faca1bb998172061
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/276ac506c50ebec5140fd319faca1bb998172061
branch
from
August 7, 2026 01:27
9c151e8 to
4bb7ee3
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/276ac506c50ebec5140fd319faca1bb998172061
branch
August 7, 2026 01:29
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.
Add rollout migration tooling and background migration
What changed
codex migrate-rolloutswith dry-run inspection by default, explicit--apply, thread filtering, optional I/O throttling, progress output, and JSON or verbose reports.background_paginated_rollout_migrationfeature to migrate legacy local sessions at startup before rollout compression begins.Testing