Repository navigation
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Contributor
|
✅ Staging deployment successful! Preview: https://viteplus-staging.void.app/ |
|
Cloudflare builds and deploys previews for this pull request. Learn more about Cloudflare previews.
Updated: |
Contributor
CLI artifact sizes (
|
| Artifact | Format | Base | PR | Change |
|---|---|---|---|---|
packages/cli/dist |
Directory total | 2.52 MiB | 2.52 MiB | +1.26 KiB (+0.05%) |
packages/core/dist |
Directory total | 4.22 MiB | 4.22 MiB | +21 B (+0.00%) |
| Combined package dist | Directory total | 6.74 MiB | 6.74 MiB | +1.28 KiB (+0.02%) |
vp (Linux x64) |
Binary | 9.28 MiB | 9.28 MiB | 0 B (0.00%) |
vp (Linux x64) |
gzip -9 | 4.24 MiB | 4.24 MiB | 0 B (0.00%) |
| NAPI (Linux x64) | Binary | 37.97 MiB | 37.97 MiB | 0 B (0.00%) |
| NAPI (Linux x64) | gzip -9 | 15.32 MiB | 15.32 MiB | 0 B (0.00%) |
vp (macOS ARM64) |
Binary | 6.11 MiB | 6.11 MiB | 0 B (0.00%) |
vp (macOS ARM64) |
gzip -9 | 3.63 MiB | 3.63 MiB | 0 B (0.00%) |
| NAPI (macOS ARM64) | Binary | 44.38 MiB | 44.38 MiB | 0 B (0.00%) |
| NAPI (macOS ARM64) | gzip -9 | 19.42 MiB | 19.42 MiB | 0 B (0.00%) |
vp (Windows x64) |
Binary | 7.25 MiB | 7.25 MiB | 0 B (0.00%) |
vp (Windows x64) |
gzip -9 | 3.32 MiB | 3.32 MiB | 0 B (0.00%) |
| NAPI (Windows x64) | Binary | 33.86 MiB | 33.86 MiB | 0 B (0.00%) |
| NAPI (Windows x64) | gzip -9 | 14.02 MiB | 14.02 MiB | -2 B (-0.00%) |
| Trampoline (Windows x64) | Binary | 13.50 KiB | 13.50 KiB | 0 B (0.00%) |
| Trampoline (Windows x64) | gzip -9 | 7.09 KiB | 7.09 KiB | 0 B (0.00%) |
| Installer (Windows x64) | Binary | 4.69 MiB | 4.69 MiB | 0 B (0.00%) |
| Installer (Windows x64) | gzip -9 | 2.25 MiB | 2.25 MiB | +1 B (+0.00%) |
- Pin vitest and the official @vitest/* catalog entries to 5.2.0-beta.1, and sync VITEST_VERSION, the docs, and the test_v5_* fixtures. - Add the new --seed and --replaySeed flags to the static vp test help. - Mask the random run seed that Vitest 5.2 prints in each summary. - Keep @vitest/browser-webdriverio on the catalog @vitest/browser: its ^5.0.0 range excludes the prerelease and installed a second 5.1.2 copy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The CI clone action and sync-remote accepted only an exact stable v5 runner pin, so every CI job stopped before installation. Accept an exact v5 prerelease too. Ranges, other majors, and malformed versions are still rejected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fengmk2
force-pushed
the
feat/vitest-5.2.0-beta.1
branch
from
December 3, 2026 02:37
bbcca55 to
5261e7f
Compare
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
This PR upgrades the bundled Vitest to
5.2.0-beta.1before the stable5.2.0, so that incompatibilities show early. Keep it as a draft until Vitest5.2.0is stable.Changes
vitestand the official@vitest/*catalog entries to5.2.0-beta.1. SyncsVITEST_VERSION, the docs, and thetest_v5_*fixture pins.vp test --helplists the new--seed <seed>and--replaySeed <seed>flags with the upstream text.vp testalready forwards both flags.Seed <value>in every run summary. Without aseedoption, the value is a new random integer on each run. The snapshot runner masks the generated integer as<seed>, so a seed that a fixture sets stays visible. The re-recorded snapshots gain 43 of these lines.@vitest/browser-webdriverio@5.0.0depends on@vitest/browser: ^5.0.0, which does not match a prerelease. Without an override, the workspace installed a second@vitest/browser@5.1.2and@vitest/ui@5.1.2, and the provider loaded a different browser package than the runner. A workspace override now points the provider's@vitest/browserto the catalog entry.packages/tools/src/vendored-vitest.ts) andsync-remoteaccepted only an exact stable v5 pin. They now also accept an exact v5 prerelease. Ranges, other majors, and malformed versions are still rejected.Upstream changes that can affect user code
Vite+ does not use these APIs. The
vitestexport map did not change, so thevite-plus/test*shims stay the same.vitest.getSeed()always returns astring. Before, it returnednumber | null, andnullmeant that tests were not shuffled. TheRunning tests with seed "..."banner line is gone.sequence.seedand--sequence.seedare deprecated in favor of the top-levelseedoption and--seed. Vitest no longer readsResolvedConfig.sequence.seed. The runtime config hasseed: stringin place ofsequence.seed.@vitest/utils/helpersno longer exportsshuffle.random. A user fixture namedrandomreplaces it.Before merge
.github/scripts/upgrade-deps.tsselects the latest stable5.x. Its next run onmainwould set the catalog back to5.1.2.@vitest/browser-webdriverioon a Vite+ release with this beta need the same@vitest/browseroverride.mainkeeps the prerelease pin rule. If not, revert the tools commit when the stable5.2.0replaces the beta.🤖 Generated with Claude Code