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

cleanup temp remote artifact #4568

Merged
merged 1 commit into from
Oct 10, 2024
Merged

cleanup temp remote artifact #4568

merged 1 commit into from
Oct 10, 2024

Conversation

natedanner
Copy link
Contributor

What's changed?

Move cleanup of temporary artifact in the put method of LocalRemoteArtifactCache.java to the finally block.

What's your motivation?

Having disk fill up in the Moderne SaaS on a large run that is updating gradle wrappers.
Related to: https://github.com/moderneinc/customer-requests/issues/620

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

@sambsnyd

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@natedanner natedanner marked this pull request as ready for review October 10, 2024 22:44
@natedanner natedanner merged commit 79b78ba into main Oct 10, 2024
2 checks passed
@natedanner natedanner deleted the cleanup-gradle-tmp branch October 10, 2024 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants