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
feat(cli,webapp): make the node runtime track Node.js LTS
Deployments with an omitted `runtime` or `runtime: "node"` now resolve
to the current Node.js LTS, currently Node.js 24, across all projects.
Explicit versioned runtimes remain pinned, and the previous Node.js 21
update prompts have been removed.
Mono-RevId: 98db23c3fb605d546336fdce06ed748d62f1b86a
Use the current Node.js LTS for deployments whose `runtime` is unset or set to `"node"`. Set a versioned runtime such as `"node-24"` to keep deployments pinned to that Node.js major.
return`Update these Trigger.dev projects to Node.js ${targetMajor}.
43
-
44
-
They still deploy on Node.js ${NODE_RUNTIME_UPDATE_MAJOR} in production. Moving to Node.js ${targetMajor} is a one-field change in each project's trigger.config.ts.
45
-
46
-
Projects to update:
47
-
${projectList}
48
-
49
-
How to do it:
50
-
1. Find the trigger.config.ts for each project above — the reference in parentheses is its "project" field.
51
-
2. In defineConfig, set runtime: "node-${targetMajor}", adding the field if it isn't there. Reference: https://trigger.dev/docs/config/config-file#runtime
52
-
3. Deploy each project so the new runtime takes effect.
53
-
4. Check that nothing is left by running: ${CLI_COMMAND}`;
54
-
}
55
-
56
17
/** A project and its current Production deployment, or `null` when it has never been deployed. */
57
18
exporttypeProjectRuntimeRow={
58
19
name: string;
@@ -69,143 +30,32 @@ export type ProjectRuntimeRow = {
69
30
70
31
exportfunctionProjectsPage({
71
32
organizationSlug,
72
-
needsUpdate,
73
-
otherProjects,
33
+
projects,
74
34
}: {
75
35
organizationSlug: string;
76
-
needsUpdate: ProjectRuntimeRow[];
77
-
otherProjects: ProjectRuntimeRow[];
36
+
projects: ProjectRuntimeRow[];
78
37
}){
79
-
constcount=needsUpdate.length;
80
-
// "All projects" lists every project — both the ones needing an update and the rest — sorted by name.
} still running Node.js ${NODE_RUNTIME_UPDATE_MAJOR} in production. Update each one to Node.js ${NODE_RUNTIME_TARGET_MAJOR} and deploy a new version.`}
0 commit comments