Skip to content

ci: stop blocking on Sonar quality gate - #21

Merged
aksOps merged 1 commit into
mainfrom
agent/make-sonar-scan-nonblocking
Aug 1, 2026
Merged

ci: stop blocking on Sonar quality gate#21
aksOps merged 1 commit into
mainfrom
agent/make-sonar-scan-nonblocking

Conversation

@aksOps

@aksOps aksOps commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

What changed

Remove sonar.qualitygate.wait and its timeout from the scanner configuration.

Why

PR #20 successfully reduced Sonar to one workflow running on pull requests and main. The merged main run completed analysis and uploaded commit cf31a7bf, then failed because the scanner was configured to synchronously enforce the Sonar quality gate. The gate currently reports a new-code security rating of B from two Sonar findings. That policy result is separate remediation work and should remain visible in Sonar without turning a successful scan into a ten-minute GitHub Actions failure.

This matches the official SonarQube action quick-start: run the scanner and let Sonar report analysis status independently.

Validation

  • Actionlint passed
  • immutable action pin check passed
  • git diff --check passed
  • confirmed failed main run completed analysis and uploaded the exact merge commit before quality-gate enforcement returned exit code 3

@sonarqubecloud

sonarqubecloud Bot commented Aug 1, 2026

Copy link
Copy Markdown

@aksOps
aksOps merged commit 21e91bd into main Aug 1, 2026
9 checks passed
@aksOps
aksOps deleted the agent/make-sonar-scan-nonblocking 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