Repository navigation
fix: scope call flow to changed files when snapshots exceed the analysis budget - #4039
Merged
backnotprop merged 5 commits intoNov 26, 2026
Conversation
…-flow-large-snapshot-scope
…mpty scope, test the analysis path The scope message went into the result's message and diagnostics, so the panel showed it under the empty state's headline and in the collapsed parser notices (and counted it as a warning). It now travels as notice, in plain words. A scope that leaves no file to read returns an empty result without starting the worker. The budget can be lowered for tests, which now drive the real analysis path through a stand-in worker.
Owner
|
Merged. Thank you for this: scoping the call flow to the changed files when a repository is too large to analyse whole is exactly the right fallback, and the write-up made it easy to review. It goes out in the next release (0.29.5). |
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.
Fixes #4038.
Keep full-repository Call Flow analysis for snapshots that fit the existing 45-second worker budget. Above an estimated 2,250 candidate paths (15 ms per path with 25% headroom), pass only the changed paths to CallDiff, retaining both sides of renames and deletions. Report the reduced scope in the result message and diagnostics so readers know unchanged callers are excluded.
Added regression cases for small snapshots and large snapshots containing renames/deletions. Validation: TypeScript syntax parsing and git diff --check passed. Tests and builds were not run.