Add pre-push coverage regression check
Open
- Dominant language
- Rust
- Stars
- 31.2k
- Forks
- 3.2k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 72
Description
Add a `pre-push` hook that runs `just test --coverage` locally and fails if any stack's line coverage drops below the current `main` baseline (tolerance: 0.1%).
Depends on #1 (Codecov) to provide a queryable source of the `main` baseline without requiring contributors to set anything up manually.
Contributor guide
Research direction
Start by examining how the repository defines pre-push hooks and how `just test --coverage` reports line coverage for each stack. Investigate dependency #1 and Codecov's queryable `main` baseline, then verify that the hook applies the 0.1% tolerance and fails when any stack regresses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, rust
- Domain
- developer-experience, testing, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100