Repository navigation
fix(impact): name the adapter runner when a repository has no test files - #217
Merged
adityankale190895 merged 2 commits intoNov 18, 2026
Merged
Conversation
graph.ts sets testUniverse.blindSpot for a Go, Maven, Python or Rust repository without test files even when package.json declares no framework, and the TEST_UNIVERSE_EMPTY reason then read "Repository declares but no test files were discovered". The adapters' runners are now recorded in testUniverse.adapterRunners and named in the reason. Signed-off-by: FredApps <[email protected]>
Signed-off-by: FredApps <[email protected]>
FredApps
commented
Nov 17, 2026
FredApps
left a comment
Contributor
Author
There was a problem hiding this comment.
Cross-review of 6d2005c.
Checked:
- The fix matches #216.
testUniverse.adapterRunnersis filled from the same adapter list that already setblindSpot, so the fallback decision itself is unchanged. Only the reason text gains the runner name ("Repository declares Maven but no test files were discovered…"). The documented pattern indocs/using-diffci.md(Repository declares … but …) still matches. - The new test fails with
src/reverted and passes with the fix.tests/repo/test-universe-empty-reason.test.tsis listed inrelease-files.json. Commits are DCO-signed. The branch is level with main.
Fixed:
- 065c8c0: added the
// SPDX-License-Identifier: MITheader to the new test file.
Still open: none. CI is green on 065c8c0.
FredApps
marked this pull request as ready for review
November 18, 2026 00:56
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 #216
graph.tsnow records the runners of the language adapters that contributed intestUniverse.adapterRunners:go test,Maven,pytestandcargo test.impact.tsnames them in theTEST_UNIVERSE_EMPTYreason after any declared frameworks. The text still matches the documentedRepository declares … but no test files were discovered; full validation requiredentry. The blind-spot condition is unchanged.Validation:
tests/repo/test-universe-empty-reason.test.tsfails onmainand passes here.npm run typecheck,npm test(1168 pass),npm run audit:boundary.