Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Nov 04:20

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: repro exits 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

  • e87b363: Add --source and per-verdict exit codes to repro (@Ri4dH)

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