Information about our setup:
- which versions are you using (SonarQube Server / Community Build, Scanner, Plugin, and any relevant extension)
- Developer Edition v10.8.1 (101050)
- how is SonarQube deployed: zip, Docker, Helm
- Docker
- what are you trying to achieve
- incremental build times for PRs used to be 30 seconds, now they’re an upwards of 17 minutes
- what have you tried so far to achieve this
- upgrading sonar regularly (this seems to have broken it TBH)
- ensuring that our diff is correct (we have our own changed modules library, and that reports correctly as well, which is based on git diff)
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!
Here are the top 3 items sorted by time:
build 24-Feb-2025 11:32:49 [INFO] 11:32:49.698 Sensor JavaScript/TypeScript analysis [javascript] (done) | time=20138ms
build 24-Feb-2025 11:44:52 [INFO] 11:44:52.126 Sensor JavaSecuritySensor [security] (done) | time=65753ms
build 24-Feb-2025 11:43:45 [INFO] 11:43:45.544 Sensor javabugs [dbd] (done) | time=494906ms
What should we look at next? Our project is a monorepo with about 2M LOC. The incremental builds used to take 30 seconds until last year or so, but have gradually shot up to 17 minutes for simple PRs.