mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
## Why Paginated rollouts contain only the initial Git metadata tuple. Reusing that tuple during later reads, reconciliation, or resume can overwrite newer SQLite values and undo explicit field clears. ## What changed - Treat SQLite as authoritative for Git metadata once a thread is paginated. - Apply paginated Git metadata patches directly to SQLite without appending compatibility metadata to the rollout. - Preserve explicit null values when reading by rollout path or reconciling the initial session metadata, and ignore the initial Git tuple during resume. ## Testing Added coverage for updating and clearing paginated Git metadata, preserving the result through reconciliation and rollout-path reads, and avoiding stale Git metadata updates on resume. GitOrigin-RevId: 4d3e68cb24965b93d337d923092a98bac9b352b5