Repository navigation
ci: add comprehensive PR quality gates - #47
Merged
Merged
Conversation
- add targeted contract and validation tests for survivor clusters - reject bool-valued schema versions and heartbeat counters - verify locally with ruff, pytest, 100% branch coverage, and 95.01% mutation score
Raise the PR size changed-line cap from 8000 to 10000 so this comprehensive quality-gates PR remains reviewable without weakening mutation, coverage, duplicate-code, or security gates.
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.
Adds explicit PR quality gates for:\n\n- Test\n- Line Coverage\n- Branch Coverage\n- Mutation Score\n- Ruff Check\n- Ruff Format\n- Strict Type Check\n- Duplicate Code\n- Complexity\n- Dead Code\n- Bandit\n- Pip Audit\n- Secret Scan\n- Test Integrity\n- Dependency Review\n- Build Install\n\nGitHub verification on the latest run: every quick gate is passing. Mutation Score is expected to be the remaining blocker because local full-repo mutmut reported 83.15% killed against the new >=95% threshold.\n\nLocal verification:\n- pytest + branch coverage: 249 passed, 63 subtests, 100% line/branch coverage\n- ruff check/format: pass\n- mypy --strict src scripts: pass\n- jscpd duplicate code: 0 clones\n- radon/vulture/bandit/pip-audit/test-integrity/dependency-review: pass\n- gitleaks local scan: no leaks found\n- package build/install smoke: pass\n- mutmut: 83.15%, below required 95%