Skip to content

ci: adjust sonar heap size and change to hosted runners#14909

Merged
lewisd5 merged 2 commits intodevelopfrom
support/sonar-heap-size-adjustments
Mar 2, 2026
Merged

ci: adjust sonar heap size and change to hosted runners#14909
lewisd5 merged 2 commits intodevelopfrom
support/sonar-heap-size-adjustments

Conversation

@lewisd5
Copy link
Contributor

@lewisd5 lewisd5 commented Mar 2, 2026

Adjust heap size for new scanning requirements. Move to a more optimised runner to reduce timing on PR flows

Main SonarQube run: https://github.com/LedgerHQ/ledger-live/actions/runs/22570135560/job/65375619173
PR run: https://github.com/LedgerHQ/ledger-live/actions/runs/22573408050
Ticket: https://ledgerhq.atlassian.net/browse/LIVE-27075

@live-github-bot live-github-bot bot added the automation CI/CD stuff label Mar 2, 2026
@lewisd5 lewisd5 force-pushed the support/sonar-heap-size-adjustments branch from f88e40d to a5ffee4 Compare March 2, 2026 11:37
@LedgerHQ LedgerHQ deleted a comment from github-actions bot Mar 2, 2026
@lewisd5 lewisd5 marked this pull request as ready for review March 2, 2026 11:38
@lewisd5 lewisd5 requested a review from a team as a code owner March 2, 2026 11:38
Copilot AI review requested due to automatic review settings March 2, 2026 11:38
@LedgerHQ LedgerHQ deleted a comment from github-actions bot Mar 2, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Sonar scanning CI configuration to meet increased memory requirements and to run on a different (more optimized) runner type, aiming to reduce PR workflow duration.

Changes:

  • Increased Sonar JavaScript analyzer Node heap limit in sonar-project.properties.
  • Migrated Sonar workflows to the ledger-live-4xlarge runner and adjusted cache setup parameters.
  • Updated Turborepo globalDependencies to include sonar-project.properties.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
turbo.json Adds sonar-project.properties to Turborepo global cache invalidation inputs.
sonar-project.properties Raises sonar.javascript.node.maxspace to support heavier scans.
.github/workflows/sonar.yml Moves scheduled Sonar scan to ledger-live-4xlarge and disables proto installation in cache setup.
.github/workflows/scan-sonar-reusable.yml Moves reusable Sonar scan workflow to ledger-live-4xlarge and disables proto installation in cache setup.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 2, 2026

@lewisd5 lewisd5 merged commit 99a63ad into develop Mar 2, 2026
144 of 152 checks passed
@lewisd5 lewisd5 deleted the support/sonar-heap-size-adjustments branch March 2, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants