Skip to content

Releases: CaseReed/latch

v0.1.0 — merge-gate triage for red CI

Choose a tag to compare

@CaseReed CaseReed released this 18 Sep 22:40

Merge-gate triage for a red test run: cluster the failures, let TypeSafe Jev label the cause, and return one verdict — Gate: PASS (infra noise) or Gate: BLOCK (a real failure).

Highlights

  • Playwright reporter, read-only, never fails the test run.
  • Any runner via JUnit XML: Playwright, Jest, pytest, Go.
  • A verdict, not a dashboard: latch <file> --gate exits non-zero when a real failure blocks.
  • Failure ledger: [seen xN, flake P%], suppression of known noise, per-signature judgment cache (a known cluster costs no API call).
  • No silent ignores: ignore_as_infra requires an explicit network fingerprint.
  • Calibrated thresholds (npm run calibrate): the verdict does not flip on model noise.

Try it

npm install && npm run demo     # offline, no key, ~10 seconds

Honest limits

Grouping is message-based, so a logic regression whose tests fail with different messages fragments into separate clusters. The 70 -> 1 figure is an infra-cascade property, not a general one. See experiments/click-real.

MIT licensed.