From b226abcb8aee3198de9b831801c9ac74effe83f0 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 10 Jul 2026 14:34:36 +0200 Subject: [PATCH] Add temporary Claude add-on build diagnostics --- .github/workflows/pr2841-diagnostic.yml | 52 +++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/workflows/pr2841-diagnostic.yml diff --git a/.github/workflows/pr2841-diagnostic.yml b/.github/workflows/pr2841-diagnostic.yml new file mode 100644 index 0000000000..ee7d777daa --- /dev/null +++ b/.github/workflows/pr2841-diagnostic.yml @@ -0,0 +1,52 @@ +--- +name: PR 2841 Build Diagnostic + +on: + pull_request: + branches: + - master + +jobs: + diagnose: + if: ${{ github.event.pull_request.number == 2841 }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v7 + + - name: Gather add-on information + id: information + uses: frenck/action-addon-information@v1.4 + with: + path: ./claude_desktop/ + + - name: Set up QEMU + uses: docker/setup-qemu-action@v4 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v4 + + - name: Build aarch64 and capture tail + shell: bash + run: | + set +e + BUILD_FROM="$(jq -r '.build_from.aarch64 // empty' '${{ steps.information.outputs.build }}')" + docker buildx build \ + --platform linux/arm64 \ + --progress=plain \ + --build-arg "BUILD_FROM=${BUILD_FROM}" \ + --file claude_desktop/Dockerfile \ + claude_desktop >build.log 2>&1 + status=$? + tail -n 300 build.log >build-tail.log + printf 'build_status=%s\n' "$status" >build-status.txt + exit 0 + + - name: Upload diagnostic log + uses: actions/upload-artifact@v4 + with: + name: pr2841-aarch64-build-log + path: | + build-tail.log + build-status.txt + retention-days: 1