Skip to content

ci: add flaky-test management (#489)#2

Merged
MichaelTaylor3d merged 1 commit into
mainfrom
ci/flaky-test-management
Jul 12, 2026
Merged

ci: add flaky-test management (#489)#2
MichaelTaylor3d merged 1 commit into
mainfrom
ci/flaky-test-management

Conversation

@MichaelTaylor3d

Copy link
Copy Markdown
Contributor

Summary

Stack detected: JS/TS (Vitest + RTL + Playwright, no ESLint config, no Rust).

Pieces applied:

  • Vitest: retry: 2 in test config — a flaky unit/component test retries instead of hard-failing CI.
  • Playwright: retries bumped 1 -> 2 in CI — surfaces flaky e2e/a11y runs.
  • eslint-plugin-testing-library: N/A — this repo has no ESLint setup at all (no config, no eslint devDependency), so the RTL lint rules have nothing to attach to; skipped rather than bootstrapping a new lint pipeline as a side effect of this ticket.
  • Deploy/release workflow: removed the npm run typecheck + npm run coverage re-run from publish-npm.yml (tag-triggered). Deploy now only does npm ci + npm run build + publish — the PR's own CI gates (ci.yml: typecheck, coverage ≥80%, e2e+axe) already verified the exact merged tree before the tag existed. Matches #488 (a release-blocking failure was a flaky re-run of tests that had already passed on the PR).
  • release.yml (changelog+tag) does no test re-run — untouched.

Version bumped 0.1.3 -> 0.1.4 (patch, ci: — no public API change).

Test plan

  • CI (ci.yml) green on this PR (typecheck, coverage ≥80%, e2e+a11y) — GitHub Actions validates, not run locally per instructions.
  • publish-npm.yml unaffected until next tag (not exercised by this PR; reviewed by inspection).

#489

Co-Authored-By: Claude noreply@anthropic.com

Vitest retry:2 + Playwright retries:2 (CI) to surface flaky tests
instead of hard-failing on a transient flake. Also drop the
full typecheck+coverage re-run from publish-npm.yml (deploy = build
+ package + publish only) since the PR's CI gates already tested
the exact merged tree (#488 release-blocker).

Co-Authored-By: Claude <noreply@anthropic.com>
@MichaelTaylor3d MichaelTaylor3d merged commit 293da3c into main Jul 12, 2026
8 checks passed
@MichaelTaylor3d MichaelTaylor3d deleted the ci/flaky-test-management branch July 12, 2026 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant