which versions are you using (8.9 LTS, Scanner-4.7)
I tried to rebuild it multiple times.
We are getting this warning in multiple projects with the same commit id. And the developers are unable to merge because the PR is still in the pending stage at the SonarQube level.
This sounds like some sort of caching in your CI. Check Project Settings → Background Tasks → [cog menu] → Show Scanner Context to see what the analysis environment was. Maybe you can backtrack from there.
I didn’t expect there to be a background task failure. But if you click on the cog, in the right of your screenshot, you’ll get an option to see the parameters analysis was working with.
No you don’t have to provide them because they’re provided by the action. But they should be provided by the action and show up in the context. That’s why I asked you about the task you pulled the context from. There are no such key/value pairs in it.
The refs/pull/<number>/merge is a reference created by GitHub to keep track of what would happen if a pull request was merged…
You can think of it as a “future” commit. GitHub (as well as other Git-based collaboration platforms) use this technique to determine whether the pull request would successfully merge
And it looks like you’re explicitly fetching it…?: