mirror of
https://github.com/openai/codex.git
synced 2026-11-11 21:10:39 +00:00
## Why Listing threads issued two additional SQL queries per root to fetch its reply count and latest reply. ## What changed Fetch roots, reply counts, and latest replies in a single query. Materialize the selected page before looking up reply summaries, preserving creation and activity ordering, pagination, and preview limits. ## Testing Strengthen pagination assertions to check complete thread summaries for threads without replies, including Unicode preview truncation, reply counts, and last activity timestamps. GitOrigin-RevId: cbbed36418a349a18daf0771f4ed27aa47de0bc1