Skip to content

Commit ce7f7a5

Browse files
authored
[turbopack] Try to fix v8 crashes on github actions (#85114)
Hopefully fix v8 crashes like: https://github.com/vercel/next.js/actions/runs/18658418940/job/53193170376 based on discussions on nodejs/node#51555
1 parent aaaf82c commit ce7f7a5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

turbopack/crates/turbopack-tracing/tests/node-file-trace.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,10 @@ async fn exec_node(directory: &str, path: &str) -> Result<CommandOutput> {
590590
let dir = f.parent().unwrap();
591591
println!("[CWD]: {}", dir.display());
592592

593+
// See https://github.com/nodejs/node/issues/51555
594+
// The compile cache is causing flaky crashes when run on github actions.
595+
cmd.env("DISABLE_V8_COMPILE_CACHE", "1");
596+
593597
if path.contains("mdx") {
594598
cmd.arg("--experimental-loader=@mdx-js/node-loader")
595599
.arg("--no-warnings");

0 commit comments

Comments
 (0)