Repository navigation
refresh: batch every 5 edits, not 3, where a rebuild is slow - #1879
Merged
Merged
Conversation
On a repository whose last rebuild took 20 s or more, edits now count toward a rebuild until the fifth (AXIOMCODE_REFRESH_BATCH default 3 -> 5). Queries still answer from the last good graph meanwhile, marking rows from edited files, and the end of a turn, a prompt, session start, the timer and every query still refresh at once. tests/refresh.py: the slow-repo batch check now makes four edits and a shell command (no rebuild), then the fifth (rebuild). Co-authored-by: axiomcode-bot[bot] <334110751+axiomcode-bot[bot]@users.noreply.github.com>
swapnilpaliwal-sd
requested review from
JaredHLZhang,
Whua689 and
suyashpaliwal26
as code owners
October 9, 2026 21:17
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.
Where the last rebuild took 20 s or more, edits now count toward a rebuild until the fifth instead of the third (
AXIOMCODE_REFRESH_BATCHdefault 3 → 5;1still turns batching off).Unchanged:
(may be out of date).Test
tests/refresh.py --lang python: the slow-repo batch check now makes four edits and a shell command (no rebuild), then the fifth (rebuild). All four batching checks pass.Eight other checks in that file fail on
apps/integration-0.1.9without this change too (changed / test-impact before vs after refresh, commit and pull baselines, a new untracked file). The failing set is identical with and without this change.