Files
codex/codex-rs/rollout/src
Dmitriy Kovalenko f16c998db5 Reduce rollout scanning overhead when listing threads (#62636)
## Why

Thread summaries need the first session metadata and preview events. Reading
each line asynchronously and parsing unrelated records adds work to every
rollout scanned.

## What changed

Use the buffered rollout reader to scan each plain or compressed rollout in
one blocking task. After reading the first session metadata, skip JSON
parsing for lines without an `event_msg` marker or a Unicode escape that
could encode the event tag.

## Testing

Extend coverage for delayed user messages with escaped or numeric event
tags, preview reads that stop before invalid UTF-8 in plain and compressed
rollouts, and provider filtering for archived threads sorted by update time.

GitOrigin-RevId: 06c996ad3bcc290102f3ecab992e40364cb4dee9
2026-11-20 01:21:48 +00:00
..