Skip to content

fix: temporary directories not being cleaned up after use#482

Merged
riley-kohler merged 1 commit into
github-community-projects:mainfrom
capitalone-contributions:ensure-temporary-directory-cleanup
Jun 8, 2026
Merged

fix: temporary directories not being cleaned up after use#482
riley-kohler merged 1 commit into
github-community-projects:mainfrom
capitalone-contributions:ensure-temporary-directory-cleanup

Conversation

@riley-kohler

@riley-kohler riley-kohler commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Pull Request

Proposed Changes

This change fixes an issue where the lack of temporary directory deletion after mirror creation or syncing can cause the application storage to get full over time and eventually result in failures. This was fixed by adding a helper function to cleanup a passed in temporary directory and ensuring that all exit points where a temporary directory was created have the cleanup function called.

Readiness Checklist

Author/Contributor

  • If documentation is needed for this change, has that been included in this pull request
  • run npm run format and fix any formatting issues that have been introduced
  • run npm run lint and fix any linting issues that have been introduced
  • run npm run test and run tests

@riley-kohler riley-kohler requested review from a team as code owners June 5, 2026 20:37
@github-actions github-actions Bot added the fix label Jun 5, 2026
@riley-kohler riley-kohler merged commit aa73a65 into github-community-projects:main Jun 8, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants