Skip to content

ci: force the jvm test leg fully serial to fix intermittent OOM hangs - #1264

Merged
michalharakal merged 1 commit into
developfrom
feature/ci-jvm-leg-memory
Sep 5, 2026
Merged

michalharakal merged 1 commit into
developfrom
feature/ci-jvm-leg-memory

Conversation

@michalharakal

Copy link
Copy Markdown
Contributor

The jvm leg runs nearly every module's jvmTest sequentially, each forking its own 8g-heap Test JVM. ci-gradle.properties already caps org.gradle.workers.max at 2 repo-wide, but on this leg two 8g forks plus the 4g Gradle client JVM can still exceed the 16 GB runner. develop's PR #1262 merge commit hit this twice in a row (test (jvm) silently hanging ~30-40 min before the 40-min timeout force-cancelled it) - the same "operation was canceled" signature this leg was already split out to avoid, just needing the extra thread/heap pressure SKEEP-005's new concurrency tests added to tip it over.

The jvm leg runs nearly every module's jvmTest sequentially, each forking its
own 8g-heap Test JVM. ci-gradle.properties already caps org.gradle.workers.max
at 2 repo-wide, but on this leg two 8g forks plus the 4g Gradle client JVM can
still exceed the 16 GB runner. develop's PR #1262 merge commit hit this twice
in a row (test (jvm) silently hanging ~30-40 min before the 40-min timeout
force-cancelled it) - the same "operation was canceled" signature this leg was
already split out to avoid, just needing the extra thread/heap pressure
SKEEP-005's new concurrency tests added to tip it over.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@michalharakal
michalharakal merged commit de58e9f into develop Sep 5, 2026
14 checks passed
@michalharakal
michalharakal deleted the feature/ci-jvm-leg-memory branch September 5, 2026 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant