Skip to content

akou start gives a freshly installed app 3 s to answer, so the first launch of a new build fails while the app is still coming up #356

Closed

Description

@GeiserX

Seen on 2026-10-08 right after copying the signed 0.6.4 bundle over 0.6.2 on a Mac with SIP on (the G3 second half).

akou start -t g3c --without-models --json answered:

{"error":"unavailable","message":"akou did not answer within 3 s of launching; see .../launch.log and .../app.log"}

while app.log shows akou 0.6.4 started (pid …, app, headless, API on port 8476) a moment later, and a launcher process with no child stayed behind. The first launch of a new bundle is slower than a warm one (Gatekeeper's first assessment, nothing in the page cache). Two minutes later, with the app quit, the same command answered in 1445 ms.

Expected: while the launcher it spawned is alive, the CLI keeps waiting for a reasonable window instead of giving up at 3 s, and never leaves an orphan launcher.

Test to add: a start whose app answers after 4 s succeeds; positive control: one whose launcher exits fails fast.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions