Our builds using SonarQube have started incorrectly reporting code coverage and missing off tests.
A build which happened on 2nd Jan passed with 100% code coverage. A dependency change in another file was the only change since then now it is reporting 66% code coverage depsite no extra code being written or tests removed
In another repo there was passing tests yesterday and now failing with some tests ignored.
ALM used: Github
-
CI system used: Github actions
-
Scanner command used when applicable : github actions - SonarSource/sonarqube-scan-action@master
-
Languages of the repository: typescript
-
Only if the SonarCloud project is public, the URL - https://sonarcloud.io/project/overview?id=NHSDigital_eps-prescription-status-update-api
* -
Error observed:
Coverage is showing as 66%
A scan at Fri, 2 Dec 2026 afternoon worked showed correct coverage, but our next one at Tue, 6 Dec 2026 morning showed 66% coverage -
Steps to reproduce: run scan
-
Potential workaround: none