From 35f97c78275a85b95d10c0933fd9c0b65a432030 Mon Sep 17 00:00:00 2001 From: murugu21 Date: Mon, 15 Jun 2026 15:23:26 +0530 Subject: [PATCH] chore(cdk): upgrade wake Lambda runtime to nodejs24.x Node.js 20 reaches EOL (Apr 2026) and the nodejs20.x Lambda runtime follows; move the wake function to the current LTS, nodejs24.x. Handler is unchanged (AWS SDK v3 is runtime-provided; ESM works identically on Node 24). Already applied to the live stack via cdk deploy; this lands the code so it matches the deployed runtime. Co-Authored-By: Claude Opus 4.8 (1M context) --- infra/cdk/lib/compute-stack.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/cdk/lib/compute-stack.ts b/infra/cdk/lib/compute-stack.ts index 3af80dc..914ab64 100644 --- a/infra/cdk/lib/compute-stack.ts +++ b/infra/cdk/lib/compute-stack.ts @@ -268,7 +268,7 @@ export class ComputeStack extends cdk.Stack { if (cognitoIssuer && cognitoClientId) { const wakeFn = new lambda.Function(this, "WakeFn", { - runtime: lambda.Runtime.NODEJS_20_X, + runtime: lambda.Runtime.NODEJS_24_X, handler: "index.handler", code: lambda.Code.fromAsset(path.join(__dirname, "..", "lambda", "wake")), timeout: cdk.Duration.seconds(10),