From 0a89dc93ced8d8b7d617f3ab04e03b0f9324987d Mon Sep 17 00:00:00 2001 From: mlsmaycon Date: Sat, 12 Sep 2026 13:23:48 +0000 Subject: [PATCH] [misc] Summarize the management integration test run as well Management / Integration (amd64, sqlite) hit the 20 minute budget on this branch and left the same unreadable goroutine dump the unit job used to, with the list of running tests out of reach. The job now pipes the mage run through tools/gotestsummary and keeps the raw events on failure, like the unit job. --- .github/workflows/golang-test-linux.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/golang-test-linux.yml b/.github/workflows/golang-test-linux.yml index 548d77c83..48cb11af9 100644 --- a/.github/workflows/golang-test-linux.yml +++ b/.github/workflows/golang-test-linux.yml @@ -756,12 +756,27 @@ jobs: - name: check git status run: git --no-pager diff --exit-code + # Same summary as the unit job: a timeout here names the tests still + # running instead of ending in a goroutine dump. - name: Test + shell: bash run: | + set -o pipefail CGO_ENABLED=1 GOARCH=${{ matrix.arch }} \ NETBIRD_STORE_ENGINE=${{ matrix.store }} \ CI=true \ - mage integrationtest:all -gotestflags="-coverprofile=coverage.txt" + mage integrationtest:all -gotestflags="-json -coverprofile=coverage.txt" \ + | tee management-integration-test-events.jsonl \ + | go run ./tools/gotestsummary + + - name: Upload raw test events + if: failure() + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1 + with: + name: management-integration-test-events-${{ matrix.store }} + path: management-integration-test-events.jsonl + if-no-files-found: ignore + retention-days: 14 - name: Upload coverage reports to Codecov if: matrix.arch == 'amd64'