mirror of
https://github.com/openai/codex.git
synced 2026-11-05 20:10:33 +00:00
## Why Timestamp-only cursors can skip threads that share the last result's timestamp, including rollout files created in the same second. ## What changed - Include thread IDs as tie-breakers in time-sorted listing and search cursors, and use them when resuming filesystem scans and database queries. - Share filesystem sort-key and cursor construction so continuation cursors match the listing order, including filename-based creation times. - Preserve support for legacy timestamp-only cursors and their existing behavior of skipping ties. ## Testing Update regression coverage for pagination through filesystem timestamp ties, legacy cursors, thread IDs in database fallback cursors, and search cursors for all time-based sort keys. GitOrigin-RevId: 455b95452849e6ffe20a27d7bdcec864f2e8135a