From 8e7c9cd1263ead71a45666ccb2d4c9f61b9051e9 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Fri, 25 Sep 2026 09:18:02 +0200 Subject: [PATCH 1/2] ci: give analysis and QA enough memory The analysis workflow wrote org.gradle.jvmargs=-Xmx1g into ~/.gradle/gradle.properties, which overrides the app's own gradle.properties. lintGplayDebug then fails with "Java heap space", and on push the wrapper still reports success without uploading a lint baseline, so PR lint results are compared against a stale report. Raise the heap to 6g and run analysis and QA on ubuntu-latest-max: jobs landing on the smaller runners behind ubuntu-latest get killed mid-build ("The runner has received a shutdown signal"). Verified on nextcloud/talk-android#6643, where lint now completes. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Andy Scherzinger Signed-off-by: tobiasKaminsky --- config/workflows/analysis.yml | 4 ++-- config/workflows/qa.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/workflows/analysis.yml b/config/workflows/analysis.yml index a88af53..1d3a6d8 100644 --- a/config/workflows/analysis.yml +++ b/config/workflows/analysis.yml @@ -26,7 +26,7 @@ concurrency: jobs: analysis: - runs-on: ubuntu-latest + runs-on: ubuntu-latest-max steps: - name: Disabled on forks if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository }} @@ -70,7 +70,7 @@ jobs: run: | mkdir -p "$HOME/.gradle" { - echo "org.gradle.jvmargs=-Xmx1g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8" + echo "org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8" echo "org.gradle.configureondemand=true" } > "$HOME/.gradle/gradle.properties" scripts/analysis/analysis-wrapper.sh "${{ steps.get-vars.outputs.branch }}" "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" "$GITHUB_RUN_NUMBER" "${{ steps.get-vars.outputs.pr }}" diff --git a/config/workflows/qa.yml b/config/workflows/qa.yml index 3b3f80c..ccfddf6 100644 --- a/config/workflows/qa.yml +++ b/config/workflows/qa.yml @@ -18,7 +18,7 @@ concurrency: jobs: qa: - runs-on: ubuntu-latest + runs-on: ubuntu-latest-max steps: - name: Check if secrets are available run: echo "ok=${{ secrets.KS_PASS != '' }}" >> "$GITHUB_OUTPUT" From 627037045d9306005ee50b7ba8474e3bff68bf50 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Fri, 25 Sep 2026 10:20:13 +0200 Subject: [PATCH 2/2] add ubuntu-latest-max as new self-hosted-ci Signed-off-by: tobiasKaminsky --- .github/actionlint.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actionlint.yml b/.github/actionlint.yml index 8d084d1..5d7ab7e 100644 --- a/.github/actionlint.yml +++ b/.github/actionlint.yml @@ -7,3 +7,4 @@ self-hosted-runner: # Labels of self-hosted runner in array of strings. labels: - ubuntu-latest-low + - ubuntu-latest-max