Repository navigation
Size Agent disk images explicitly before hdiutil creation - #1081
Merged
Merged
Conversation
Two master runs each lost one signed macOS package at the final DMG step with "hdiutil: create failed - No space left on device", after signing, notarization and stapling had succeeded; the other profile on an identical runner passed. hdiutil was left to estimate the -srcfolder image size. Compute the payload size, add 20% plus 64 MB of headroom, and pass an explicit HFS+ size, as create-dmg and Tauri do. If creation still fails, print the sizes and free space so the next failure identifies a full disk. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MKzcTgkhQizMC3VRwJDb4q
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two of the last four master runs of
Maple Agent Desktop Buildseach lost one signed macOS package at the final DMG step:In both cases signing, notarization and stapling had already succeeded. Because
verify-macosneeds the whole matrix, neither run verified its successful package after download.macos-release-app.shlethdiutilestimate the-srcfolderimage size, and that estimate can come up short. The other profile passed on an identical runner with nearly the same content, and the preceding ~100 MBdittocopy succeeded. That points at the estimate rather than a full runner disk. The logs don't record free space, though, so a full disk isn't ruled out.Change
/Applicationssymlink, add 20% plus 64 MB, and pass it tohdiutilas an explicit-fs HFS+ -size. create-dmg and Tauri, which Research's DMGs use, do the same.df -hfor the output and temp volumes, then exit through the existing cleanup trap.dfis called by its absolute path,/bin/df, matching the no-PATH-lookup rule from Fix Gatekeeper tool paths in Agent packaging #1078.Validation
test_agent_workflows.pyandtest_signing_workflows.pyalso pass, andshellcheckreports only the existing SC2163 warning.hdiutil create -fs HFS+ -size …command on hosted macOS 26 runners.repository-checks, which runs the flake check and these Python fixtures, is path-filtered to workflow, CI-script and flake changes, so it won't run here. The local runs above are the fixture evidence.Possible follow-ups, not in this PR:
repository-checkscould also trigger onapps/maple-agent/scripts/**, so these packaging fixtures run in CI when they change.🤖 Generated with Claude Code
https://claude.ai/code/session_01MKzcTgkhQizMC3VRwJDb4q