mozilla/release-services

Coverity posts pre-existing issues unrelated to the patch

Closed this issue · 9 comments

Phabricator URL: https://phabricator.services.mozilla.com/D19760

Problem: I'm all for static-analysis, but when a file has pre-existing issues reporting them on every revision that touches this file gets very noisy very fast :)

Yeah, this is a bug, should be fixed today or tomorrow

Hello Jan,

Thanks for reporting this issue and I'm sorry you're having this bad experience, I'm aware of the issue and we have a fix for it #1884.
This fix will be deployed to PROD as soon as possible.

If you encounter more issues please feel free to ping me directly on IRC.

ANdi

Fantastic! Thanks to both of you :)

We’ve pushed the fix to the testing environment. Tomorrow we will push it in production.

And in the meantime I've disabled Coverity on production.

Production has been redeployed with the fix and Coverity has been re-enabled.

I'm seeing this behavior again, for example https://phabricator.services.mozilla.com/D31038#912541

Is this expected or a bug?

La0 commented

It's now expected, as we publish Coverity issues for any modified files in a patch (an issue introduced by a patch may be detected at some other place by Coverity).