What problem does it solve?
Stale pull request CI failures pile up and waste maintainer time: some are transient infrastructure flakes worth rerunning, some are genuine regressions caused by the PR, and some are too ambiguous to act on. This Skill triages a bounded batch of failed CI runs and picks the safest response for each.
Core Features & Use Cases
- Failure Classification: Reads
ci-flaky-input.json and assigns each candidate exactly one action: rerun, comment, or no_action, with a confidence level and bilingual (English/Chinese) reasons.
- Flaky Test Detection: When a rerun is caused by a nondeterministic test, it emits a
flakyTest object with the exact failing file and test title so a deflake fix can be opened; infrastructure flakes get a plain rerun.
- Safety-First Design: Treats CI logs as untrusted data, never follows instructions found in logs, caps actions per PR head, and writes only
ci-flaky-decisions.json.
- Use Case: A maintainer runs the patrol over 20 stale PRs with failing checks; the Skill outputs structured JSON decisions so the driver can rerun flaky jobs, comment on real regressions, and skip ambiguous cases.
Quick Start
Classify the CI failures listed in ci-flaky-input.json and write your decisions to ci-flaky-decisions.json.