-
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
Add a metric to count carryforward_mode=labels
usage
#812
Conversation
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## main #812 +/- ##
==========================================
- Coverage 97.99% 97.98% -0.01%
==========================================
Files 443 444 +1
Lines 36448 36457 +9
==========================================
+ Hits 35716 35724 +8
- Misses 732 733 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## main #812 +/- ##
==========================================
- Coverage 97.99% 97.98% -0.01%
==========================================
Files 443 444 +1
Lines 36448 36457 +9
==========================================
+ Hits 35716 35724 +8
- Misses 732 733 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
@@ Coverage Diff @@
## main #812 +/- ##
==========================================
- Coverage 97.99% 97.98% -0.01%
==========================================
Files 443 444 +1
Lines 36448 36457 +9
==========================================
+ Hits 35716 35724 +8
- Misses 732 733 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #812 +/- ##
==========================================
- Coverage 97.99% 97.98% -0.01%
==========================================
Files 443 444 +1
Lines 36448 36457 +9
==========================================
+ Hits 35716 35724 +8
- Misses 732 733 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Excited to see how this turns out
@@ -401,6 +402,10 @@ def finish_reports_processing( | |||
commit.state = "skipped" | |||
|
|||
if self.should_clean_labels_index(commit_yaml, processing_results): | |||
# NOTE: according to tracing, the cleanup task is never actually run. | |||
# reasons for that might be that we indeed *never* have any flags | |||
# configured for `carryforward_mode=labels`, or the logic is somehow wrong? |
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.
I think it might be because no repos use the label index at all
(see here)
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.
well yes, though the conditional above in UploadFinisher
is not looking at that feature flag at all.
This introduces a metric to count the various usages of `carryforward_mode=labels`. It also adds some comments to those places explaining whether the logic might be over- or undercounting the actual real-world usage.
caf0ab1
to
973f0f1
Compare
This introduces a metric to count the various usages of
carryforward_mode=labels
. It also adds some comments to those places explaining whether the logic might be over- or undercounting the actual real-world usage.