Skip to content

test: retry detaching the test disk image when macOS reports it busy - #11

Merged
devloop01 merged 1 commit into
mainfrom
fix/flaky-detach
Nov 25, 2026
Merged

devloop01 merged 1 commit into
mainfrom
fix/flaky-detach

Conversation

@devloop01

Copy link
Copy Markdown
Owner

TestRemoveRefusesFolderMountedIntoSinceScan mounts a small disk image, and its cleanup sometimes fails on GitHub's macOS runners with hdiutil detach: exit status 16 (resource busy) while macOS still holds the volume. It failed this way on main on Nov 14 and on #10, and passed both times on a rerun.

The cleanup now tries the detach up to 5 times, a second apart, and only fails the test if every try fails. The test itself is unchanged.

🤖 Generated with Claude Code

@changeset-bot

changeset-bot Bot commented Nov 25, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0f0578b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@devloop01
devloop01 merged commit adf67a6 into main Nov 25, 2026
1 check passed
@devloop01
devloop01 deleted the fix/flaky-detach branch November 25, 2026 08:04
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