You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(test): stabilize flaky network-dependent tests (#1923)
## Summary
- retry the complete HTTP body and JSON decode operation for npm
metadata and the Node.js version index
- keep version classification and package-manager priority unit tests
deterministic instead of reaching live registries
- allow the first Vite config evaluation more time on slow Windows CI
workers
## Validation
- `cargo fmt --all -- --check`
- `cargo clippy -p vite_install -p vite_js_runtime -p vite_global_cli
--all-targets -- -D warnings`
- `env -u NODE_OPTIONS RUST_MIN_STACK=8388608 cargo test -p vite_install
-p vite_js_runtime --locked`
- `cargo test -p vite_global_cli test_classify_version --locked`
- `git diff --check`
The focused TypeScript test requires generated Vite/Core/CLI build
artifacts that are not present in a fresh worktree; CI will run it after
the normal build setup.
0 commit comments