Skip to content

ci(sonar,netlify): use SonarCloud Automatic Analysis and disable Netlify PR previews - #149

Merged
ThePlenkov merged 19 commits into
mainfrom
devin/sonar-monorepo-setup
Aug 12, 2026
Merged

ci(sonar,netlify): use SonarCloud Automatic Analysis and disable Netlify PR previews#149
ThePlenkov merged 19 commits into
mainfrom
devin/sonar-monorepo-setup

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Switch the repository to SonarQube Cloud Automatic Analysis (GitHub App) for the whole repo, and stop Netlify from running deploy previews and branch deploys on pull requests to save build minutes. Production deploys from main still run.

What changed:

  • Removed the CI-based Sonar matrix (.github/workflows/sonar.yml, scripts/sonar-monorepo.ts, sonar-matrix.json, sonar-monorepo.json).
  • Replaced sonar-project.properties with .sonarcloud.properties so Automatic Analysis scopes sonar.sources to . and excludes generated/build/vendored directories.
  • Cleaned obsolete .codacy.yml exclusions for the removed Sonar files.
  • Added [context.deploy-preview] and [context.branch-deploy] ignore = "exit 0" to netlify.toml so Netlify only builds/deploys the production context from main.

Notes:

  • Automatic Analysis does not support the monorepo strategy, so per-package Sonar projects are no longer created. To enable autoscan, the extra abapify_adt-cli_* SonarCloud projects were removed and only the existing abapify_adt-cli project remains bound to this repository.
  • sonar.issue.ignore.* rules are not honored by Automatic Analysis; any false-positive suppressions must be configured in the SonarCloud UI under Administration > General Settings > Analysis Scope > Ignore Issues on Multiple Criteria.
  • Code coverage is not available with Automatic Analysis.

Link to Devin session: https://app.devin.ai/sessions/717d08150ac64c689c436d28aa11182c
Requested by: @ThePlenkov

Co-Authored-By: Petr Plenkov <petr.plenkov@gmail.com>
@ThePlenkov ThePlenkov self-assigned this Jul 29, 2026
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@netlify

netlify Bot commented Jul 29, 2026

Copy link
Copy Markdown

Deploy Preview for adt-cli canceled.

Name Link
🔨 Latest commit abe8a6a
🔍 Latest deploy log https://app.netlify.com/projects/adt-cli/deploys/6a7c45b257f9510008653bf5

@nx-cloud

nx-cloud Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

View your CI Pipeline Execution ↗ for commit da20926

Command Status Duration Result
nx affected -t lint test build e2e-ci --verbose... ✅ Succeeded 48s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-08-12 08:48:44 UTC

@codacy-production

codacy-production Bot commented Jul 29, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 25 complexity · 0 duplication

Metric Results
Complexity 25
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

devin-ai-integration Bot and others added 10 commits July 29, 2026 17:24
Co-Authored-By: Petr Plenkov <petr.plenkov@gmail.com>
Co-Authored-By: Petr Plenkov <petr.plenkov@gmail.com>
Co-Authored-By: Petr Plenkov <petr.plenkov@gmail.com>
Co-Authored-By: Petr Plenkov <petr.plenkov@gmail.com>
Co-Authored-By: Petr Plenkov <petr.plenkov@gmail.com>
Co-Authored-By: Petr Plenkov <petr.plenkov@gmail.com>
Co-Authored-By: Petr Plenkov <petr.plenkov@gmail.com>
Co-Authored-By: Petr Plenkov <petr.plenkov@gmail.com>
Co-Authored-By: Petr Plenkov <petr.plenkov@gmail.com>
@ThePlenkov
ThePlenkov marked this pull request as ready for review August 5, 2026 15:37
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

devin-ai-integration Bot and others added 2 commits August 12, 2026 08:32
Co-Authored-By: Petr Plenkov <petr.plenkov@gmail.com>
Update scripts/sonar-monorepo.ts so the root Nx project (abapify) gets
the remaining top-level directories that are not Nx project roots.
This keeps per-package scans separate while scanning the rest of the
repository (src, .github, scripts, docs, openspec, gascity, etc.) in a
dedicated monorepo root project without overlapping sources.

Co-Authored-By: Petr Plenkov <petr.plenkov@gmail.com>
@codeant-ai

codeant-ai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Skipping PR review because a bot author is detected.

If you want to trigger CodeAnt AI, comment @codeant-ai review to trigger a manual review.

Co-Authored-By: Petr Plenkov <petr.plenkov@gmail.com>
@devin-ai-integration
devin-ai-integration Bot force-pushed the devin/sonar-monorepo-setup branch from 980cf78 to 0609905 Compare August 12, 2026 08:47
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 25 complexity · 0 duplication

Metric Results
Complexity 25
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed for 'abapify'

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

- Remove the CI-based Sonar matrix workflow, matrix files, and generator
  script now that SonarCloud Automatic Analysis is enabled.
- Replace sonar-project.properties with .sonarcloud.properties scoped to
  the whole repository and excluding generated/build/vendored directories.
- Clean obsolete Codacy exclusions for the removed Sonar files.

Co-Authored-By: Petr Plenkov <petr.plenkov@gmail.com>
@devin-ai-integration devin-ai-integration Bot changed the title ci(sonar): set up SonarQube Cloud monorepo analysis ci(sonar): use SonarCloud Automatic Analysis for the whole repo Aug 12, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@devin-ai-integration devin-ai-integration Bot changed the title ci(sonar): use SonarCloud Automatic Analysis for the whole repo ci(sonar,netlify): use SonarCloud Automatic Analysis and disable Netlify PR previews Aug 12, 2026
@sonarqubecloud

Copy link
Copy Markdown

@ThePlenkov
ThePlenkov merged commit d100525 into main Aug 12, 2026
27 checks passed
@ThePlenkov
ThePlenkov deleted the devin/sonar-monorepo-setup branch August 12, 2026 10:36
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