Live updates keep the rows brought in with Load More #80

Merged
jared merged 1 commits from keep-loaded-rows into main 2026-11-23 15:27:11 -05:00
Owner

Closes #17. There's no visual change.

The fix

A live event reloaded only the first page of the Executions list. So whenever Gandalf or anyone else ran something, rows brought in with Load More disappeared. Live refreshes now fetch as many rows as are shown, up to the server's cap of 1000. Search and the filters still start from the first page.

The rest of #17 was already fixed

  • Reloads are throttled to at most one every 2 s (#10).
  • Each tab keeps its own rows and offset.
  • Selections survive a refresh.

Tests

A new UI test creates 60 runs and uses Load More to show more than 50. It then starts a run and waits for it to appear at the top, and checks the row count hasn't changed. Without this change the test fails (100 rows drop to 50). Locally: UI 41/42. The one failure is a local artifact: the #40 version test compared my already-running workers with a commit I made afterwards. CI starts fresh workers.

🤖 Generated with Claude Code

Closes #17. There's no visual change. ## The fix A live event reloaded only the first page of the Executions list. So whenever Gandalf or anyone else ran something, rows brought in with **Load More** disappeared. Live refreshes now fetch as many rows as are shown, up to the server's cap of 1000. Search and the filters still start from the first page. ## The rest of #17 was already fixed - Reloads are throttled to at most one every 2 s (#10). - Each tab keeps its own rows and offset. - Selections survive a refresh. ## Tests A new UI test creates 60 runs and uses Load More to show more than 50. It then starts a run and waits for it to appear at the top, and checks the row count hasn't changed. **Without this change the test fails** (100 rows drop to 50). Locally: UI 41/42. The one failure is a local artifact: the #40 version test compared my already-running workers with a commit I made afterwards. CI starts fresh workers. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jared added 1 commit 2026-11-23 14:40:42 -05:00
Live updates keep the rows brought in with Load More (#17)
CI / Lint (eslint) (pull_request) Successful in 18s
CI / Test (jest) (pull_request) Successful in 21s
CI / Security (npm audit) (pull_request) Successful in 11s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 2m8s
CI / Integration (api) (pull_request) Successful in 2m53s
CI / UI (playwright) (pull_request) Successful in 2m24s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped
CI / UI screenshots (before/after) (pull_request) Successful in 2m57s
9f6b34b55a
A live event reloaded only the first page of the Executions list, so
rows brought in with Load More vanished whenever Gandalf or anyone else
ran something. Live refreshes now fetch as many rows as are shown (up to
the server's 1000); search and filters still start from the first page.

The rest of #17 was already fixed: reloads are throttled (#10), each tab
keeps its own state, and selections survive a refresh. The new UI test
fails without this change (100 rows drop to 50).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared force-pushed keep-loaded-rows from d299a351b7 to 9f6b34b55a 2026-11-23 14:40:42 -05:00 Compare
jared merged commit 156c311217 into main 2026-11-23 15:27:11 -05:00
jared deleted branch keep-loaded-rows 2026-11-23 15:27:16 -05:00
Sign in to join this conversation.