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
hdiutilresource 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.