Repository navigation
builder-upgrade: install Xcode as a one-off LaunchDaemon - #93
Merged
Merged
Conversation
Run from an ssh session, xip --expand hangs at 0% CPU: PackageKit asks the ssh user's containermanagerd agent for a secure container, and that agent can't serve outside a GUI session. Three tries on r8-138 hung; the same script run by launchd finished in ~3 min. Polling the daemon also takes the step off ssh's timeout (an earlier attempt was killed at 60 min) and adds a 20 min stall check. xcode_ready reads Xcode.app's version.plist instead of running xcodebuild, which can hang with Xcode 12.x still selected on macOS 15.
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.
On r8-138 the Xcode step hung three times:
xip --expandsat at 0% CPU because PackageKit asks the ssh user's containermanagerd agent for a secure container, and that agent can't serve outside a GUI session ("Channel could not return listener port"). The sameinstall-xcode.shrun from a one-off LaunchDaemon finished in ~3 min. The step now does that and polls it, with a 20 min stall check, instead of running the installer inside an ssh session (which also tied it to ssh's 60 min timeout).xcode_readynow reads Xcode.app's version.plist instead of runningxcodebuild -version, which can hang with Xcode 12.x still selected on macOS 15.