Skip to content

ci: replace gotestfmt with tparse v0.18.0 - #72

Open
dennwc wants to merge 2 commits into
mainfrom
claude/replace-gotestfmt-with-tparse
Open

dennwc wants to merge 2 commits into
mainfrom
claude/replace-gotestfmt-with-tparse

Conversation

@dennwc

@dennwc dennwc commented Nov 19, 2026

Copy link
Copy Markdown

Replace gotestfmt with tparse v0.18.0 in both jobs of the Test workflow (test and the e2e emulator matrix).

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, with -progress printing one line per package as it finishes.

2>&1 is removed from all three test pipes: tparse rejects the whole stream if a non-JSON line follows the first JSON event. stderr (module downloads, for example) now goes straight to the job log. Since Go 1.24, build errors come through as JSON events, so they still reach tparse. tparse exits 1 on any failure, and pipefail stays.

The install is pinned to the v0.18.0 tag rather than a commit SHA as gotestfmt was. The e2e matrix line that TestWorkflowRunsEveryEmulatorTest reads is unchanged.

Same change as https://github.com/livekit/agent-gateway/pull/2082.

Verified: the workflow YAML parses, git grep -i gotestfmt returns nothing, and TestWorkflowRunsEveryEmulatorTest passes through the new go test -json … | tparse -progress pipe with exit 0, the go: downloading stderr lines staying out of the stream.


Generated by Claude Code

@CLAassistant

CLAassistant commented Nov 19, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1stDkLA73F1pW3QWkhNVT
@dennwc
dennwc force-pushed the claude/replace-gotestfmt-with-tparse branch from 8984576 to 3a32f78 Compare November 19, 2026 15:53
@dennwc
dennwc requested a review from a team November 19, 2026 16:00
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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1stDkLA73F1pW3QWkhNVT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants