Skip to content

Commit 32de0d9

Browse files
authored
Fix canary only warning for devlow-bench (#76772)
These are failing our canary only check for stable releases so adds necessary env to avoid this. x-ref: https://github.com/vercel/next.js/actions/runs/13641536096/job/38133462655
1 parent 4bb686d commit 32de0d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/devlow-bench.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ const nextBuildWorkflow =
4040
PWD: process.env.PWD,
4141
NEXT_TRACE_UPLOAD_DISABLED: 'true',
4242
NEXT_PRIVATE_SKIP_CANARY_CHECK: 'true',
43+
// Enable next.js test mode to get HMR events and silence canary only
44+
__NEXT_TEST_MODE: '1',
4345
}
4446

4547
const serverEnv = {
@@ -253,7 +255,7 @@ const nextDevWorkflow =
253255
NEXT_PUBLIC_OTEL_SENTRY: 'true',
254256
NEXT_PUBLIC_OTEL_DEV_DISABLED: 'true',
255257
NEXT_TRACE_UPLOAD_DISABLED: 'true',
256-
// Enable next.js test mode to get HMR events
258+
// Enable next.js test mode to get HMR events and silence canary only
257259
__NEXT_TEST_MODE: '1',
258260
}
259261

0 commit comments

Comments
 (0)