Closed Bug 1940513 Opened 1 year ago Closed 1 year ago

[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)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1937756

People

(Reporter: dholbert, Unassigned)

References

Details

Attachments

(1 file)

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?

Attached image screenshot —

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.

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).

See Also: → 1919464
Summary: [Automated review] Turn off code coverage linter while it's in an unreliable state → [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

Looks like mccr8 beat me to filing this bug; duping to bug 1940174.

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1940174
Resolution: --- → DUPLICATE

actually we've got bug 1937756 as an older report; let's dupe there.

Duplicate of bug: 1937756
No longer duplicate of bug: 1940174
See Also: 1919464 →
See Also: → 1925873
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: