Repository navigation
Conversation
The run page re-read every statement of every job run on each change, and the server summarised the whole run each time. A run's statement list is now read from a recall_events.storage_id cursor: each read touches only the events stored after it, through two new partial indexes, and identical concurrent reads share one read. The page follows each run's statements like its events, reads on until a page is not full, and waits at least as long as the last read took before asking again.
kvlonge
enabled auto-merge
November 30, 2026 17:52
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
A run page re-read every statement of every job run on each change, and the server summarised the whole run each time. A run past 5,000 statements listed only its first 5,000.
Changes
after) and each record carries the next one. A read touches only the events stored after it, through two partial indexes onrecall_events(migration 0014, and inindexes.sql).audit_repeats.No DuckShop case: this is a server read and the page's polling, not a project shape, data value or lifecycle sequence.
Verification
Rows read, from
EXPLAIN ANALYZEon PostgreSQL, for a 10,000-statement run beside another of 10,000:A guard holds 36,000 rows, 100 rows and 4 store statements per read. Each new test fails without its fix:
Also: targeted cargo tests, clippy
-D warnings, fensu, svelte-check, vitest, and the Playwright layout and real suites.