diff --git a/sonar-project.properties b/sonar-project.properties index e81f2a23f..d3bc20bcd 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -59,6 +59,12 @@ sonar.coverage.exclusions=\ # Locale files are large near-identical literal objects — keep them out of duplication metrics sonar.cpd.exclusions=shared/src/i18n/** +# The full analysis of a push to dev outgrows the JS/TS analyser's default heap +# of about 4 GB since the ORM migration and stops with "Analysis of JS/TS files +# failed". PR scans stay below it because they only look at the changed files. +# The hosted runner has 16 GB. +sonar.javascript.node.maxspace=8192 + # Only categorical, path-wide suppressions live here — cases where the rule can # never meaningfully apply to anything in the path. Instance-specific findings