ci(sonarqube): add non-blocking SonarQube analysis (project key Runic-Gateway-link) #14

Closed
wtclaude wants to merge 1 commits from ci/sonarqube-fix-project-key into main
Member

Supersedes #13. Same change, with the corrected case-sensitive project key.

The SonarQube server already has a project keyed Runic-Gateway-link and refuses to create a case-variant (runic-gateway-link) duplicate, so sonar.projectKey now matches the existing key.

What

  • sonar-project.properties — project key Runic-Gateway-link, sources sidecar/src, excludes target/ + lockfiles. Rust tests are inline #[cfg(test)]. Commented-out Clippy-report hook for later.
  • .gitea/workflows/sonarqube.ymlSonarQube workflow on push to main (+ workflow_dispatch); full-history checkout + sonarsource/sonarqube-scan-action@v4.

Notes

  • Non-blocking (post-merge only), source-based scan — no Rust toolchain/build in the workflow.
  • One-time Gitea setup still required: secret SONAR_TOKEN + variable SONAR_HOST_URL.
  • Documented in RunicGateway/docs#27 (docs/ci/SONARQUBE.md).

AI-assisted: authored with Claude Code (Anthropic). Commit trailer records Co-Authored-By: Claude.

🤖 Generated with Claude Code

Supersedes #13. Same change, with the corrected **case-sensitive** project key. The SonarQube server already has a project keyed `Runic-Gateway-link` and refuses to create a case-variant (`runic-gateway-link`) duplicate, so `sonar.projectKey` now matches the existing key. ## What - `sonar-project.properties` — project key `Runic-Gateway-link`, sources `sidecar/src`, excludes `target/` + lockfiles. Rust tests are inline `#[cfg(test)]`. Commented-out Clippy-report hook for later. - `.gitea/workflows/sonarqube.yml` — `SonarQube` workflow on push to `main` (+ `workflow_dispatch`); full-history checkout + `sonarsource/sonarqube-scan-action@v4`. ## Notes - Non-blocking (post-merge only), source-based scan — no Rust toolchain/build in the workflow. - One-time Gitea setup still required: secret `SONAR_TOKEN` + variable `SONAR_HOST_URL`. - Documented in RunicGateway/docs#27 (`docs/ci/SONARQUBE.md`). AI-assisted: authored with Claude Code (Anthropic). Commit trailer records `Co-Authored-By: Claude`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
wtclaude added 1 commit 2026-07-21 04:21:25 +00:00
Mirrors the website repo's setup: a source-based scan of sidecar/src that
reports to the self-hosted SonarQube server after merge, never gating PRs.

Uses the existing SonarQube project key Runic-Gateway-link (the server
rejects re-creating a case-variant key). Supersedes #13.

Co-Authored-By: Claude <noreply@anthropic.com>
wtclaude closed this pull request 2026-07-21 04:22:27 +00:00

Pull request closed

Sign in to join this conversation.
No description provided.