From 8a0ffd0173023cb6b161710d6c246760a6fee748 Mon Sep 17 00:00:00 2001 From: pieh Date: Fri, 26 Jun 2026 18:59:49 +0200 Subject: [PATCH 1/2] fix: pin DENO_VERSION_RANGE to not use 2.9.0 which introduced compatibility issue with our bootstrap --- packages/edge-bundler/node/bridge.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edge-bundler/node/bridge.ts b/packages/edge-bundler/node/bridge.ts index 8c3f313e18..1e0cc84dd9 100644 --- a/packages/edge-bundler/node/bridge.ts +++ b/packages/edge-bundler/node/bridge.ts @@ -19,7 +19,7 @@ export const LEGACY_DENO_VERSION_RANGE = '1.39.0 - 2.2.4' // When updating DENO_VERSION_RANGE, ensure that the deno version // on the netlify/buildbot build image satisfies this range! // https://github.com/netlify/buildbot/blob/f9c03c9dcb091d6570e9d0778381560d469e78ad/build-image/noble/Dockerfile#L410 -export const DENO_VERSION_RANGE = '^2.4.2' +export const DENO_VERSION_RANGE = '2.4.2 - 2.8.2' export type OnBeforeDownloadHook = () => void | Promise export type OnAfterDownloadHook = (error?: Error) => void | Promise From ec7b6d9b4a8ebc62dc7642282a4497c000dfe41f Mon Sep 17 00:00:00 2001 From: pieh Date: Fri, 26 Jun 2026 19:01:56 +0200 Subject: [PATCH 2/2] test: use upper bound version of deno for tests --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index fd48651f70..7b33991b27 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -52,7 +52,7 @@ jobs: node-version: ['24'] # Maximum supported deno version from the `DENO_VERSION_RANGE` constant in `node/bridge.ts`. # If there is no upper band - this should be set to whatever is the latest deno version at the time of updating this workflow. - deno-version: ['v2.8.0'] + deno-version: ['v2.8.2'] # We test on the oldest supported Node.js + Deno versions, but only on Linux include: - os: ubuntu-24.04