Skip to content

Tolerate temporary directory cleanup failures#55

Merged
ioquatix merged 1 commit into
mainfrom
tolerate-temporary-directory-cleanup
Jun 21, 2026
Merged

Tolerate temporary directory cleanup failures#55
ioquatix merged 1 commit into
mainfrom
tolerate-temporary-directory-cleanup

Conversation

@samuel-williams-shopify

@samuel-williams-shopify samuel-williams-shopify commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • clean up TemporaryDirectoryContext roots with forced FileUtils.remove_entry(root, true)
  • document why forced cleanup is used: teardown should tolerate paths already removed by the test or an external process
  • add regression coverage for normal cleanup and already-removed temporary directories
  • add an ## Unreleased release note

Testing

  • /Users/samuel/.local/state/tec/toolchain/base_profile/bin/bundle exec sus
  • /Users/samuel/.local/state/tec/toolchain/base_profile/bin/bundle exec rubocop --format simple

@samuel-williams-shopify samuel-williams-shopify force-pushed the tolerate-temporary-directory-cleanup branch 3 times, most recently from 92c96cb to 27846fb Compare June 21, 2026 10:09
@samuel-williams-shopify samuel-williams-shopify force-pushed the tolerate-temporary-directory-cleanup branch from 27846fb to fbd5bc1 Compare June 21, 2026 10:11
@ioquatix ioquatix merged commit 81b59ea into main Jun 21, 2026
40 checks passed
@ioquatix ioquatix deleted the tolerate-temporary-directory-cleanup branch June 21, 2026 10:13
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.

2 participants