Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

rtk pipe -f go-test drops benchmark results

Open Beginner friendly
#4,862 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
cli

Research direction

Start at the rtk pipe -f go-test handler and trace how it reduces the JSON stream to test counts. Reproduce with the reported go test -json -v=false -bench . -benchtime 10x ./benchok command; done means the benchmark results, including the ns/op line, are retained rather than discarded.

Written by the indexing model from the issue text.

Description

area:cli bug priority:medium

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 6c2313a66. #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.

Dominant language
Rust
Stars
85k
Forks
5.4k
Avg merge
5d 16h
Merged PRs (30d)
59

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rtk-ai/rtk

All issues in rtk-ai/rtk

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.