stardustlc666/dsh-flakefinder

Test stability: flaky_detect/history/quarantine/clear/report/health, repeated runs to identify flaky use cases, isolation list and history, self-test python/pytest, zero runtime dependencies

Test-stability tools that tell agents the difference between broken code and a flaky test: flaky_detect repeats a suite N times (default 5, max 20) and classifies stable-pass / stable-fail / flaky; flaky_history queries detection history; flaky_report combines the quarantine manifest and history; flaky_quarantine writes flaky cases to .flakefinder.json (approval-gated); flaky_clear removes recovered cases. Framework auto-detection vitest → jest → pytest → node:test, with JUnit XML entity decoding and TAP SKIP handling. The quarantine manifest only records — it never modifies test source.

Coding & Development ★ 2 updated 2026-08-27 — untested
View on GitHub ↗

Install

dsh plugin --profile web add dsh-flakefinder

dsh plugin --profile web add dsh-flakefinder (npm dsh-flakefinder 0.3.0, verified on npm 2026-08-29). Supports vitest / jest / pytest / node:test with auto-detection. Verified against @deepseek-ai/dsh@0.1.1-rc.2 (2026-08-26). English README.en.md + 简体中文 primary.

Compatibility

DSH 0.1.1-rc.2+; Node >= 20; vitest/jest/pytest/node:test; zero runtime deps.

Details

Recent updates

Flaky detection across vitest/jest/pytest/node:test; history + report; approval-gated quarantine manifest; configurable runs/timeouts; read-only on test source.

FAQ

Which test frameworks are supported?
vitest, jest, pytest (setup.cfg / pyproject / pytest.ini / tox.ini detection) and node:test, auto-detected in that order.
Does it modify my tests?
No — the quarantine manifest only records; the agent should consult flaky_report before running tests.
How are writes gated?
Quarantine and clear operations go through the approval gate (writeApproval: true by default).

Alternatives

stardustlc666/dsh-codex-port · Rianico/dsh-better-edit · mnemon-dev/mnemon

More plugins in Coding & Development

Browse more in Coding & Development

Guides for Coding & Development plugins