Repository navigation
plugin: a slow graph rebuilds after 7 edits instead of 5 - #1937
Merged
Merged
Conversation
Where the last build took 20 s or more, edits are batched and the Nth one starts the rebuild. Seven lets a typical multi-file change land before the graph rebuilds. The end of a turn, a prompt, a session start and every query still refresh at once, so an answer never waits on the batch. AXIOMCODE_REFRESH_BATCH still overrides it (1 = off). 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 12, 2026 22:22
This was referenced Oct 13, 2026
Closed
Merged
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 build took 20 s or more (
AXIOMCODE_REFRESH_BATCH_ABOVE), edits are batched and the Nth edit starts the background rebuild. This moves the default from 5 to 7.Unchanged: a repository whose build is under 20 s still rebuilds after every edit; the end of a turn, a prompt, a session start, the timer and every query still refresh at once;
AXIOMCODE_REFRESH_BATCHstill overrides it (1 = off).Checked: with a 60 s last build, edits 1-6 only count and the 7th starts the rebuild; a Stop flushes the batch; a 5 s build rebuilds on every edit.
tests/freshness.py118/118.tests/refresh.pyfails the same 5 checks on the base branch in this environment (builds without a built parser), unchanged by this commit.