ci: adjust sonar heap size and change to hosted runners#14909
Merged
ci: adjust sonar heap size and change to hosted runners#14909
Conversation
f88e40d to
a5ffee4
Compare
Contributor
There was a problem hiding this comment.
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-4xlargerunner and adjusted cache setup parameters. - Updated Turborepo
globalDependenciesto includesonar-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. |
|
couto
approved these changes
Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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