Steps to Reproduce
- Submit a patch
- See that scan is working fine for revision-patchset in https://sonarcloud.io/dashboard?id=mediawiki-services-push-notifications
Expected Results
- After the scan is complete the SonarQube bot should comment in the gerrit patch
Actual Results
- SonarQube does not comment in the gerrit patch
Additional notes
- @kostajh identified that the bot is getting 400 status when attempting to post the comment [1]
[2020-07-22T07:48:14.710609+00:00] app.ERROR: HTTP/1.1 400 Bad Request returned for "https://gerrit.wikimedia.org/r/a/changes/mediawiki%2Fservices%2Fpush-notifications~604830/revisions/23/review". [] []