diff --git a/.github/workflows/healthchat-release-playstore.yml b/.github/workflows/healthchat-release-playstore.yml index d646ba9794..ba804f3972 100644 --- a/.github/workflows/healthchat-release-playstore.yml +++ b/.github/workflows/healthchat-release-playstore.yml @@ -46,17 +46,24 @@ concurrency: env: # Upstream's workflows hardcode -Xmx8g / Kotlin daemon -Xmx4g, sized for the - # 4-core/16GB ubuntu-latest that public repos get. On this container the - # daemon keeps getting SIGKILLed mid-build (DaemonDisappearedException, no - # OutOfMemoryError, no heap dump), so stay well under upstream's ceiling and - # leave room for the Kotlin daemon and the parallel lint workers. + # 4-core/16GB ubuntu-latest that public repos get. On the previous incus + # container the daemon kept getting SIGKILLed mid-build + # (DaemonDisappearedException, no OutOfMemoryError, no heap dump), so these + # values stay well under upstream's ceiling and leave room for the Kotlin + # daemon and the parallel lint workers. Re-check them against the "Report + # runner capacity" output now that jobs land on the persistent org runners, + # whose specs may differ. GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx6g -XX:MaxMetaspaceSize=768m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx2g CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true --no-configuration-cache jobs: release: name: Build and upload AAB to Play Store - runs-on: novaloop-incus-large + # Persistent org runners (github-runner-01, gha-runner-1..3). The previous + # novaloop-incus-large label pointed at the GARM ephemeral pool, whose freshly + # spawned runners were reaped mid-job — jobs died ~10 minutes in with + # "The operation was canceled" and no other diagnostic. + runs-on: [self-hosted, Linux, X64] steps: - uses: actions/checkout@v4 with: