Repository navigation
docs(ai): let the coverage tool write COVERAGE.md - #1271
Merged
Merged
Conversation
The build MCP coverage tool now always writes COVERAGE.md on a full run and records Covered/Coverable line counts per row, so the ratchet no longer assembles the table by hand. - P3 measures once with project: all / package: all; the tool writes the language's section. - P4 failure restores COVERAGE.md so the branch keeps main's baseline. - P5 commits the file the tool wrote; tool-written sections are never written by hand, Bash or an edit tool. - Committed Coverage File shows the four-column format and explains single-project/package row updates, files without counts and n/a rows. - Coverage runs outside the phase restore COVERAGE.md instead of committing it (Code Tester, dotnet Code Coverage). Closes #1270 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Pre-commit-Timings: total=7s check-identity=0s check-merge-commits=0s check-ignored-files=0s check-funfair-props=0s clean-package-lock-registry=0s pre-commit=7s(check-merge-conflict=0.07s,check-case-conflict=0.12s,check-added-large-files=0.11s,end-of-file-fixer=0.09s,trailing-whitespace=0.06s,mixed-line-ending=0.07s,check-toml=skipped,detect-private-key=0.08s,trufflehog=2.48s,check-executables-have-shebangs=skipped,check-shebang-scripts-are-executable=0.08s,check-json=skipped,check-xml=skipped,check-yaml=skipped,shellcheck=skipped,shellcheck-libraries=skipped,yamllint=skipped,flake8=skipped,markdownlint=0.74s,ansible-lint=2.99s,hadolint=skipped,check-compose-volumes=skipped,check-msbuild-path-separator=skipped,actionlint=skipped,composite-action-lint=skipped,pylint=skipped,stylelint=skipped,dotenv-linter=skipped,eslint=skipped,xmllint=skipped,bats=0.01s,trivy=skipped) check-changelog=skipped check-benchmark-project-names=skipped buildcheck=skipped buildtest=skipped npm-test=skipped tsqllint=skipped sqlfluff=skipped cfn-lint=skipped
Contributor
|
Thanks for opening this pull request! Please make sure you have read the contributing guidelines. |
steward-warden
marked this pull request as ready for review
November 24, 2026 17:41
Collaborator
AI Review Loop: reviewed 20ef281 |
steward-warden
enabled auto-merge
November 24, 2026 17:41
Owner
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
credfeto
approved these changes
Nov 24, 2026
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.
Closes #1270
Summary
The build MCP
coveragetool now always writesCOVERAGE.mdon a run of every project or package, and recordsCoveredandCoverableline counts on each row. The coverage ratchet instructions now let the tool write the file instead of assembling it by hand.coverage-ratchet.instructions.md:project: all(.NET) orpackage: all(Node); the tool writes that language's section.git restore COVERAGE.md, so the branch keeps main's baseline, then P6 as before.coverageReportNotesays why),n/arows count as 0/0. The Overall percentage stays in column 2.COVERAGE.mdrather than commit it.build-nodecoveragetool and adds thecoberturareporter it reads.agent-roles.instructions.md,dotnet.instructions.md,git.instructions.md,index.md: aligned with the above.Python,
n/a (no code)andexcludedsections have no tool that writes them, so Code Writer (docs only) still writes those sections and only those.Testing
write_reportmention remains; every anchor other files link to is kept.🤖 Generated with Claude Code