Skip to content

ci: simplify Sonar scanning - #20

Merged
aksOps merged 1 commit into
mainfrom
agent/simplify-sonar-workflow
Aug 1, 2026
Merged

ci: simplify Sonar scanning#20
aksOps merged 1 commit into
mainfrom
agent/simplify-sonar-workflow

Conversation

@aksOps

@aksOps aksOps commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

What changed

  • replace the two-stage Sonar artifact relay with one quality workflow
  • run the workflow only for pull requests targeting main and pushes to main
  • run frontend and Go coverage, build, vet, race tests, formatting, then the official SonarQube Cloud action
  • remove the custom protected scanner action and its control-plane validation helpers
  • keep immutable action pins and skip tokened scanning for fork pull requests

Why

The existing pipeline split coverage generation and scanning across two workflows, then added artifact manifests, candidate-tree validation, protected control-plane checkouts, and custom Sonar compute-task verification. Recent main-branch history showed repeated failures in that machinery. The official Sonar action supports the required PR/main trigger directly.

Validation

  • Actionlint passed
  • Shellcheck passed
  • 902 frontend tests passed
  • frontend branch coverage: 95.21%
  • Go statement coverage: 96.4%
  • 894 Go race-tested cases passed
  • frontend build passed
  • go vet ./... passed
  • Go formatting check passed
  • immutable action pin check passed

@sonarqubecloud

sonarqubecloud Bot commented Aug 1, 2026

Copy link
Copy Markdown

@aksOps
aksOps merged commit cf31a7b into main Aug 1, 2026
9 of 10 checks passed
@aksOps
aksOps deleted the agent/simplify-sonar-workflow branch August 1, 2026 16:09
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