What problem does it solve?
Flaky tests intermittently fail CI runs and block merges, forcing engineers to manually dig through raw CI logs to distinguish real failures from noise. This Skill uses Trunk's CI Autopilot MCP server to triage failures and quarantine statistically flaky tests.
Core Features & Use Cases
- CI Failure Investigation: Pass a GitHub Actions workflow URL to
investigate-ci-failure to pull Trunk's parsed test results, filter out already-quarantined flaky tests, and surface only real failures.
- Flaky Test Diagnosis: Use
search-test to find a test case ID by fuzzy name, then fix-flaky-test to fetch or trigger an investigation with evidence of flakiness.
- Quarantine Workflow Guidance: Walks through the dashboard-only quarantine action (Quarantine → Always with a required comment), since no MCP tool performs the write.
- Use Case: A PR check is red and you suspect flakiness. Give the workflow URL to the Skill, which identifies the failing test as known-flaky, retrieves its investigation evidence, and directs you to quarantine it in the Trunk dashboard so it stops blocking merges.
Quick Start
Investigate this failing GitHub Actions run and quarantine any flaky tests you find: <workflow URL>.