镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

just install confirms the new hub-daemon started, or says macOS refused to start it #361

Open

Description

@ooloth

Current state

After just install replaces hub-daemon with a changed build, signals stop for over a minute while nothing says why. The install prints restarted hub-daemon and exits successfully, but macOS kills the first start of the new binary with last exit reason = OS_REASON_CODESIGNING. On 2026-10-17, launchd's next start came 79 seconds after the install and ran normally, with nobody touching anything. An install whose binary had not changed started at once. Whether macOS ever refuses for longer, and what it shows when it does, has not been seen.

Ideal state

  • just install reports success only once the new daemon has started under launchd: a start line from a new pid
  • When macOS refuses to start the new daemon, just install says so plainly

Decisions

Constraints

Open

No open decisions.

Starting points

  • scripts/src/daemon_agent/command.rs — restart_if_running, which just install calls, and the launchctl steps it runs
  • scripts/src/daemon_agent/plan.rs — the steps a restart takes, including kickstart -k

Activity

  1. added this to the milestone on Oct 17, 2026
  2. changed the title [-]Phase 3.8 — `just install` confirms the new hub-daemon started, or says macOS refused to start it[/-] [+]`just install` confirms the new hub-daemon started, or says macOS refused to start it[/+] on Oct 18, 2026
  3. removed this from the milestone on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions