Repository navigation
build(test): raise the unit test JVM heap to 4096m - #262
Conversation
Robolectric NATIVE graphics, Roborazzi and several SDK sandboxes share one test fork and outgrow the 512m default heap.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe app Gradle configuration now sets a maximum heap size of ChangesUnit-test heap configuration
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Other Merge Risk: ⚪ Minimal · up to The change raises the unit-test JVM’s heap ceiling without changing app runtime behavior. No concrete CI memory-budget failure is established, so no actionable merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit checks the test-task heap, Comment |
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary
Robolectric NATIVE graphics, Roborazzi and several SDK sandboxes share one test fork. Together they outgrow Gradle's 512m default heap. The unit test fork now gets 4096m, matching the shared fleet build config.
Behavior changes
None: test build config only.
Verification
testDebugUnitTestpasses.🤖 Generated with Claude Code
https://claude.ai/code/session_011T1VTy3Z9tJ2Z5NxtpMP8x
Set the maximum heap size to
4096mfor unit-test JVM tasks inapp/build.gradle.kts.