Repository navigation
lower test coverage threshold - #47
Conversation
PR Summary by QodoLower CI coverage gate from 90% to 80%
AI Description
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1. Weakened CI coverage gate
|
| - name: Run tests with coverage | ||
| run: | | ||
| pytest -q --cov=Algorithms --cov-report=term-missing --cov-fail-under=90 | ||
| pytest -q --cov=Algorithms --cov-report=term-missing --cov-fail-under=80 |
There was a problem hiding this comment.
1. Weakened ci coverage gate 🐞 Bug ☼ Reliability
The CI test job lowers pytest's enforced minimum coverage from 90% to 80% via --cov-fail-under, making it easier for lower-tested changes to pass this workflow. If this workflow is used as a required status check, it directly reduces the test-quality bar for merging; otherwise it still reduces the reliability of CI feedback.
Agent Prompt
## Issue description
The CI workflow's coverage quality gate was reduced from 90% to 80%, which weakens the minimum test coverage enforced by CI.
## Issue Context
This change affects every run of the `test` job in `.github/workflows/cicd.yml`.
## Fix Focus Areas
- .github/workflows/cicd.yml[29-32]
## Expected fix
- Revert `--cov-fail-under` back to `90` (or to the previously agreed standard), and if the lower threshold is temporary, add an explicit tracked plan (e.g., a follow-up PR restoring 90% by a deadline) rather than weakening the gate indefinitely.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
No description provided.