Skip to content

ci(sonar): report to the combsmith SonarCloud organization - #1338

Merged
don-petry merged 1 commit into
mainfrom
chore/sonarcloud-combsmith
Oct 14, 2026
Merged

don-petry merged 1 commit into
mainfrom
chore/sonarcloud-combsmith

Conversation

@don-petry

@don-petry don-petry commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to the org rename: moves this repo's SonarCloud config from the petry-projects SonarCloud organization to the new combsmith one (piloted on combsmith/markets#530: analysis succeeded with the existing SONAR_TOKEN once Automatic Analysis was off).

5 files changed, 9 insertions(+), 9 deletions(-)

🤖 Generated with Claude Code

View guided diff Turn on auto-fix

Problem

See the linked issue.

Risk

Medium — changes GitHub Actions workflow behavior, which is exercised only post-merge; verify via the affected workflow runs.

Test plan

Tests added/updated: test/scripts/compliance-audit/sonar-s7637-exemption.bats,test/scripts/sonarcloud-audit/pure-helpers.bats. Verification: bash scripts/dev-lead-lint.sh (shellcheck --severity=warning) ran pre-commit; the bats suite runs in CI.

Rollback

Revert this PR. No non-revertible side effects (no tags, migrations, or external state).

Monitoring

Watch the affected workflow run(s) in the Actions tab and this PR's Lint check for regressions.

Moves sonar.organization / sonar.projectKey (and the related fixtures, badges and audit defaults) from the petry-projects SonarCloud organization to the new combsmith one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@don-petry
don-petry requested a review from a team as a code owner October 14, 2026 21:21
@coderabbitai

coderabbitai Bot commented Oct 14, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 8 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: a3a65efb-3256-4b8a-9a01-6acd05258db9
📥 Commits

Reviewing files that changed from the base of the PR and between ee1dbe4 and a26c638.

📒 Files selected for processing: 5
  • .github/workflows/sonarcloud-audit.yml
  • scripts/sonarcloud-audit.sh
  • sonar-project.properties
  • test/scripts/compliance-audit/sonar-s7637-exemption.bats
  • test/scripts/sonarcloud-audit/pure-helpers.bats
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T21:24:51.896818Z a26c638 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sonarqubecloud

Copy link
Copy Markdown

@don-petry

Copy link
Copy Markdown
Contributor Author

Dev-Lead — waiting on PR blockers (intent: review-changes)

PR: #1338
No changes were committed, but the PR still can't be marked done: required check SonarCloud is still pending. The retry cron will re-attempt automatically. Next attempt after: 2026-10-14T21:52:54Z

@don-petry

Copy link
Copy Markdown
Contributor Author

Note

@don-petry I reviewed this PR and no code changes were needed, but I can't mark it done yet: required check SonarCloud is still pending. I'll re-check automatically.
Next attempt after: 2026-10-14T21:52:54Z

@don-petry
don-petry enabled auto-merge (squash) October 14, 2026 21:23

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a26c638f85

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

env:
ORG: ${{ github.repository_owner }}
SONAR_ORG: petry-projects
SONAR_ORG: ${{ github.repository_owner }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep the legacy Sonar organization in the migration scan

When any repository is still registered only under petry-projects—the staged state described here, where this commit migrates .github after only the markets pilot—this override makes the weekly fleet audit enumerate only combsmith. The same run then calls close_resolved for every GitHub repository, and close_resolved interprets every absent group as resolved, so it will close valid audit issues and stop reporting findings for repositories not yet moved. Scan both Sonar organizations, or disable closures, until the fleet migration is verified rather than switching the destructive audit in one step.

AGENTS.md reference: AGENTS.md:L419-L426

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed: added a CLOSE_RESOLVED switch (default true) in scripts/sonarcloud-audit.sh that skips close_resolved in main, and set CLOSE_RESOLVED: 'false' in .github/workflows/sonarcloud-audit.yml until the fleet migration is verified. Repos still only under petry-projects no longer get their audit issues auto-closed.

@donpetry-bot

Copy link
Copy Markdown
Contributor

Advisory bots were rate-limited; auto-approval is withheld until they recover. pr-review-sweep will re-review this PR after 2026-10-14T22:27:32Z.

@don-petry
don-petry disabled auto-merge October 14, 2026 21:27
@don-petry

Copy link
Copy Markdown
Contributor Author

CodeRabbit comment contains only a review rate-limit notice and no findings sections; no action needed.

@don-petry

Copy link
Copy Markdown
Contributor Author

Codex summary table only reports review status (completed); its one finding is the review thread, addressed separately.

@don-petry

Copy link
Copy Markdown
Contributor Author

SonarCloud reports Quality Gate Passed; no findings.

@don-petry
don-petry merged commit 84b7354 into main Oct 14, 2026
41 of 50 checks passed
@don-petry
don-petry deleted the chore/sonarcloud-combsmith branch October 14, 2026 21:29
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.

2 participants