Skip to content

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

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

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

Conversation

@MichaelTaylor3d

Copy link
Copy Markdown
Contributor

Summary

  • CI test job: cargo test -> cargo nextest run --all --retries 2 (flaky tests retried + surfaced, not silently failing).
  • Coverage job: switched to the combined cargo llvm-cov nextest --all --retries 2 --fail-under-lines 80 form so retries and the >=80% line-coverage gate run against the same collected run (the split nextest-run + separate llvm-cov form collects zero coverage and fails the gate — the bug in the first-pass PRs, #488).
  • publish.yml (tag-triggered): removed the redundant gate job that re-ran fmt/clippy/full-test/coverage on every tag push. The merged tree already passed the ci.yml gate on its PR; the tag-triggered workflow is now build + package + publish only (#488 release-blocker).
  • Version bump: patch, 0.1.0 -> 0.1.1 (Cargo.toml + Cargo.lock), ci-only change, no behavior change to the crate.

Stack: Rust (cargo workspace), CI-only change; no library code touched.

Test plan

  • CI green on this PR (fmt, clippy, nextest test job, nextest+llvm-cov coverage job, commitlint, version-increment gate)
  • Manual read-through: publish.yml still builds/packages/publishes on tag push with no test re-run

Refs #489, #488

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

Switch the CI test steps to cargo-nextest (--retries 2) so a flaky
test is retried and surfaced instead of silently failing the build.
The coverage job uses the combined `cargo llvm-cov nextest` form so
retries + the >=80% line-coverage gate both still run against the
same collected data (the split nextest-run + llvm-cov form silently
collects zero coverage, the bug in the first-pass PRs).

Also drop the redundant full test/coverage re-run from the tag-driven
publish workflow (#488): the merged tree already passed the ci.yml
gate on its PR, so the tag-triggered job is build + package + publish
only.

Co-Authored-By: Claude <noreply@anthropic.com>
@MichaelTaylor3d MichaelTaylor3d merged commit 6c43f1c into main Jul 12, 2026
8 checks passed
@MichaelTaylor3d MichaelTaylor3d deleted the ci/flaky-test-management branch July 12, 2026 22:08
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