Skip to content

ci: cap Java test shard heap - #220

Merged
ankitTelnyx merged 1 commit into
masterfrom
ci/cap-java-test-heap
Aug 14, 2026
Merged

ci: cap Java test shard heap#220
ankitTelnyx merged 1 commit into
masterfrom
ci/cap-java-test-heap

Conversation

@ankitTelnyx

Copy link
Copy Markdown
Collaborator

Summary

  • cap the production CI test-shard Gradle daemon at the previously working 2–8 GiB range
  • keep the generated release configuration at 12 GiB for larger staging runners
  • preserve all SDK, ProGuard, R8, and aggregate test coverage

Root cause evidence

After #219 removed the deterministic 30-minute timeout, release PR #216 still lost separate ubuntu-latest runners while using its newly generated -Xms12g -Xmx12g configuration:

  • SDK shard: cancelled after 16m22s
  • R8 shard: cancelled after 15m14s
  • both steps ended with The operation was canceled, not test assertions

Current master uses -Xms2g -Xmx8g, and all three shards passed there. The release PR changes that file to 12/12 GiB, leaving too little host headroom on standard production runners.

Validation

  • actionlint .github/workflows/ci.yml
  • git diff --check
  • all three shard task dry-runs passed with the command-line override
  • exact release head 9a5b8fa8328df79a22ef442d4e2c401c909df690 precedence probe showed the daemon starting with -Xms2g -Xmx8g, overriding its generated 12/12 GiB properties

@ankitTelnyx
ankitTelnyx merged commit 6a7d6ac into master Aug 14, 2026
15 checks passed
@ankitTelnyx
ankitTelnyx deleted the ci/cap-java-test-heap branch August 14, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant