I don’t want the code coverage requirement to be applied on PRs with less than 20 lines, and it looks to me that it shouldn’t be based on the configuration. Any clues on why the code coverage requirement is still being triggered?
Here is my SonarCloudPrepare task from my yaml PR pipeline in Azure DevOps:
Could you check with an org admin to see if this option has been turned back on at a higher level? I would expect your project-level config to override that, but things don’t always work like I expect them to.
That property you’ve mentioned shouldn’t be relevant here. It’s related to how CI-side analysis runs, and this is about the server-side processing of the analysis report.
And since this is server-side, I’m not even going to ask for your analysis logs. Instead, I’m going to flag this for the folks with access to back-end logs.
Am I misunderstanding something about this flag? I expected the “Coverage” metric to be ignored for this PR with only 3 new lines of code (actually on github it’s +5 and -7 lines). Thanks!
We have an issue with our golang project, where small changes are still considered in the new coverage calculations, although we have the following flag enabled.
I’ve combined your threads because they’re all about the same thing.
I’ve declared an incident for this since it appears to be wider-spread than it initially seemed. However, it’s already the weekend for the relevant engineers, so they won’t pick this up until it’s Monday morning in Europe.
In the meantime, I can only apologize for the inconvenience.