Repository navigation
Conversation
…nstall safely under concurrent runs
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
# Conflicts: # packages/vitest-native/package.json # packages/vitest-native/tests/ci-script-coverage.test.ts
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.
Summary
test:nativestarts its longest scripts first, andtest:native:ownershipruns as four parallel parts. On Windows the native step is about 28% shorter, and no single script approaches its deadline.Why
run-scriptsstarts scripts in the order given and expects the longest first, butownership, the longest, started 18th of 24. It was eight Vitest runs in one script (about 470–910 s on Windows), so the whole step waited on it, and it outgrew the 600 s deadline.Changes
test:nativeis ordered by measured Windows duration, longest first. A test keeps the scripts with their own deadlines at the front.test:native:ownershipbecomes:stock,:hot,:resolutionand:resolution-hot; the old name runs all four for local use. Each part peaked at about 300 s on Windows, so its 20-minute deadline row is removed.node_moduleson every run, which broke concurrent runs. It now places them the stamped, rename-into-place waydispatch-fixturesdoes, through a shared helper (tests-native/support/installed-fixture.ts).Notes
test:native:ownershipkeeps growing on Windows: 386–558 s on green runs (Nov 7), then 605 s, and up to 668.6 s on main (Nov 9). Each part is at most about 300 s.test:native:conformancehas no Windows timing yet, so it is placed at an estimated 45 s.node_modulescan fail once while an outdated package is replaced. CI installs fresh and is not affected.