Replace custom coverage script with py-cov-action#1901
Merged
benflexcompute merged 4 commits intoBenY/CentralizedSchemafrom Mar 17, 2026
Merged
Replace custom coverage script with py-cov-action#1901benflexcompute merged 4 commits intoBenY/CentralizedSchemafrom
benflexcompute merged 4 commits intoBenY/CentralizedSchemafrom
Conversation
…-schema) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4e71d333b9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
py-cov-action runs coverage commands internally that need source files to resolve line numbers. Without checkout, it silently fails. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Without always(), GitHub Actions skips dependent jobs when any upstream matrix combination fails. This prevented coverage comments from appearing when e.g. Python 3.13/Windows failed, even though the 3.10/ubuntu coverage data was successfully uploaded. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
If 3.10/ubuntu fails before uploading, the artifact won't exist. Download step now uses continue-on-error with an id, and the post-comment step only runs on successful download. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

Summary
coverage_summary.py(235 lines) +marocchino/sticky-pull-request-commentwith standardpy-cov-action/python-coverage-comment-action@v3.40[tool.coverage.run] relative_files = truetopyproject.toml(required by py-cov-action).coverageartifact instead of generating XMLTest plan
🤖 Generated with Claude Code
Note
Medium Risk
Modifies CI coverage collection and PR commenting flow; main risk is broken or missing coverage reporting due to artifact/coverage configuration changes.
Overview
Replaces the custom PR coverage reporting pipeline with
py-cov-action/python-coverage-comment-action: the bespoke.github/scripts/coverage_summary.pyand its diff/full markdown generation are removed, and the workflow no longer fetches the base branch or posts viasticky-pull-request-comment.CI now uploads the raw
.coveragefile as an artifact from the coverage test run and adds a separatecoveragejob to download that artifact and post the coverage comment. Adds[tool.coverage.run] relative_files = trueinpyproject.tomlto align file paths for the new action.Written by Cursor Bugbot for commit 361fadc. This will update automatically on new commits. Configure here.