From 3a32f78aa72ec74ffa1029978cc7f52eca02964e Mon Sep 17 00:00:00 2001 From: Denys Smirnov Date: Thu, 19 Nov 2026 15:53:07 +0000 Subject: [PATCH 1/2] ci: replace gotestfmt with tparse v0.18.0 gotestfmt prints a group per test, so a failure is buried in thousands of lines with no summary. tparse prints the failing test's output and a per-package summary table at the end of the log. stderr is no longer merged into the pipe: tparse rejects the whole stream if a non-JSON line follows the first JSON event. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01S1stDkLA73F1pW3QWkhNVT --- .github/workflows/test.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f8e6d24..74e0850 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -26,8 +26,8 @@ jobs: go.sum e2e/go.sum - - name: Set up gotestfmt - run: go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@9eae5abc81d6d08f73268741ef4a8b97f29b60d8 # v2.4.1 + - name: Set up tparse + run: go install github.com/mfridman/tparse@v0.18.0 - name: Download Go modules run: go mod download && (cd e2e && go mod download) @@ -68,9 +68,11 @@ jobs: - name: Test run: | set -euo pipefail - go test -race -json -v ./... 2>&1 | gotestfmt + # stderr stays out of the pipe: tparse rejects the whole stream if a + # non-JSON line follows the first JSON event. + go test -race -json ./... | tparse -progress (cd objects && go vet ./...) - cd e2e && go test -race -json -v -skip '^Test(Floci|MinIO)' ./... 2>&1 | gotestfmt + cd e2e && go test -race -json -skip '^Test(Floci|MinIO)' ./... | tparse -progress # Every backend end to end against its floci emulator (e2e/floci_test.go), # and S3 against MinIO (e2e/minio_test.go), whose conditional writes are @@ -93,8 +95,8 @@ jobs: go.sum e2e/go.sum - - name: Set up gotestfmt - run: go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@9eae5abc81d6d08f73268741ef4a8b97f29b60d8 # v2.4.1 + - name: Set up tparse + run: go install github.com/mfridman/tparse@v0.18.0 - name: Install MinIO if: matrix.test == 'MinIO' @@ -106,4 +108,6 @@ jobs: working-directory: e2e run: | set -euo pipefail - go test -race -json -v -run '^Test${{ matrix.test }}$' ./... 2>&1 | gotestfmt + # stderr stays out of the pipe: tparse rejects the whole stream if a + # non-JSON line follows the first JSON event. + go test -race -json -run '^Test${{ matrix.test }}$' ./... | tparse -progress From 2bb7f3a96356ac022e5c8ac524306aad65cae669 Mon Sep 17 00:00:00 2001 From: Denys Smirnov Date: Thu, 19 Nov 2026 16:32:57 +0000 Subject: [PATCH 2/2] ci: pin tparse by commit hash Locks the install to the commit the v0.18.0 tag points to, so a moved tag cannot change what CI runs. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01S1stDkLA73F1pW3QWkhNVT --- .github/workflows/test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 74e0850..61b6028 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -27,7 +27,7 @@ jobs: e2e/go.sum - name: Set up tparse - run: go install github.com/mfridman/tparse@v0.18.0 + run: go install github.com/mfridman/tparse@ba2512e7be150bfcbd6f6220d517d3741f8f2f75 # v0.18.0 - name: Download Go modules run: go mod download && (cd e2e && go mod download) @@ -96,7 +96,7 @@ jobs: e2e/go.sum - name: Set up tparse - run: go install github.com/mfridman/tparse@v0.18.0 + run: go install github.com/mfridman/tparse@ba2512e7be150bfcbd6f6220d517d3741f8f2f75 # v0.18.0 - name: Install MinIO if: matrix.test == 'MinIO'