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
{{ message }}
Repository navigation
rtk go test: a failing fuzz run drops the failing-input path and the re-run command #4434
When a fuzz target fails, go test -json reports where the failing input was saved and how to re-run it:
Failing input written to testdata/fuzz/FuzzRev/f7d774048ada30d0
To re-run:
go test -run=FuzzRev/f7d774048ada30d0
rtk go test prints only the assertion line:
Go test: 1 passed, 1 failed in 1 packages
foo (1 passed, 1 failed)
[FAIL] FuzzRev
foo_test.go:18: not involutive
[full output: ~/.local/share/rtk/tee/..._go_test.log]
Neither the corpus path nor the re-run command appears; both are in the tee log. select_go_test_failure_lines in src/cmds/go/go_cmd.rs keeps .go:N locations and lines with failure keywords, and these two lines match neither. Reproduced on develop 7efbaef (rtk 0.49.0, Go 1.26.1) with rtk go test -fuzz=FuzzRev -fuzztime=4s ./foo on a fuzz target whose property fails; the output is the same with and without #1444.
Activity
rtk-wshm-sync-bot commentedon Oct 3, 2026
🔍 Automated Triage
buglowSummary
select_go_test_failure_linesin go_cmd.rs drops the fuzz corpus path and re-run command when filtering fuzz test failure output.📁 Relevant files
src/cmds/go/go_cmd.rsSuggested Actions
select_go_test_failure_linesin src/cmds/go/go_cmd.rs to retain 'Failing input written to' and 'To re-run:' li…go testoutput as "No tests found" #4418, rtk go test -C DIR fails: -json is injected before -C #4362 for shared root cause in the same fileTriaged automatically by wshm · This is an automated analysis, not a human review.