Repository navigation
Avoid redundant launchd restart during host enrollment - #2972
Merged
Conversation
ymichael
force-pushed
the
bb/remove-redundant-launchd-restart-during-enrollme-thr_pryxur4mv4
branch
from
September 2, 2026 23:16
c117eb1 to
16e6704
Compare
ymichael
changed the base branch from
main
to
bb/investigate-modal-sandboxes-for-bb-thr_q76bgsd4em
September 2, 2026 23:16
Collaborator
Author
|
Top-of-stack E2E passed on Stack tested:
A fresh server was built from the top commit and a uniquely isolated macOS host was enrolled through the unmodified Cold path:
Single-start proof:
Lifecycle check:
Warm reinstall/update path:
Targeted logs contained no shutdown watchdog force-exit, SIGKILL, or |
ymichael
deleted the
bb/remove-redundant-launchd-restart-during-enrollme-thr_pryxur4mv4
branch
September 2, 2026 23:58
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.
Human comments
What was wrong
The macOS installer bootstrapped a launch agent configured with both RunAtLoad and unconditional KeepAlive, then immediately ran kickstart -k. launchd already starts that job during bootstrap; -k can kill that just-started process and subject the replacement to launchd's default 10-second spawn throttle. The existing readiness check was therefore delayed by an unnecessary forced restart.
What changed
How you verified
Fixes: N/A (standalone performance improvement)