-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
roachprod-microbench: influx fails on missing benchmark #138902
roachprod-microbench: influx fails on missing benchmark #138902
Conversation
@@ -466,6 +466,9 @@ func (c *compare) pushToInfluxDB() error { | |||
} | |||
|
|||
for idx, benchmarkName := range cs.Benchmarks { | |||
if len(cs.Summaries) == 0 { | |||
continue |
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.
Given that it's an exceptional case, should a warning be logged, to facilitate debugging?
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.
Good idea, I'll add logging before merging.
Previously, the push to influx operation did not handle the case where it could not compute a summary between two runs due to a missing or renamed benchmark. This change adds a check to skip over the benchmark if no summaries are found. Epic: None Release note: None
ea92e22
to
752e9d6
Compare
TFTRs! bors r+ |
138902: roachprod-microbench: influx fails on missing benchmark r=herkolategan a=herkolategan Previously, the push to influx operation did not handle the case where it could not compute a summary between two runs due to a missing or renamed benchmark. This change adds a check to skip over the benchmark if no summaries are found. Epic: None Release note: None Co-authored-by: Herko Lategan <[email protected]>
Build failed: |
bors retry |
Previously, the push to influx operation did not handle the case where it could not compute a summary between two runs due to a missing or renamed benchmark. This change adds a check to skip over the benchmark if no summaries are found.
Epic: None
Release note: None