Repository navigation
fix(cli): follow affected dependencies through test files - #3322
Open
remote-controlled-man wants to merge 1 commit into
Open
remote-controlled-man wants to merge 1 commit into
remote-controlled-man wants to merge 1 commit into
Conversation
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.
codegraph affectedstops walking when it reaches a test file. Forsource.ts -> helper.test.ts -> integration.test.ts, it reports onlyhelper.test.ts; changinghelper.test.tsitself also omits the dependent test. This can leave a CI test selection incomplete.Continue the existing dependency walk after collecting a test file, including a changed test file. The existing depth limit and visited sets still apply. Regression coverage exercises both inputs, depth boundaries, custom filtering, cycles, duplicate paths and unrelated files.
Validation on macOS with Node 24.21.0:
npm run build: passed, including the CLI, viewer and grammar-asset checks.npm test -- --maxWorkers=4: exit 0; 10,783 passed, 2 expected fail and 431 skipped.Linux and Windows were not run locally. AI assistance: Codex assisted with investigation, implementation and testing; a separate Codex context independently reviewed the frozen code and validation.