Repository navigation
ci(sonarqube): pass with a notice when SONAR_TOKEN is not configured - #84
Conversation
The SonarQube job fails on each run of this repository. The run log shows an empty SONAR_TOKEN, and the scanner ends with "Not authorized or organization not found". That red check is not a code-quality signal: the scan did not run. The first step now tests the token. With no token, the job says that the scan is not configured and passes. With a token, the scan runs, with no further edit. The text is the guard of the estate template, written by the gitbot-fleet recipe fix-sonarqube-token-guard.sh. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZmiFSCoB3UR9Kk56rK
|
Caution Review failedThe pull request is closed. Summary
Merge Risk:
|
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|



Summary
The
SonarQubejob is red on each run of this repository, onmainand on each pull request. The run log (job 130101445937) shows an empty token:That red check is not a code-quality signal, because the scan did not run. This PR adds the token guard of the estate template.
Changes
sonarqube.yml: a first step testsSONAR_TOKEN.The text is the guard of
hyperpolymath/rsr-template-repo. The gitbot-fleet recipescripts/fix-sonarqube-token-guard.shwrote it. system-et has the same guard.RSR Quality Checklist
Required
just testor equivalent): not run, the change is 1 workflow filejust fmtor equivalent): not run, same reasonunsafeblocks without// SAFETY:commentsbelieve_me,unsafeCoerce,Obj.magic,Admitted,sorry).envfiles includedAs Applicable
None of the listed documents changes.
Testing
--check) reported a target before the edit (1) and no target after it (0).yqparses the file; the job has 3 steps.SonarQubejob on this pull request is the proof: it must pass with the notice.Notes for the owner, not changed here:
sonar-project.propertieshassonar.projectKey=hyperpolymath_anytype. The SonarCloud app analyses this repository ashyperpolymath_everytype. If you add aSONAR_TOKENsecret later, check that the project key exists in SonarCloud.sonarqube.ymlhas the project link of the template (id=hyperpolymath_rsr-template-repo).Generated by Claude Code