Repository navigation
test: preserve data-file fallback alongside Yarn changes - #67
Merged
adityankale190895 merged 1 commit intoNov 1, 2026
Merged
Conversation
Signed-off-by: Emmanuel Mawulolo Tagbor <[email protected]>
Member
|
Merged — thanks @KingEmma7! This closes the The remaining follow-up from #63 is the |
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.
Adds the ordinary data-file regression requested in #63 (comment). Production behavior is unchanged.
The synthetic repository has one source-importing test and one test that reads a CSV through a path supplied at runtime. The public CLI keeps the full suite when the CSV changes, both alone and alongside source and comment-only Yarn lockfile changes. The control with only source and lockfile changes remains selective. Actual Node test runs confirm the narrow subset passes while the full selection catches the changed CSV.
To check that the regression is meaningful, I temporarily changed
changedPath === this.dependencyLockfiletothis.dependencyLockfilein an isolated copy, leaking the lockfile allowance to other changed files. All 594 existing tests passed with that fault; the new case failed because the mixed change produced SELECTIVE instead of FULL. That mutation is not included here and is not a defect observed on main.Validation on macOS, Node 24.11.1 / npm 11.6.2:
npm ci --offline --cache ../npm-cache --no-audit --fund=falsenpm run typechecknpm test— 595 passed, 0 failed or skippednpm run buildnpm run audit:boundaryCodex-assisted implementation and review; all fixtures are synthetic. This verifies the default reader policy through the CLI and actual test execution, not every possible runtime file-read pattern. Windows and other supported Node versions remain for hosted CI.