You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rtk pipe -f go-test reduces a go test -json -bench stream to test counts and drops the benchmark lines.
Go 1.24.6, go test -json -v=false -bench . -benchtime 10x ./benchok (one passing test, one benchmark that calls b.Log), piped to rtk pipe -f go-test:
Go test: No tests found
The stream contains BenchmarkX-24 10 1389 ns/op in its output events. With the default chatty JSON (Go 1.27.1, same command without -v=false) the output is Go test: 1 passed in 1 packages and the ns/op line is dropped as well.
Same output on v1.0.1 and on develop 6c2313a. #1445 fixed this for rtk go test, which no longer injects -json for -bench runs; the pipe path still goes through the test-count reducer.
rtk pipe -f go-test still routes -bench output through the test-count reducer, dropping benchmark lines; related fix in #1445 only covered rtk go test.
This looks like a simple fix that could be auto-resolved. Repo maintainers can use /wshm fix to attempt it.
Activity
rtk-wshm-sync-bot commentedon Oct 30, 2026
🔍 Automated Triage
bugmediumSummary
rtk pipe -f go-test still routes -bench output through the test-count reducer, dropping benchmark lines; related fix in #1445 only covered rtk go test.
📁 Relevant files
src/pipe/go_test.rsSuggested Actions
go test -json -benchoutput throughrtk pipe -f go-testTriaged automatically by wshm · This is an automated analysis, not a human review.
fix(go): keep repeated benchmark samples in go-test filter