Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

flaky-triage

/flaky-triage

Znajduje niestabilne testy w ostatnich przebiegach i poddaje je kwarantannie, by przestały produkować fałszywe zgłoszenia błędów.

Licencja
MIT
Ostatnia zmiana repozytorium
18.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
53
Skrypty
4
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 18.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 4 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: __fixtures__/changed-during-window/test-cases/demo/steps-edited.steps.ts, __fixtures__/changed-during-window/test-cases/demo/untouched.steps.ts, flaky.mjs, flaky.test.mjs

Co robi i kiedy

Znajduje niestabilne testy w ostatnich przebiegach i poddaje je kwarantannie, by przestały produkować fałszywe zgłoszenia błędów.

Wyzwalacze z opisu

flakyfind flaky teststriage flakyquarantine
Oryginalny opis (EN)

WAY 13 — find flaky tests across recent runs and quarantine them so they stop producing false bug reports. Use when the user says "flaky", "find flaky tests", "triage flaky", "quarantine", or after repeated unexplained failures.

Jak działa

  1. Phase 1: Aggregate
  2. Phase 2: Judge (don't just trust the flip rate)
  3. Phase 3: Quarantine (with the user's approval, per test)
  4. Phase 4: Report
Sekcje z nagłówków SKILL.md, w oryginale · 32 linii, 313 słów
Podgląd SKILL.md
---
name: flaky-triage
description: WAY 13 — find flaky tests across recent runs and quarantine them so they stop producing false bug reports. Use when the user says "flaky", "find flaky tests", "triage flaky", "quarantine", or after repeated unexplained failures.
---

# WAY 13 — Flaky Test Triage

## Phase 1: Aggregate
From the directory containing `playwright.config.ts` (normally `qa-artifacts/`):

```bash
node "${CLAUDE_PLUGIN_ROOT}/.claude/skills/flaky-triage/flaky.mjs" runs <window=10> .
```

The script reads the last N `runs/*/results.json` and prints, per scenario: its outcome history, flips, flip rate, a verdict (`flaky` | `consistent-fail` | `stable-pass` | `insufficient-data`), `changedDuringWindow` (the `.feature`/`.steps.ts` changed after the window started), and `unquarantine` (a quarantined test with 10 straight passes). Outcomes that say nothing about stability are excluded from the counts: `no-baseline` (first visual run) and `network`.

If there are fewer than 3 runs, say so and suggest scheduling `e2e-session` runs (or `ci-test-setup`) first.

## Phase 2: Judge (don't just trust the flip rate)

For each `flaky` scenario, read the error messages in its history:
- **Same error each time it fails** (timing, a race, animation) → real flakiness. Propose quarantine
- **Different errors** → the app or data was changing between runs, not flakiness. Leave it alone
- **`changedDuringWindow: true`** → the flips may be your own edits. Re-run triage after a few stable runs
- **`consistent-fail`** isn't flaky. It's a real failure: point to `e2e-session`/`bug-report`

## Phase 3: Quarantine (with the user's approval, per test)
1. Add `@quarantine` to the scenario's tag line in its `.feature` (keep the watermark header)
2. File an issue labeled `flaky-test` (`issue.create`) with the history table, the suspected cause, and a fix suggestion (a wait-for condition instead of a timeout, test data isolation, disabling animations). This is a **test** issue, not a product bug
3. Quarantined tests keep running. Callers just don't file bugs for them (`quarantined: true` in results), so triage can see when they stabilize

**Unquarantine:** for every `unquarantine: true` scenario, propose removing the tag and closing its `flaky-test` issue.

## Phase 4: Report
Save `./qa-artifacts/sessions/flaky-<YYYY-MM-DD>.md` (with the watermark footer): a table of scenario · history · flip rate · verdict · action, plus the totals.
Pliki w paczce (53)
  • SKILL.md 2 KB
  • flaky.mjs 4 KB
  • flaky.test.mjs 6 KB
  • __fixtures__/changed-during-window/runs/2026-10-01T08-00-00/results.json 1 KB
  • __fixtures__/changed-during-window/runs/2026-10-02T08-00-00/results.json 1 KB
  • __fixtures__/changed-during-window/runs/2026-10-03T08-00-00/results.json 1 KB
  • __fixtures__/changed-during-window/test-cases/demo/feature-edited.feature 1 KB
  • __fixtures__/changed-during-window/test-cases/demo/steps-edited.feature 1 KB
  • __fixtures__/changed-during-window/test-cases/demo/steps-edited.steps.ts 1 KB
  • __fixtures__/changed-during-window/test-cases/demo/untouched.feature 1 KB
  • __fixtures__/changed-during-window/test-cases/demo/untouched.steps.ts 1 KB
  • __fixtures__/consistent-fail/runs/2026-10-01T08-00-00/results.json 1 KB
  • __fixtures__/consistent-fail/runs/2026-10-02T08-00-00/results.json 1 KB
  • __fixtures__/consistent-fail/runs/2026-10-03T08-00-00/results.json 1 KB
  • __fixtures__/consistent-fail/runs/2026-10-04T08-00-00/results.json 1 KB
  • __fixtures__/flaky/runs/2026-10-01T08-00-00/results.json 1 KB
  • __fixtures__/flaky/runs/2026-10-02T08-00-00/results.json 1 KB
  • __fixtures__/flaky/runs/2026-10-03T08-00-00/results.json 1 KB
  • __fixtures__/flip-rate/runs/2026-10-01T08-00-00/results.json 1 KB
  • __fixtures__/flip-rate/runs/2026-10-02T08-00-00/results.json 1 KB
  • __fixtures__/flip-rate/runs/2026-10-03T08-00-00/results.json 1 KB
  • __fixtures__/flip-rate/runs/2026-10-04T08-00-00/results.json 1 KB
  • __fixtures__/insufficient-data/runs/2026-10-01T08-00-00/results.json 1 KB
  • __fixtures__/insufficient-data/runs/2026-10-02T08-00-00/results.json 1 KB
  • __fixtures__/insufficient-data/runs/2026-10-03T08-00-00/results.json 1 KB
  • __fixtures__/malformed/runs/2026-10-01T08-00-00/results.json 1 KB
  • __fixtures__/network/runs/2026-10-01T08-00-00/results.json 1 KB
  • __fixtures__/network/runs/2026-10-02T08-00-00/results.json 1 KB
  • __fixtures__/network/runs/2026-10-03T08-00-00/results.json 1 KB
  • __fixtures__/network/runs/2026-10-04T08-00-00/results.json 1 KB
  • __fixtures__/no-baseline/runs/2026-10-01T08-00-00/results.json 1 KB
  • __fixtures__/no-baseline/runs/2026-10-02T08-00-00/results.json 1 KB
  • __fixtures__/no-baseline/runs/2026-10-03T08-00-00/results.json 1 KB
  • __fixtures__/no-baseline/runs/2026-10-04T08-00-00/results.json 1 KB
  • __fixtures__/stable-pass/runs/2026-10-01T08-00-00/results.json 1 KB
  • __fixtures__/stable-pass/runs/2026-10-02T08-00-00/results.json 1 KB
  • __fixtures__/stable-pass/runs/2026-10-03T08-00-00/results.json 1 KB
  • __fixtures__/stable-pass/runs/2026-10-04T08-00-00/results.json 1 KB
  • __fixtures__/unquarantine/runs/2026-10-01T08-00-00/results.json 1 KB
  • __fixtures__/unquarantine/runs/2026-10-02T08-00-00/results.json 2 KB
  • __fixtures__/unquarantine/runs/2026-10-03T08-00-00/results.json 2 KB
  • __fixtures__/unquarantine/runs/2026-10-04T08-00-00/results.json 2 KB
  • __fixtures__/unquarantine/runs/2026-10-05T08-00-00/results.json 2 KB
  • __fixtures__/unquarantine/runs/2026-10-06T08-00-00/results.json 2 KB
  • __fixtures__/unquarantine/runs/2026-10-07T08-00-00/results.json 2 KB
  • __fixtures__/unquarantine/runs/2026-10-08T08-00-00/results.json 2 KB
  • __fixtures__/unquarantine/runs/2026-10-09T08-00-00/results.json 2 KB
  • __fixtures__/unquarantine/runs/2026-10-10T08-00-00/results.json 2 KB
  • __fixtures__/window/runs/run-a/results.json 1 KB
  • __fixtures__/window/runs/run-b/results.json 1 KB
  • __fixtures__/window/runs/run-c/results.json 1 KB
  • __fixtures__/window/runs/run-d/results.json 1 KB
  • __fixtures__/window/runs/run-e/results.json 1 KB

Wersje

W bazie nie ma innych skilli o nazwie flaky-triage.

Migawka bazy z 13.11.2026 · wersja paczki 8e09de301ef8 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100flaky-test-management
    Pomaga wykrywać, triażować, szukać przyczyn, poddawać kwarantannie i eliminować niestabilne testy, w tym strategię ponowień i testy przechodzące lokalnie, ale padające w CI.
  • 100pipeline-failure-triage-and-recovery
    Diagnozuje i naprawia nieudane lub niestabilne przebiegi CI: odróżnia prawdziwą regresję od flaky, dobiera strategię ponownego uruchomienia, czyści cache i poddaje kwarantannie potwierdzone flaky testy.
  • 90trunk-quarantine
    Bada czerwony przebieg CI, diagnozuje test podejrzany o niestabilność i poddaje go kwarantannie przez serwer Trunk.
  • 90quality-engineering-flaky-triage
    Poddaje kwarantannie sporadycznie padający test z ticketem, właścicielem i terminem, przypisuje kategorię przyczyny na podstawie izolowanych powtórzeń i określa warunki wyjścia z kwarantanny.
  • 100qa-flaky-test-hunter
    Diagnozuje niestabilne testy: klasyfikuje przyczynę jako czasową, kolejnościową, zasobową lub zewnętrzną, izoluje je i opisuje plan naprawy.
  • 100fix-flaky
    Triażuje i naprawia niestabilne testy w projekcie Semaphore: wskazuje najgorsze przypadki, diagnozuje przyczynę, pisze poprawkę lub uzasadnioną kwarantannę i weryfikuje ponownym uruchomieniem.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.