Sonar ALM integration with Gitlab does not report back the result of code analysis

We are using the developer edition of SonarQube 9 (self-hosted) and we have run into an issue that if the quality gate is failed due to any blocker issues it does not report back the outcome to Gitlab. I can confirm that because we use the developer edition the integration works when the quality gate passes but on failure, it does not report back which misses the entire purpose of having this integration. Are there any configurations we are missing or this seems to be a bug?

Actually, we just realised that it does not report back the report to Gitlab regardless. I cannot find any errors or anything coming up in the Gitlab runner logs.