Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,10 @@ jobs:
vp test
- name: vinext
node-version: 24
# The vinext suite is ~7000 tests and needs more than the default
# 10-minute job budget on 4-core runners.
timeout: 15
# The full vinext suite (~7000 tests) outgrew a 15-minute budget
# on 4-core runners, so run one shard of the unit project here;
# the rest of the suite is covered by vinext's own CI.
timeout: 20
command: |
# vp migrate's auto-install passes --ignore-scripts on pnpm v11
# (vinext pins pnpm 11), which skips vinext's approved
Expand All @@ -320,7 +321,7 @@ jobs:
vp run build
vp check --fix
vp run check
vp run test
vp test run --project unit --shard=1/3
- name: reactive-resume
node-version: 24
command: |
Expand Down
66 changes: 33 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions crates/vite_js_runtime/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,10 @@ mod tests {
}

#[tokio::test]
#[cfg_attr(
target_env = "musl",
ignore = "latest can outrun the unofficial-builds musl channel"
)]
async fn test_download_runtime_for_project_no_dev_engines() {
let temp_dir = TempDir::new().unwrap();
let temp_path = AbsolutePathBuf::new(temp_dir.path().to_path_buf()).unwrap();
Expand Down Expand Up @@ -818,6 +822,10 @@ mod tests {
}

#[tokio::test]
#[cfg_attr(
target_env = "musl",
ignore = "latest can outrun the unofficial-builds musl channel"
)]
async fn test_download_runtime_for_project_does_not_write_back_when_no_version() {
let temp_dir = TempDir::new().unwrap();
let temp_path = AbsolutePathBuf::new(temp_dir.path().to_path_buf()).unwrap();
Expand Down Expand Up @@ -899,6 +907,10 @@ mod tests {
}

#[tokio::test]
#[cfg_attr(
target_env = "musl",
ignore = "latest can outrun the unofficial-builds musl channel"
)]
async fn test_download_runtime_for_project_no_package_json() {
let temp_dir = TempDir::new().unwrap();
let temp_path = AbsolutePathBuf::new(temp_dir.path().to_path_buf()).unwrap();
Expand Down Expand Up @@ -1210,6 +1222,10 @@ mod tests {
// ==========================================

#[tokio::test]
#[cfg_attr(
target_env = "musl",
ignore = "latest can outrun the unofficial-builds musl channel"
)]
async fn test_invalid_node_version_file_is_ignored() {
let temp_dir = TempDir::new().unwrap();
let temp_path = AbsolutePathBuf::new(temp_dir.path().to_path_buf()).unwrap();
Expand All @@ -1232,6 +1248,10 @@ mod tests {
}

#[tokio::test]
#[cfg_attr(
target_env = "musl",
ignore = "latest can outrun the unofficial-builds musl channel"
)]
async fn test_invalid_engines_node_is_ignored() {
let temp_dir = TempDir::new().unwrap();
let temp_path = AbsolutePathBuf::new(temp_dir.path().to_path_buf()).unwrap();
Expand All @@ -1251,6 +1271,10 @@ mod tests {
}

#[tokio::test]
#[cfg_attr(
target_env = "musl",
ignore = "latest can outrun the unofficial-builds musl channel"
)]
async fn test_invalid_dev_engines_runtime_is_ignored() {
let temp_dir = TempDir::new().unwrap();
let temp_path = AbsolutePathBuf::new(temp_dir.path().to_path_buf()).unwrap();
Expand Down Expand Up @@ -1449,6 +1473,10 @@ mod tests {
}

#[tokio::test]
#[cfg_attr(
target_env = "musl",
ignore = "latest can outrun the unofficial-builds musl channel"
)]
async fn test_download_runtime_for_project_with_lts_latest_alias() {
let temp_dir = TempDir::new().unwrap();
let temp_path = AbsolutePathBuf::new(temp_dir.path().to_path_buf()).unwrap();
Expand Down
Loading
Loading