Hi,
I am excited to try this new feature out and I appreciate it is in Beta.
After a successful GitHub action run with Sonar, Architecture page content changed from “No data available. Please run an analysis first, or see the analysis logs for more information.” to have a link to explore current architecture, but the diagram is completely empty.
There is no defined target architecture yet, but I was hoping to see existing architecture. This is a solution with 5 dotnet projects in it (4 with prod code and one test project) that builds into one application. Sonar seems to work fine otherwise.
In actions logs I see this (redacted repo/folder names).
INFO: Sensor CSharpArchitectureSensor [architecture]
INFO: Architecture analysis is enabled with the following features: legacy, discovery, flaws, deviations, directives
INFO: * Protobuf reading starting | memory total=248 | free=145 | used=102 (MB)
INFO: * Reading SonarArchitecture UDG data from directory “/home/runner/work/(redacted)/.sonarqube/out/architecture/cs”
INFO: * Directory does not exist: “/home/runner/work/(redacted)/.sonarqube/out/architecture/cs”
INFO: * Protobuf reading complete | memory total=248 | free=145 | used=102 (MB)
INFO: * Build architecture.graph.cs.namespace_graph.default_perspective hierarchy graph complete (filtered=false) | memory total=248 | free=135 | used=112 (MB)
INFO: No directives configured
INFO: * No intended architecture defined or detected, using an empty model
INFO: * Adding analysis data: architecture.graph.cs.namespace_graph.default_perspective
INFO: * Adding analysis data: architecture.graph.cs.namespace_graph.intended_perspective_mapped_detail_filtered
INFO: * Adding analysis data: architecture.structural_issue.cs.structural_issues
INFO: Sensor CSharpArchitectureSensor [architecture] (done) | time=285ms
I get Last Analysis had warnings on this project as well, in case it is related.
The Data Dictionary is not configured for the PLSQL analyzer, which prevents rule(s) S3641, S3921, S3618, S3651 from raising issues. See PL/SQL | SonarQube Cloud | Sonar Documentation
Multi-Language analysis is enabled. If this was not intended and you have issues such as hitting your LOC limit or analyzing unwanted files, please set “/d:sonar.scanner.scanAll=false” in the begin step.
Does any of it indicate what I might be doing wrong to cause an empty diagram?
Thanks!