ReviewOS

craft-native/craft

retry transient hdiutil Resource busy failures

#16
Closed chris opened this 22 days ago · 1 comment
22 days ago

Problem

The Stacks native lifecycle matrix failed on macOS arm64 while Intel, Linux, and Windows passed. Craft's DMG creation exited immediately when hdiutil create returned the transient host error Resource busy. The runner then reported an orphaned diskimages-help process.

Failure evidence: https://github.com/stacksjs/stacks/actions/runs/29890315912/job/88829292229

Scope

  • Retry only recognized transient hdiutil resource contention failures with bounded delay.
  • Preserve full command output and fail immediately for deterministic packaging errors.
  • Clean up partial output between attempts.
  • Add focused tests for retry classification and exhaustion.
  • Release and repin Stacks to the fixed Craft source.

Acceptance

All four Stacks lifecycle targets complete install, update, rollback, and uninstall from the exact fixed Craft revision.

Sign in to comment on this issue.