Repository navigation
ci: publish per-service coverage table with a 40% floor - #2663
Merged
Merged
Conversation
4 of 5 tasks
Contributor
📊 Code Quality Report
📈 Quality Gates✅ Passed: All checks completed successfully 🔧 How to FixRun locally before pushing: make pre-commit-setup # Install pre-commit hooks
make lint # Run all linters
make test-bats # Run shell script tests
pytest --cov=. --cov-report=term-missing # Check coverageSee Code Quality Standards for more details. |
…ttpx Nine services had no coverage result: eight ran on an unsupported interpreter, one had conflicting dependency pins. See docs/ai-sdlc/coverage-services-python/plan.md. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
New python-service-coverage job in code-quality.yml. Stacked on the Python 3.13 fix for scripts/coverage-services.sh. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
paruff
force-pushed
the
ci/coverage-services
branch
from
December 5, 2026 08:42
1162847 to
2213ec4
Compare
Contributor
Contributor
📊 Code Quality Report
📈 Quality Gates✅ Passed: All checks completed successfully 🔧 How to FixRun locally before pushing: make pre-commit-setup # Install pre-commit hooks
make lint # Run all linters
make test-bats # Run shell script tests
pytest --cov=. --cov-report=term-missing # Check coverageSee Code Quality Standards for more details. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
New
python-service-coveragejob incode-quality.yml. Runsscripts/coverage-services.sh(each service's own tests, Python 3.13) and publishes one coverage row per service to the job summary plus aservice-coverageartifact.FAIL_UNDER=40is a per-service floor: the lowest service today is smart-alerting at 42%, so it passes now and stops regressions. A service whose tests cannot run fails the job.Why: the existing 80% gate runs
pytest --cov=. tests/unit/, which measures 9 statements, so it says little about the product.Stacked on #2662
This branch includes the #2662 commit (script pinned to Python 3.13, experimentation httpx pin). Merge #2662 first; the diff here then reduces to the workflow change.
Layers
.github/workflows/code-quality.ymlonly (maintainer-approved).uvis installed with an exact pip pin (uv==0.11.23, ADR-034) instead of a new third-party action.Test plan
Follow-ups
Raise
FAIL_UNDERas services improve; add the job toquality-summaryonce stable.AI-generated; human review requested.
🤖 Generated with Claude Code