Improve reliability of Coverage reporting on CI#1337
Conversation
📝 WalkthroughWalkthroughThis PR refactors CI coverage reporting by replacing pytest-cov plugin integration with explicit coverage.py invocations. Coverage data is now collected separately for serial and xdist test modes, combined per mode, and exported to distinct XML files for Codecov upload. Local pytest configurations no longer use the ChangesCoverage reporting refactoring
🎯 2 (Simple) | ⏱️ ~12 minutes
🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
newsfragments/+4ed991c2.misc.rst (1)
1-1: 💤 Low valueConsider using the PR number instead of orphan format.
The PR objectives specify using the PR number (1337) for the newsfragment filename. Whilst the orphan format
+[hash].[type].rstis acceptable when no dedicated issue exists, the objectives state: "issue_number should be taken from the issue tracker or the pull request number." Consider renaming to1337.misc.rstto align with the stated convention.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@newsfragments/`+4ed991c2.misc.rst at line 1, The newsfragment filename uses the orphan/hash format (+4ed991c2.misc.rst); rename this file to use the pull request number as specified (e.g., 1337.misc.rst) so the issue_number is taken from the PR instead of the orphan format; update any references to +4ed991c2.misc.rst in the repo or changelog tooling to the new 1337.misc.rst name.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@newsfragments/`+4ed991c2.misc.rst:
- Line 1: The newsfragment filename uses the orphan/hash format
(+4ed991c2.misc.rst); rename this file to use the pull request number as
specified (e.g., 1337.misc.rst) so the issue_number is taken from the PR instead
of the orphan format; update any references to +4ed991c2.misc.rst in the repo or
changelog tooling to the new 1337.misc.rst name.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 418b5556-7165-44a5-b2eb-b59139035e60
📒 Files selected for processing (9)
.coveragerc.github/workflows/dockerised-postgres.yml.github/workflows/oldest-postgres.yml.github/workflows/single-postgres-windows.yml.github/workflows/single-postgres.ymlPipfilenewsfragments/+4ed991c2.misc.rstpyproject.oldest.tomlpyproject.toml
Chore that needs to be done:
pipenv run towncrier create [issue_number].[type].rstTypes are defined in the pyproject.toml, issue_number either from issue tracker or the Pull request number
Summary by CodeRabbit