You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.
This is something I patched in my fork, but now Amadeus master and 1.3 are far away of that and it is not possible to create a PR.
So, the issue is that it is possible that sonar-stash analysis will found a new issue while PR diff doesn't consist the change. It is base of workflow we use.
We have a master branch. Full sonar scan is doing by schedule once a day
PR sonar scan is doing per request, when PR is created, for example.
Before PR sonar scan, we merge master into feature branch
If there are several PR created and merged into master before the latest feature branch PR sonar scan, sonar will found issues from other branches as new
What is wanted:
Per each issue sonar-stash found, we have to filter it thru PR diff before use it in PR overview comment or in decision to approve PR or not
Regards,
Oleg
The text was updated successfully, but these errors were encountered:
Unfortunately it is not that easy.
We can't simply assume that inside diff view == true positive and outside diff view == false negative.
The only way to have this correct is by performing a scan on the correct PR baseline. (And doing a rescan if the baseline changes).
Anything else will result in wrong behaviour.
For example:
You modify your tests so that less code is covered. The issue will be reported to the file where the code is defined, not where you modified the tests. If we ignore this issue people will be unhappy.
Hi,
This is something I patched in my fork, but now Amadeus master and 1.3 are far away of that and it is not possible to create a PR.
So, the issue is that it is possible that sonar-stash analysis will found a new issue while PR diff doesn't consist the change. It is base of workflow we use.
What is wanted:
Per each issue sonar-stash found, we have to filter it thru PR diff before use it in PR overview comment or in decision to approve PR or not
Regards,
Oleg
The text was updated successfully, but these errors were encountered: