From 3582906332e73595533eb7ee73b1ee107bdc3812 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 20 Jul 2026 18:18:06 +0200 Subject: [PATCH] github: Disable SonarQube's (beta) taint analysis This does not seem to work on these runners. Tried setting dataflowMemoryLimit, but that only seems to affect the analysis (which causes a warning: "Taint analysis was stopped early due to low memory. The analysis may not have explored the whole program.") not the post-processing that evidently causes the runner to get killed due to OOM (there is no explicit error, but in the debug log we see "The runner has received a shutdown signal", which apparently can indicate OOM issues). --- .github/workflows/sonarcloud.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index f57b150f8..e7affd013 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -65,7 +65,8 @@ jobs: args: > -Dsonar.projectKey=${{ secrets.SONAR_PROJECT }} -Dsonar.organization=${{ secrets.SONAR_ORGANIZATION }} - -Dsonar.cfamily.threads=2 + -Dsonar.cfamily.threads=4 + -Dsonar.cfamily.taintAnalysis=false -Dsonar.cfamily.compile-commands=${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json - run: ccache -sv - if: github.event_name == 'push'