[claude] Poka-yoke: make test skips/flakes impossible to ignore (#1094) #1104

Merged
claude merged 1 commits from claude/issue-1094 into main 2026-04-07 14:38:50 +00:00

1 Commits

Author SHA1 Message Date
Alexander Whitestone
8c54ba4d34 feat(poka-yoke): make test skips/flakes impossible to ignore
Some checks failed
CI / test (pull_request) Failing after 6s
CI / validate (pull_request) Failing after 16s
- conftest.py: enforce that @pytest.mark.skip requires an issue link in
  the reason string; bare skips are converted to failures at report time.
  Env-var-gated skipif conditions and quarantine-marked tests are exempt.
- pytest.ini: add --strict-markers and centralise asyncio/testpaths config.
- scripts/flake_detector.py: rolling JSON history + 95% consistency check;
  exits non-zero when flaky tests are detected so CI can gate on it.
- tests/quarantine/: holding area for quarantined tests with README.
- docs/QUARANTINE_PROCESS.md: Prevention→Detection→Correction workflow
  documenting when/how to quarantine, escalation (30-day rule), and
  un-quarantine steps.

Fixes #1094

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 10:37:47 -04:00