From 406d0675bbf27111078666366a8dbe6b2f00f5f0 Mon Sep 17 00:00:00 2001 From: Aaron Trowbridge Date: Thu, 22 Oct 2026 06:31:47 -0400 Subject: [PATCH] =?UTF-8?q?chore(ci):=20pin=20bun=20to=201.4.2=20in=20setu?= =?UTF-8?q?p-bun=20=E2=80=94=20latest=20bun's=20patch=20application=20brea?= =?UTF-8?q?ks=20the=20upstream=20photon-node=20patch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The v0.3.8-alpha.1 build failed cold: setup-bun@v2 unpinned pulled a newer bun whose patching of @silvia-odwyer/photon-node@0.3.4 (an upstream-carried patch, unchanged since v0.3.7's green build) rejects hunk #10 against the resolved photon_rs.js. Local 1.4.2 applies the identical patch cleanly (today's unified-deploy binary built from the same tree). Pin the proven version in release.yml + ci.yml's build-binary jobs. --- .github/workflows/ci.yml | 3 +++ .github/workflows/release.yml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2b52312b..5c7e21595 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: - uses: actions/setup-node@v7 with: { node-version: 20, cache: pnpm } - uses: oven-sh/setup-bun@v2 + with: { bun-version: 1.4.2 } - run: pnpm install --frozen-lockfile - name: Build native binary (linux-x64) run: node packages/extension/scripts/build_binary.mjs @@ -227,6 +228,7 @@ jobs: - uses: actions/setup-node@v7 with: { node-version: 20, cache: pnpm } - uses: oven-sh/setup-bun@v2 + with: { bun-version: 1.4.2 } - run: pnpm install --frozen-lockfile # Download pre-built binaries (#1096) - name: Download built binaries @@ -342,6 +344,7 @@ jobs: - uses: actions/setup-node@v7 with: { node-version: 20, cache: pnpm } - uses: oven-sh/setup-bun@v2 + with: { bun-version: 1.4.2 } - run: pnpm install --frozen-lockfile - name: Materialize the full engine tree (canonical base + overlay) run: pnpm --filter @amicode/app-bundle run materialize diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d8253d4f8..335eec597 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,7 @@ jobs: - uses: actions/setup-node@v7 with: { node-version: 20, cache: pnpm } - uses: oven-sh/setup-bun@v2 + with: { bun-version: 1.4.2 } - run: pnpm install --frozen-lockfile - name: Build native binary (linux-x64) run: node packages/extension/scripts/build_binary.mjs @@ -55,6 +56,7 @@ jobs: - uses: actions/setup-node@v7 with: { node-version: 20, cache: pnpm } - uses: oven-sh/setup-bun@v2 + with: { bun-version: 1.4.2 } - name: Resolve tag and publish gate id: meta run: |