chore: Add non-blocking test coverage advisor for PRs#13148
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughAdds a GitHub Actions workflow that monitors pull requests for source code changes without corresponding test coverage. The workflow detects backend Python and frontend TypeScript/TSX source file modifications, generates advisory messages indicating whether test files are present, and communicates findings via a sticky PR comment using a hidden marker. ChangesTest Coverage Advisor Workflow
🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 9✅ Passed checks (9 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
✅ Test Coverage AdvisorNo source changes detected without accompanying tests. Thanks for keeping coverage up! 🎉
|
|
✅ Migration Validation Passed All migrations follow the Expand-Contract pattern correctly. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release-1.10.0 #13148 +/- ##
==================================================
- Coverage 54.89% 54.44% -0.45%
==================================================
Files 2148 2148
Lines 200569 200569
Branches 28633 30247 +1614
==================================================
- Hits 110097 109196 -901
- Misses 89288 90189 +901
Partials 1184 1184
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
erichare
left a comment
There was a problem hiding this comment.
@Cristhianzl im approving, but im not sure why there's a component index update here when its just the workflow addition?
668ee3e to
bed901d
Compare
Objective
Warn PR authors when source code (.py/.ts/.tsx) changes ship without accompanying tests, without blocking merge or any other job.
Changes
test-coverage-advisor.ymlworkflow on PR open/sync/reopen/readygit merge-basediff (same pattern aslint-js.yml)exit 0so it never becomes a required/blocking statusSummary by CodeRabbit