Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix EOF exceptions in Gradle daemon when generating new metadata #4

Merged
merged 7 commits into from
Dec 30, 2022

Conversation

nedtwigg
Copy link
Member

When adding a new component inside a warm Gradle daemon, we would often get EOF exceptions which were due to JarURLConnection using a cached version of the jar. We now trap these errors and retry with caching disabled.

This error only takes place when generating metadata in a warm daemon, so it makes sense to keep caching enabled at prod-runtime.

@nedtwigg nedtwigg merged commit b08cd81 into main Dec 30, 2022
@nedtwigg nedtwigg deleted the fix/eof branch December 30, 2022 19:02
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