feat: Add GitHub Actions failure formatter#568
Open
abhinav wants to merge 1 commit into
Open
Conversation
Large test suites can overload GitHub Actions logs, slowing down log browsing in the UI. Add `github-actions-fails` as a quieter formatter that keeps package progress visible while only expanding failed test diagnostics. Package-level failures still promote buffered package output so TestMain and init failures keep their error context. Naming: this is called github-actions-fails to mirror the precedent set by pkgname-and-test-fails. Resolves gotestyourself#543
Author
|
This change is part of the following stack: Change managed by git-spice. |
Author
|
I see there's also #558 implementing a similar feature. |
abhinav
added a commit
to abhinav/git-spice
that referenced
this pull request
May 23, 2026
gotestsum's github-actions formatter writes grouped output for all tests across all packages to the logs. This ends up really slowing down GitHub Actions log browser because of the sheer volume of output. Switch to the github-actions-fails formatter implemented in gotestyourself/gotestsum#568 to fix this. [skip changelog]: no user facing changes
abhinav
added a commit
to abhinav/git-spice
that referenced
this pull request
May 23, 2026
gotestsum's github-actions formatter writes grouped output for all tests across all packages to the logs. This ends up really slowing down GitHub Actions log browser because of the sheer volume of output. Switch to the github-actions-fails formatter implemented in gotestyourself/gotestsum#568 to fix this. [skip changelog]: no user facing changes
abhinav
added a commit
to abhinav/git-spice
that referenced
this pull request
May 24, 2026
gotestsum's github-actions formatter writes grouped output for all tests across all packages to the logs. This ends up really slowing down GitHub Actions log browser because of the sheer volume of output. Switch to the github-actions-fails formatter implemented in gotestyourself/gotestsum#568 to fix this.
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.
Large test suites can overload GitHub Actions logs,
slowing down log browsing in the UI.
Add
github-actions-failsas a quieter formatterthat keeps package progress visible
while only expanding failed test diagnostics.
Package-level failures still promote buffered package output so
TestMain and init failures keep their error context.
Naming: this is called github-actions-fails to mirror
the precedent set by pkgname-and-test-fails.
Resolves #543