[Automated review] Turn off code coverage linter while it's in an unreliable state and leading to false-positive review notes about files being uncovered
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Tracking
(Not tracked)
People
(Reporter: dholbert, Unassigned)
References
Details
Attachments
(1 file)
|
89.83 KB,
image/png
|
Details |
Our Code Coverage analysis is apparently in a not-great state right now, and that seems to be leading to reviewbot boldly declaring that various C++ files have no code-coverage when in fact they're fine.
I've seen this on two different phab revisions in the past two days, here:
https://phabricator.services.mozilla.com/D233399#8077070
https://phabricator.services.mozilla.com/D233472#8079299
marco says there are some known ongoing issues which might be related, tracked in e.g. bug 1919464.
Can we turn off code-coverage linting in the meantime, since it's resulting in confusing and wrong reviewbot messages?
| Reporter | ||
Comment 1•1 year ago
|
||
Here's a screenshot showing how this this looks in practice. See the long comment (top) and inline-comment (bottom) which are ignorable but may lead to developer confusion/concern.
| Reporter | ||
Comment 2•1 year ago
•
|
||
And moving forward, we should ideally ensure that this reviewbot integration is set up such that issues (like the one causing the current situation) will tend to lead to false-negatives, and will be extremely unlikely to lead to false positives -- we should aim to make the bot handle this sort of situation by failing silently rather than failing spammily. (i.e. the bot should ideally recognize that it lacks definitive knowledge about which files are/aren't covered, and so it should not post review notes making declarations about files being uncovered).
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 3•1 year ago
|
||
Looks like mccr8 beat me to filing this bug; duping to bug 1940174.
| Reporter | ||
Comment 4•1 year ago
|
||
actually we've got bug 1937756 as an older report; let's dupe there.
Description
•