Skip to content
OpenAgentsbeta
text
1# Flaky Test Triage
2
3The standard response to a flaky test is a retry annotation, which converts a real
4signal into a slower green build. This workflow finds the cause instead. Almost all
5flakiness comes from a short list of mechanisms, and each has a specific fix that makes
6the test deterministic rather than merely quieter.
7
8## When to use
9
10- A test fails intermittently in CI and passes locally.
11- Someone is about to add a retry or a sleep to make it stop.
12- A whole suite has become untrustworthy and people have started ignoring red builds.
13
14## Install
15
16```bash
17npx openagents-cli add openagents/flaky-test-triage
18```
19
20| Runtime | Installed to |
21|---|---|
22| `claude-code` | `.claude/skills/flaky-test-triage/` |
23| `cursor` | `.cursor/rules/flaky-test-triage/` |
24| `codex` | `.codex/skills/flaky-test-triage/` |
25| `openai-agents` | `agents/flaky-test-triage/` |
26| `langgraph` | `graphs/flaky-test-triage/` |
27| `generic` | `.openagents/flaky-test-triage/` |
28
29## What is in the package
30
31- `WORKFLOW.md` - the procedure, from measuring the rate to proving the fix.
32- `causes.md` - the mechanisms behind flakiness, each with its tell and its real fix.
33
34## License
35
36MIT
37

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