-
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
Create CleanLabelIndexTask #205
Conversation
…label-compressed/clean-index-task
This task is designed to cleanup the labels_index of reports. As they are carried forward, and tests are renamed, some indexes will point to labels that are not used anymore. This will cause the index to grow indefinetely and the lower indexes will eventually not be used anymore. THe task will scan a report and make sure all indexes are being used, by modifying both the labels_index and the labels in the report.
…label-compressed/clean-index-task
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #205 +/- ##
========================================
Coverage 98.36% 98.36%
========================================
Files 356 358 +2
Lines 28537 28828 +291
========================================
+ Hits 28069 28357 +288
- Misses 468 471 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov Report
Changes have been made to critical files, which contain lines commonly executed in production. Learn more Additional details and impacted files@@ Coverage Diff @@
## main #205 +/- ##
========================================
Coverage 98.32% 98.33%
========================================
Files 387 389 +2
Lines 29232 29524 +292
========================================
+ Hits 28743 29032 +289
- Misses 489 492 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
da2a563
to
ec947a4
Compare
Codecov Report
@@ Coverage Diff @@
## main #205 +/- ##
========================================
Coverage 98.36% 98.36%
========================================
Files 356 358 +2
Lines 28537 28828 +291
========================================
+ Hits 28069 28357 +288
- Misses 468 471 +3
Flags with carried forward coverage won't be shown. Click here to find out 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
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
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" 😉 Thanks @matt-codecov for the suggestions around refactoring the trigger logic for CleanLabelsIndex to make it easier to read and maintain. closes codecov/engineering-team#768
This task is designed to cleanup the labels_index of reports.
As they are carried forward, and tests are renamed, some indexes
will point to labels that are not used anymore. This will cause
the index to grow indefinetely and the lower indexes will eventually
not be used anymore.
These change don't schedule the task, only create it.