Repository navigation
chore(ci): remove duplicate self-run SonarQube workflow - #69
Conversation
cicd-squabbler runs Sonar analysis twice. The SonarCloud App (app=sonarqubecloud) emits the required `SonarCloud Code Analysis` context and is green. This workflow additionally runs SonarSource/sonarqube-scan-action itself, emitting a separate `SonarQube` check (app=github-actions) that is red on every push. Measured on main HEAD be78284: failure SonarQube app=github-actions <- this file success SonarCloud Code Analysis app=sonarqubecloud <- the App The two are different apps, so removing this workflow cannot take the required App check with it. `SonarQube` is not a required context on ruleset 18261844 (required: CodeQL, openssf-compliance, SonarCloud Code Analysis), so nothing turns absent. `sonarqube.yml` is listed under `never_required_workflows` in standards/config/rulesets/gates.json, so deletion is consistent with estate policy. sonar-project.properties is retained -- automatic analysis still reads its scope and exclusions. The repo has no actions.lock, so there is no pin entry to keep in sync. Net effect: one less wasted runner per push, and one less permanently red check on the board. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TCKh98NmUmfvgpuGyJbNu8
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (4)
|
| Layer / File(s) | Summary |
|---|---|
Remove SonarQube workflow .github/workflows/sonarqube.yml |
Deletes the SonarQube workflow and its scan configuration. |
Priority: ⬇️ Low
Estimated code review effort: 1 (Trivial) | ~2 minutes
Merge Risk: ⚪ Minimal · up to fa84f
This change removes the duplicate SonarQube workflow while retaining the SonarCloud configuration and required SonarCloud App analysis. No current merge-blocking risk is identified.
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
| Check name | Status | Explanation | Resolution |
|---|---|---|---|
| Description check | The description gives a clear reason, scope, safety assessment, and provenance for deleting the workflow. However, it does not use the required Summary, Changes, RSR Quality Checklist, Testing, or Scr… | Rewrite the description using the repository template. Add the required headings, list the workflow deletion under Changes, complete the applicable RSR Quality Checklist items, and document testing or state why testing is not applicable. In… |
✅ Passed checks (4 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | ✅ Passed | The title clearly and concisely states the main change: removal of the duplicate self-run SonarQube workflow. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0… |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
Full details: Description check
Explanation
The description gives a clear reason, scope, safety assessment, and provenance for deleting the workflow. However, it does not use the required Summary, Changes, RSR Quality Checklist, Testing, or Screenshots sections, and it provides no test results or completed checklist items.
Resolution
Rewrite the description using the repository template. Add the required headings, list the workflow deletion under Changes, complete the applicable RSR Quality Checklist items, and document testing or state why testing is not applicable. Include screenshots or terminal output if applicable.
✨ Finishing Touches
🛠️ Fix failing CI checks
- Create stacked PR
- Commit on current branch
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
A rabbit finds the workflow gone
No sonar scan runs at dawn
The tokens rest
The pipeline is less
And carrots roll on>
Comment @coderabbitai help to get the list of available commands.
|
|
✅ Coding Agent task started: View task and status The task will inspect the CI failures, validate its fix, and open a stacked fix pull request automatically.
|
This branch was cut from an older main and conflicted on three workflow
files, which is why it had stopped merging. A conflicting PR cannot have a
merge ref built for it, and without a merge ref GitHub Actions runs NOTHING
on the PR -- so every required context reads ABSENT rather than failing, the
branch can never satisfy `strict_required_status_checks_policy`, and the only
symptom the UI offers is that the branch is out of date and cannot be updated.
Resolving the conflicts is what lets CI report at all.
main wins all three, on the merits:
.github/workflows/codeql.yml
Branch pinned github/codeql-action to the TAG @v4.37.9. This repository
sets `sha_pinning_required: true` in its Actions permissions, so a tag
ref is rejected outright -- the branch side could not have run. Took
main's SHA pin @b96794f0 (v4.38.0, 2026-09-09).
.github/workflows/push-email-notify.yml
Branch pinned smtp-notify-action at @ede1191e. Took main's @22e7bdb3,
which is v0.3.0 -- released 2026-09-09 and currently `latest`.
.github/workflows/sonarqube.yml
Deleted, following main. main removed this in #69 as a duplicate
self-run SonarQube workflow; SonarCloud already reports through its own
app integration, and restoring the file would reinstate a second,
redundant analysis run.
Verified before committing, with three oracles rather than one:
- no conflict-marker token survives anywhere in the tree (a dead-pin or
ref-level check does NOT catch a committed marker: both sides of a
conflict can name perfectly live refs)
- `yq -e .` parses all 27 workflows, with a negative control first
confirming yq actually rejects a marker-bearing file
- zero `uses: ...@vTAG` refs remain, per sha_pinning_required
Note left alone deliberately: main's comment on the codeql pin reads `# v3`
while b96794f0 is in fact v4.38.0. That is main's to correct; fixing it here
would mix an unrelated edit into a conflict resolution.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WgqXnnNWBkiKMyUeLqzcuN
Resolving the merge conflicts let this PR build a merge ref, so Actions finally ran at all -- and revealed a second, independent break: twelve of the sixteen runs ended in `startup_failure` with zero jobs and no check emitted, which is invisible in the UI and indistinguishable from a gate that simply does not exist. Cause: `.github/workflows/actions.lock`, a file this branch adds and main does not have. GitHub validates every `uses:` against that lockfile at workflow startup, before any job is created. The lockfile was generated by `gh actions-lock` at version v0.0.2 and names actions by TAG (`actions/[email protected]`) while the workflows pin by SHA, under a repo policy of `sha_pinning_required: true`. It also lists `sonarqube.yml`, which main deleted in #69. The measurement is unambiguous. Of the sixteen runs at the merge head, all twelve that startup-failed are named in the lockfile and all four that ran -- Governance, Hypatia, Rust CI, Secret Scanner -- are not. Those four are the reusable callers, which reference hyperpolymath/standards and appear nowhere in it. Twelve for twelve and four for four, with main as the control: the same self-contained workflows succeed there, where no lockfile exists. Deletes the lockfile, restoring parity with main. Also strips the `# This workflow is managed by gh actions-lock.` header the same tool prepended to all twenty-five workflows: with the lockfile gone the claim is false, and left in place it invites the next reader to regenerate the file and re-break all twelve. Not fixed here, and worth a separate pass: the same tool stripped the `# vX.Y.Z` comment from every pinned SHA, so the pins are still correct but no longer self-documenting. Verified: 27/27 workflows parse (yq, with a negative control confirming it rejects conflict markers), 0 conflict-marker files, 0 non-SHA `uses:` refs, and actionlint reports 23 issues -- exactly main's count, all pre-existing shellcheck style notes. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WgqXnnNWBkiKMyUeLqzcuN



What
Deletes
.github/workflows/sonarqube.yml. Keepssonar-project.properties.Why
cicd-squabbler analyses with Sonar twice. Measured on
mainHEADbe78284:failureSonarQubegithub-actions— this workflowsuccessSonarCloud Code Analysissonarqubecloud— the AppThe SonarCloud App performs automatic analysis and emits the required
SonarCloud Code Analysiscontext on its own. The self-run workflow addsnothing but a second scan that fails on every push, burning a runner and
leaving a permanently red check on the board.
Why this is safe
app=sonarqubecloud;this workflow emits
app=github-actions. Deleting the file cannot take therequired check with it.
SonarQubeis not required. Ruleset18261844(Optimus-Branch,target=branch,enforcement=active) requires exactly three contexts:CodeQL,openssf-compliance,SonarCloud Code Analysis. No gate turnsabsent.
sonarqube.ymlis listed undernever_required_workflowsinstandards/config/rulesets/gates.json.actions.lock(404 at root,absent from
.github/workflows/), so there is no pin entry left dangling.sonar-project.propertiesstays; automaticanalysis reads its exclusions.
Provenance
Found by the dead-app / wasted-runner sweep (report:
.claude/reports/2026-09-08-dead-app-config-sweep.md, §5 "Wasted runner").Ruleset rollback JSON captured before any inspection.
🤖 Generated with Claude Code
https://claude.ai/code/session_01TCKh98NmUmfvgpuGyJbNu8