Archive Load more skipped 150 of every 200 calls #166

Merged
logan merged 1 commits from fix/archive-paging-skip into main 2026-09-24 01:05:37 -04:00
Owner

Next cursor was always the last scanned row of a 200-row window while only 50 were returned. Now resumes after the last returned row when matches overflow the page. Same for eval-queue.

c2-core pytest: 446 pass (3 new).

🤖 Generated with Claude Code

Next cursor was always the last *scanned* row of a 200-row window while only 50 were returned. Now resumes after the last *returned* row when matches overflow the page. Same for eval-queue. c2-core pytest: 446 pass (3 new). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
logan added 1 commit 2026-09-24 01:05:33 -04:00
/calls/search scans a 200-row window and returns 50, but the next cursor
was always the last SCANNED row — so with an unfiltered list each page
jumped past the 150 matches it had already read and not shown. Resume
after the last RETURNED row when matches overflow the page; keep the
last-scanned cursor only when the page holds every match (the sparse-
filter case that cursor exists for). Same fix for /calls/eval-queue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
logan merged commit 02b5b7b5a5 into main 2026-09-24 01:05:37 -04:00
logan deleted branch fix/archive-paging-skip 2026-09-24 01:05:38 -04:00
Sign in to join this conversation.