Skip to content

v0.4.5 — launchd bootstrap race + fast path

Choose a tag to compare

@github-actions github-actions released this 02 May 08:55
· 773 commits to main since this release
9aaddb3

Patch release. Fixes the Bootstrap failed: 5: Input/output error reported on a macOS host where v0.4.2 had already wired the launchd plist and the user re-ran the wizard.

Fixed

  • muxa init no longer hits EIO from launchctl bootstrap when re-run against an already-installed launchd agent (#22). Two orthogonal changes:
    • 1500 ms sleep between bootout and bootstrap. launchd needs ~1-2 s to reap the previous agent's state before it'll accept a re-bootstrap into the same slot. The fresh-install path doesn't hit this delay because the new fast path below short-circuits.
    • Fast-path skip when the agent is already loaded. If launchctl print gui/<uid>/<label> succeeds, just kickstart -k to pick up any binary/config changes and return. The common idempotent re-run case is now both faster and entirely bypasses the EIO surface.

Upgrading

git pull
cargo install --path crates/muxad --locked
cargo install --path crates/muxa-cli --locked
muxa init --component muxad-launchd --yes   # idempotent, safe to re-run

If you previously hit EIO and manually bootstrapped the agent (the workaround that was floating around), v0.4.5's wizard now does the right thing on its own — no manual intervention needed.

PR: #22