Add Gradle caching and attempt to de-flicker the Windows build#894
Merged
Add Gradle caching and attempt to de-flicker the Windows build#894
Conversation
The Windows job intermittently failed with "Connection reset by peer" and exit value 100 from the Gradle test executor — symptoms of an out-of-memory crash in the test JVM under TestKit + parallel workers on RAM-constrained Windows runners. - Cap test executor heap to 1g on Windows so an over-budget run throws a clean OOMError instead of crashing the JVM natively. - Limit --max-workers=2 on the Windows job to reduce concurrent test JVMs and TestKit child daemons. - Add the org.gradle.test-retry plugin and enable 2 retries when CI=true to absorb residual TestKit/file-locking flakes; local runs unaffected. - Scope the JVM 11 Kotlin target override to compileKotlin only, silencing the "Inconsistent JVM-target compatibility" warning between compileTestJava (21) and compileTestKotlin (11). Production bytecode is unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.