Repository navigation
What's new
--source DIR: test a local fix against the failing CI step before pushing. FailTrace uses your working tree (HEAD plus uncommitted and untracked files, minus ignored ones) instead of the commit CI tested. Your tree is only read.- Exit codes per verdict:
reproexits 0 when the step passes locally, 2 reproduced, 3 different failure, 4 diverged, 5 flaky, and 1 on errors. Scripts and coding agents can loop on it without parsing output.
Behaviour change: in v0.1.0 repro exited 0 for every verdict. A reproduced failure now exits 2, so failtrace repro ... && ... stops after a reproduction.
Changelog
Install: curl -fsSL https://raw.githubusercontent.com/Ri4dH/failtrace/main/scripts/install.sh | sh
or go install github.com/Ri4dH/failtrace/cmd/failtrace@v0.2.0