-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
fix(codecov): don't upload from merge queue #7661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR addresses an issue with the Codecov upload process from the merge queue by adding a condition to skip uploads when the event is triggered by a merge group.
- Update the condition for uploading test coverage to Codecov
- Update the condition for uploading test results to Codecov
Comments suppressed due to low confidence (2)
.github/workflows/lint-and-tests.yml:145
- Verify that 'merge_group' is the correct event identifier for merge queue scenarios to ensure the condition accurately skips Codecov uploads.
if: ${{ !cancelled() && github.event_name != 'merge_group' }}
.github/workflows/lint-and-tests.yml:151
- Confirm the updated condition is consistent with the intended behavior for test result uploads in merge queue events to prevent unintended uploads.
if: ${{ !cancelled() && github.event_name != 'merge_group' }}
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #7661 +/- ##
==========================================
+ Coverage 74.61% 74.62% +0.01%
==========================================
Files 96 96
Lines 7685 7685
Branches 192 192
==========================================
+ Hits 5734 5735 +1
+ Misses 1949 1948 -1
Partials 2 2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Lighthouse Results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT !
|
Now, the commits correctly show |
Workaround for codecov/codecov-action#1733
The process goes like this:
gh-readonly-queue/...branch.main.main.gh-readonly-queue/...branch.This causes our UI (https://app.codecov.io/github/nodejs/nodejs.org) to not have any
maincommits showing, but plenty ofgh-readonly-queueones.