SonarCloud scan job exceeding 6 minutes — impacting internal 30-minute trunk SLA

Our Sonar analysis job in CI/CD consistently takes 6+ minutes to complete — even when the change is a single line of code. This is disproportionate to the actual work being done and is materially impacting our internal SLA of 30 minutes for merges to reach trunk (main branch).

The scan duration does not scale down with change size — a 1-line diff takes roughly the same ~6 minutes as a large commit. This strongly suggests the job is doing a full re-scan every time rather than an incremental/differential analysis

Request

Confirm whether incremental/differential analysis is possible for our setup and how to enable it, since duration should scale with diff size, not stay flat.

Hey @Santhos_Manickam, welcome to the Community! Generally, there is an incremental analysis mechanism that helps speed up PR analysis (assuming that in your case you are referring to PR analysis).

A few initial things to check: