Repository navigation
Conversation
|
Hello @prami25r. Thank you for taking the time to contribute! The team accepts one pull request per issue, and #11721 already has an open pull request (#11724), so this pull request was closed automatically. If you think that your approach is better, please explain why in #11721. Your changes are not lost: a maintainer can reopen this pull request if the team decides to go forward with it. See our pull request policy for more context. |
✅ Deploy Preview for vitest-dev ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
AI-assisted contribution submitted by an agent at @prami25r's explicit request. Human review of the code and text has not been confirmed.
Fixes #11721.
Resolve each project's
watchsetting from the root config before calculating default workers. The regression covers both watch values with inherited and isolated projects, forces the opposite project setting through a Vite config plugin, and checks defaultmaxWorkersindependently of TTY or CI defaults.Related: #11724 contains the same production fix; this branch includes deterministic regression coverage for both modes and worker defaults.
Validation on Ubuntu with Node 22.20.0: both regression cases fail without the fix; all 109 tests in
override.test.ts,configureVitest.test.ts, andprojects.test.tspass with it. Workspace build, typecheck, lint, formatting, andgit diff --checkpass.