File tree Expand file tree Collapse file tree
packages/core/src/v3/schemas Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,13 +85,6 @@ export async function listCurrentProductionProjectRuntimes(scope: Scope) {
8585 ) ;
8686}
8787
88- /**
89- * Whether any project in the organization needs a Node.js runtime update in Production.
90- *
91- * The SQL filter mirrors `needsNodeRuntimeUpdate(runtime, runtimeVersion)`, including legacy
92- * deployments with missing runtime metadata. Keep the two in step. Scoped to the caller's
93- * membership so the side menu cannot report on an organization the user does not belong to.
94- */
9588export async function organizationHasProjectRuntimeUpdate ( {
9689 organizationSlug,
9790 userId,
Original file line number Diff line number Diff line change @@ -79,13 +79,6 @@ export function nodeMajor(
7979 return match ? Number ( match [ 1 ] ) : undefined ;
8080}
8181
82- /**
83- * Whether a deployment should move off the Node.js major targeted by the runtime update report.
84- *
85- * Older deployments can be missing either runtime field. A missing runtime historically meant
86- * Node.js, while a missing version means we cannot prove that the deployment is on a supported
87- * major, so both are treated as needing an update. An explicit non-Node runtime is never included.
88- */
8982export function needsNodeRuntimeUpdate (
9083 runtime : string | null | undefined ,
9184 runtimeVersion : string | null | undefined
You can’t perform that action at this time.
0 commit comments