-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat: call CleanLabelsIndexTask #210
feat: call CleanLabelsIndexTask #210
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #210 +/- ##
=======================================
Coverage 98.33% 98.33%
=======================================
Files 358 358
Lines 28831 28869 +38
=======================================
+ Hits 28351 28389 +38
Misses 480 480
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov Report
@@ Coverage Diff @@
## main #210 +/- ##
=======================================
Coverage 98.33% 98.33%
=======================================
Files 358 358
Lines 28831 28869 +38
=======================================
+ Hits 28351 28389 +38
Misses 480 480
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #210 +/- ##
=======================================
Coverage 98.30% 98.30%
=======================================
Files 389 389
Lines 29527 29565 +38
=======================================
+ Hits 29026 29064 +38
Misses 501 501
Flags with carried forward coverage won't be shown. Click here to find out more.
This change has been scanned for critical changes. Learn more |
If the processed upload includes a flag that is carryforward AND "labels" mode, we enqueue the CleanLabelsIndexTask. Depends on #205 I tried to be conservative, but it's possible that - despite using the flag with labels - no labels are uploaded. It's also possible that there's nothing to do. But these are small details. ps.: To see that indeed we have an "arguments" and "flag" in "processing_results" I looked at logs for the message "Scheduling notify task" 😉 closes codecov/engineering-team#768
a1e8502
to
33d0496
Compare
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.
pls consider the feedback but i don't need to see it again before you merge, your tests should catch any mistakes
Addressing review comment applying suggested patch. Refactors the trigger logic for CleanLabelsIndex to make it easier to read and maintain. Thanks @matt-codecov
If the processed upload includes a flag that is carryforward
AND "labels" mode, we enqueue the CleanLabelsIndexTask.
Depends on #205
I tried to be conservative, but it's possible that - despite
using the flag with labels - no labels are uploaded. It's
also possible that there's nothing to do. But these are small
details.
ps.: To see that indeed we have an "arguments" and "flag" in
"processing_results" I looked at logs for the message
"Scheduling notify task" 😉
closes codecov/engineering-team#768
Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.