Repository navigation
Conversation
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
force-pushed
the
claude/replace-gotestfmt-with-tparse
branch
from
November 19, 2026 15:53
8984576 to
3a32f78
Compare
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace gotestfmt with tparse v0.18.0 in both jobs of the Test workflow (
testand thee2eemulator 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
-progressprinting one line per package as it finishes.2>&1is 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, andpipefailstays.The install is pinned to the
v0.18.0tag rather than a commit SHA as gotestfmt was. Thee2ematrix line thatTestWorkflowRunsEveryEmulatorTestreads is unchanged.Same change as https://github.com/livekit/agent-gateway/pull/2082.
Verified: the workflow YAML parses,
git grep -i gotestfmtreturns nothing, andTestWorkflowRunsEveryEmulatorTestpasses through the newgo test -json … | tparse -progresspipe with exit 0, thego: downloadingstderr lines staying out of the stream.Generated by Claude Code