From 5d5bb351c7352a560f9d7de6f875a8a34205b105 Mon Sep 17 00:00:00 2001 From: Eli Mallon Date: Tue, 14 Jul 2026 22:47:49 -0700 Subject: [PATCH] ci: capture make node output as an artifact (temporary debugging) linux-amd64 keeps failing inside the containerized make chain and job logs aren't API-accessible; tee the output and upload it so the actual error is visible. Remove once the job is green. Co-Authored-By: Claude Fable 5 --- .github/workflows/build.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a4b401267..a8b965b0e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -54,7 +54,19 @@ jobs: - name: make node run: | sudo apt install podman -y - make in-container BUILDER_TARGET=builder-no-darwin DOCKER_PWD_MOUNT_PATH=/app DOCKER_BUILD_OPTS="--layers --cache-to ghcr.io/streamplace/streamplace --cache-from ghcr.io/streamplace/streamplace" DOCKER_OPTS="-e STREAMPLACE_IGNORE_LEAKS=true -e STREAMPLACE_TEST_COUNT=1 -e CI=true -e GITHUB_ACTION=true" IN_CONTAINER_CMD="${{ matrix.cmd }}" + set -o pipefail + make in-container BUILDER_TARGET=builder-no-darwin DOCKER_PWD_MOUNT_PATH=/app DOCKER_BUILD_OPTS="--layers --cache-to ghcr.io/streamplace/streamplace --cache-from ghcr.io/streamplace/streamplace" DOCKER_OPTS="-e STREAMPLACE_IGNORE_LEAKS=true -e STREAMPLACE_TEST_COUNT=1 -e CI=true -e GITHUB_ACTION=true" IN_CONTAINER_CMD="${{ matrix.cmd }}" 2>&1 | tee make-node.log + + # Temporary debugging: surface the tail of the make node log as an + # artifact so failures inside the container are diagnosable without + # log access. Remove once linux-amd64 is green. + - name: Upload make node log + if: always() + uses: actions/upload-artifact@v4 + with: + name: make-node-log-${{ matrix.name }}-${{ github.sha }} + path: ./make-node.log + retention-days: 1 - name: Publish Test Report if: matrix.name == 'linux-amd64' && (success() || failure()) -- 2.51.2