Repository navigation
test: record full fallback for Vitest reporter/timeout config edits - #65
Merged
Merged
Conversation
A vitest.config.* edit that only adds a reporter or changes testTimeout cannot change which tests Vitest collects, but it matches CONFIG_PATTERNS and forces the full suite. Record that behaviour on a synthetic repository so any future narrowing has to change the test deliberately, and document the case and its safety conditions in docs/design/config-narrowing.md. Fixture contributed by robertwmccarty-caelum in #53 (comment) Fixes #53 Co-authored-by: robertwmccarty-caelum <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: adityankale190895 <[email protected]>
adityankale190895
force-pushed
the
test/vitest-config-fallback-53
branch
from
October 30, 2026 05:18
34577f9 to
81f3a9f
Compare
adityankale190895
added a commit
that referenced
this pull request
Nov 9, 2026
Their Vitest reporter/timeout fixture from #53 landed in #65 as a co-authored commit, so GitHub lists them as a contributor, but the README Contributors section had no entry. The design doc already credits them. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: adityankale190895 <[email protected]>
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 #53.
What changed
tests/repo/vitest-config-fallback.test.ts: synthetic-repository fixture. Avitest.config.tsedit that only changes the reporter, or only changestestTimeout, still yieldsconfigChanged=true,CONFIG_GLOBALandfallbackRequired=true.docs/design/config-narrowing.md: records the case as a narrowing candidate, with the conditions any narrowing must meet (statically recognizable configs, allowlisted fields only, provably identical test inclusion) and why reporters and timeouts are not automatically safe.release-files.json: lists both new files soaudit:boundarypasses.No behaviour change: this pins today's conservative fallback.
Attribution
The fixture and the narrowing conditions come from robertwmccarty-caelum's comment on #53, including the
release-files.jsonfix from their follow-up. They asked for it to be added through the maintainer path rather than a fork PR; the commit credits them with aCo-authored-bytrailer. The sign-off is the maintainer's. Their comment notes it was prepared with AI assistance for a human operator.Validation
On
main@2d5cc05plus this change:npm run typecheck: passnpm test: 594/594 pass, 88 suitesnpm run build: passnpm run audit:boundary: pass (226 reviewed files)/^vitest\.config\./fromCONFIG_PATTERNSmakes both fixture cases fail.🤖 Generated with Claude Code