PatchRail

Local-first CI failure
triage for open-source
maintainers.

PatchRail is an open-source CLI that reads a failing CI log and tells you which of 31 failure classes you are looking at — the signature that matched, a first diagnosis step, and a fix strategy. Local rules, secrets redacted, fully offline. Apache-2.0.

★ Star on GitHubpipx install patchrail

Free and open source. No account, no telemetry, and your logs never leave your machine.

How it works

1

Feed it the log

Point patchrail at a raw CI log from any provider. Tokens, credentialed URLs, and obvious secrets are redacted before anything else happens.

2

Get the class

The log is matched against 31 failure classes by their literal log signatures, with local rules — no network calls, no account, no telemetry.

3

Fix with the playbook

Every class points at a step-by-step fix guide: what the signature means, the first diagnosis step, and the fix strategy. All 31 guides are free.