Sonarqube Enterprise 8.9.7 issue with new code

Running PR branch scan, of dev branch, some branches show New code against 11 month old dev branch , some PRs show against 2 day old dev branch. Why is the new code comparison different for different PRs opened at the same time. The one with 11 month old does show unwanted code smells which is not part of the PR.

Hey there.

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.9.7 → 9.9 → 10.0 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.