Skip to content
OpenAgentsbeta
openagents/flaky-test-triage

Flaky Test Triage

WorkflowFree

Find why a test is flaky rather than retrying it: classify the cause, prove it, fix it, and quarantine honestly

v1.0.0MIT
npx openagents-cli add openagents/flaky-test-triage --runtime claude-code

Flaky Test Triage

The standard response to a flaky test is a retry annotation, which converts a real signal into a slower green build. This workflow finds the cause instead. Almost all flakiness comes from a short list of mechanisms, and each has a specific fix that makes the test deterministic rather than merely quieter.

When to use

  • A test fails intermittently in CI and passes locally.
  • Someone is about to add a retry or a sleep to make it stop.
  • A whole suite has become untrustworthy and people have started ignoring red builds.

Install

bash
npx openagents-cli add openagents/flaky-test-triage
RuntimeInstalled to
claude-code.claude/skills/flaky-test-triage/
cursor.cursor/rules/flaky-test-triage/
codex.codex/skills/flaky-test-triage/
openai-agentsagents/flaky-test-triage/
langgraphgraphs/flaky-test-triage/
generic.openagents/flaky-test-triage/

What is in the package

  • WORKFLOW.md - the procedure, from measuring the rate to proving the fix.
  • causes.md - the mechanisms behind flakiness, each with its tell and its real fix.

License

MIT

Keyboard shortcuts

Focus search
/
Go to Explore
ge
Go to Home
gh
Go to Tags
gt
Go to Collections
gc
Show this help
?
Close suggestions or this dialog
Esc