Rule S7197 is not triggered during Automatic Analysis

ALM used: GitHub - philippeformulain/S7197
Languages of the repository: TypeScript
SonarQube Cloud URL: SonarQube Cloud

Error observed

When using Automatic Analysis, the rule S7197 is not triggered.

Steps to reproduce

Create a project that would trigger S7197. Enable Automatic Analysis. Let the analysis finish. Look at the Open Issues page.

Potential workaround

Executing the analysis manually, using the NPM Sonar Scanner for example, makes the rule trigger.

For information, I had to let the automatic analysis disabled in order to support this comment on another topic.

Hi,

Thanks for this report.

You’re right that architecture rules aren’t fired during automatic analysis. As you’ve found, to get them applied, you’ll need to switch to a CI-based analysis.

We’ll update the docs on this point.

 
Ann