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

Always Clean up Temporary Directory #235

Merged
merged 1 commit into from
Sep 28, 2022

Conversation

nwchandler
Copy link
Collaborator

This addresses a bug, in which the temporary directory created by the agent would only be cleaned up in the event that hcdiag ran to its expected completion. Certain error cases, such as product healthcheck failures, would end up leaving the temporary directory on the filesystem. We now should clean up after ourselves, regardless of whether the agent run completes successfully or whether it errors.

@nwchandler nwchandler self-assigned this Sep 27, 2022
@nwchandler nwchandler requested a review from a team September 27, 2022 18:17
@mkcp
Copy link
Contributor

mkcp commented Sep 28, 2022

LGTM 👍

@nwchandler nwchandler merged commit 0237b8a into main Sep 28, 2022
@nwchandler nwchandler deleted the nwchandler/cori2-417-healthcheck-cruft branch September 28, 2022 18:41
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.

None yet

2 participants