Skip to content

Remove the SonarCloud scanner workflow and document Automatic Analysi… - #12

Merged
Ktechen merged 1 commit into
masterfrom
chore/remove-sonar-scanner-workflow
Aug 10, 2026
Merged

Remove the SonarCloud scanner workflow and document Automatic Analysi…#12
Ktechen merged 1 commit into
masterfrom
chore/remove-sonar-scanner-workflow

Conversation

@Ktechen

@Ktechen Ktechen commented Aug 10, 2026

Copy link
Copy Markdown
Owner

…s as the mode

sonar.yml could never succeed. A CI scanner and SonarCloud's Automatic Analysis are mutually exclusive, and which one is active is a server-side project setting that no file in this repository can change. With Automatic Analysis left on, every run of the workflow failed at sonarscanner end with "You are running CI analysis while Automatic Analysis is enabled" and published nothing — so the check has been red on every push while contributing no analysis. Remove it rather than keep a permanently failing check.

.sonarcloud.properties becomes the only Sonar configuration and keeps both exclusions, so the Uno app findings that the build-less analysis cannot judge still close.

Docs follow the reality:

  • R-9 is rewritten from "the scan never publishes" to what is now an accepted trade-off, with the two costs stated plainly (no coverage, no compiled C# analysis) and instructions to reverse the decision — flip the setting AND restore the workflow from history, or neither.
  • 7.6 replaces the workflow table row with a table of the two analyses that run without a workflow file, and the local SonarAnalyzer run is promoted to the authoritative check for C# rules.
  • Correct a standing error: arc42 documented a codeql.yml that does not exist. CodeQL runs via GitHub default setup (dynamic/github-code-scanning/codeql), which is also why the README's CodeQL badge rendered no status — it pointed at a workflow file. Point it at the security tab instead.
  • Drop the README coverage badge. Coverage has never had a value, and without a scanner it never will.

…s as the mode

sonar.yml could never succeed. A CI scanner and SonarCloud's Automatic Analysis
are mutually exclusive, and which one is active is a server-side project setting
that no file in this repository can change. With Automatic Analysis left on,
every run of the workflow failed at `sonarscanner end` with "You are running CI
analysis while Automatic Analysis is enabled" and published nothing — so the
check has been red on every push while contributing no analysis. Remove it
rather than keep a permanently failing check.

.sonarcloud.properties becomes the only Sonar configuration and keeps both
exclusions, so the Uno app findings that the build-less analysis cannot judge
still close.

Docs follow the reality:

- R-9 is rewritten from "the scan never publishes" to what is now an accepted
  trade-off, with the two costs stated plainly (no coverage, no compiled C#
  analysis) and instructions to reverse the decision — flip the setting AND
  restore the workflow from history, or neither.
- 7.6 replaces the workflow table row with a table of the two analyses that run
  without a workflow file, and the local SonarAnalyzer run is promoted to the
  authoritative check for C# rules.
- Correct a standing error: arc42 documented a codeql.yml that does not exist.
  CodeQL runs via GitHub default setup (dynamic/github-code-scanning/codeql),
  which is also why the README's CodeQL badge rendered no status — it pointed at
  a workflow file. Point it at the security tab instead.
- Drop the README coverage badge. Coverage has never had a value, and without a
  scanner it never will.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Ktechen
Ktechen merged commit d1144cc into master Aug 10, 2026
4 checks passed
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant