From a50d98c7a1ca65acb67bdb97ed717005bfcaa311 Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Sun, 1 Feb 2026 14:25:05 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(matrix-bots):=20disable=20ar?= =?UTF-8?q?m64=20builds=20for=20all=20matrix=20bots?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All matrix bots use matrix-bot-sdk which has native dependencies (cpu-features, ssh2) that cause QEMU emulation failures during CI arm64 builds. Build amd64 only - can run on arm64 via Rosetta. Co-Authored-By: Claude Opus 4.5 --- .github/workflows/ci.yml | 27 ++++++++++++++++++--------- apps/matrix/apps/web/Dockerfile | 4 ++-- 2 files changed, 20 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02392266e..855604fbf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1306,7 +1306,8 @@ jobs: with: context: . file: services/matrix-ollama-bot/Dockerfile - platforms: linux/amd64,linux/arm64 + # Note: arm64 disabled due to QEMU emulation issues with native deps + platforms: linux/amd64 push: true tags: ${{ steps.meta.outputs.tags }} cache-from: type=gha @@ -1335,7 +1336,8 @@ jobs: with: context: . file: services/matrix-stats-bot/Dockerfile - platforms: linux/amd64,linux/arm64 + # Note: arm64 disabled due to QEMU emulation issues with native deps + platforms: linux/amd64 push: true tags: ${{ steps.meta.outputs.tags }} cache-from: type=gha @@ -1364,7 +1366,8 @@ jobs: with: context: . file: services/matrix-project-doc-bot/Dockerfile - platforms: linux/amd64,linux/arm64 + # Note: arm64 disabled due to QEMU emulation issues with native deps + platforms: linux/amd64 push: true tags: ${{ steps.meta.outputs.tags }} cache-from: type=gha @@ -1393,7 +1396,8 @@ jobs: with: context: . file: services/matrix-todo-bot/Dockerfile - platforms: linux/amd64,linux/arm64 + # Note: arm64 disabled due to QEMU emulation issues with native deps + platforms: linux/amd64 push: true tags: ${{ steps.meta.outputs.tags }} cache-from: type=gha @@ -1422,7 +1426,8 @@ jobs: with: context: . file: services/matrix-calendar-bot/Dockerfile - platforms: linux/amd64,linux/arm64 + # Note: arm64 disabled due to QEMU emulation issues with native deps + platforms: linux/amd64 push: true tags: ${{ steps.meta.outputs.tags }} cache-from: type=gha @@ -1451,7 +1456,8 @@ jobs: with: context: . file: services/matrix-nutriphi-bot/Dockerfile - platforms: linux/amd64,linux/arm64 + # Note: arm64 disabled due to QEMU emulation issues with native deps + platforms: linux/amd64 push: true tags: ${{ steps.meta.outputs.tags }} cache-from: type=gha @@ -1480,7 +1486,8 @@ jobs: with: context: . file: services/matrix-zitare-bot/Dockerfile - platforms: linux/amd64,linux/arm64 + # Note: arm64 disabled due to QEMU emulation issues with native deps + platforms: linux/amd64 push: true tags: ${{ steps.meta.outputs.tags }} cache-from: type=gha @@ -1509,7 +1516,8 @@ jobs: with: context: . file: services/matrix-clock-bot/Dockerfile - platforms: linux/amd64,linux/arm64 + # Note: arm64 disabled due to QEMU emulation issues with native deps + platforms: linux/amd64 push: true tags: ${{ steps.meta.outputs.tags }} cache-from: type=gha @@ -1538,7 +1546,8 @@ jobs: with: context: . file: services/matrix-tts-bot/Dockerfile - platforms: linux/amd64,linux/arm64 + # Note: arm64 disabled due to QEMU emulation issues with native deps + platforms: linux/amd64 push: true tags: ${{ steps.meta.outputs.tags }} cache-from: type=gha diff --git a/apps/matrix/apps/web/Dockerfile b/apps/matrix/apps/web/Dockerfile index 03a3fa1f5..dd05b58c4 100644 --- a/apps/matrix/apps/web/Dockerfile +++ b/apps/matrix/apps/web/Dockerfile @@ -32,8 +32,8 @@ COPY packages/shared-utils ./packages/shared-utils # Copy matrix web app COPY apps/matrix/apps/web ./apps/matrix/apps/web -# Install dependencies -RUN pnpm install --frozen-lockfile +# Install dependencies (--no-frozen-lockfile due to workspace overrides) +RUN pnpm install --no-frozen-lockfile # Build shared packages that need building WORKDIR /app/packages/shared-auth