illogicald join/leave/install: say what's next, plain-language errors, check the daemon runs #107

Closed
opened 2026-10-03 06:38:03 +00:00 by jhgaylor · 0 comments
Owner

What the daemon prints around joining is terse and leaves you guessing what's next.

illogicald join (crates/daemon/src/control.rs)

  • It says "your account" even with --team (#100).
  • It doesn't mention the 15-minute expiry, typing the code instead of opening the link, or --team.
  • After approval: "Joined… A running daemon picks this up within a few seconds." It doesn't check whether a daemon is running, or say where to look next.
  • Errors are raw HTTP: control said 404 Not Found: {"error":"no such team"}.
  • "already joined to {url} (account {hex}); illogicald leave first" shows a hex id.

illogicald leave prints "Left {url} (account {hex})." It doesn't say the machine keeps working locally, or how to rejoin.

illogicald install (Linux) prints wrote/started and the linger note. It doesn't print the URL or the logs command, and Homebrew users only ever see this output. On macOS a failed launchctl bootstrap gives no next step.

Close it by

  • join, waiting: "Waiting for approval (the code lasts 15 minutes)… Open the link on a signed-in device, or type {code} at {url}." Add a line about --team ID when no team was given.
  • join, joined: "This machine is in {your account | team X}. Open {url}; it's in the host menu." If no daemon is listening: "illogicald isn't running: illogicald install."
  • Errors: parse {"error": …} into a plain sentence everywhere.
  • leave: "illogical keeps running here; reach it at http://127.0.0.1:7681. Rejoin with illogicald join {url}."
  • install: after "started": "Open http://127.0.0.1:7681", the logs command (journalctl --user -u illogicald -e / the log path), and one line on reaching it from elsewhere (tailscale serve or illogicald join https://control.illogical.widgets.wtf).
What the daemon prints around joining is terse and leaves you guessing what's next. **`illogicald join`** (`crates/daemon/src/control.rs`) - It says "your account" even with `--team` (#100). - It doesn't mention the 15-minute expiry, typing the code instead of opening the link, or `--team`. - After approval: "Joined… A running daemon picks this up within a few seconds." It doesn't check whether a daemon *is* running, or say where to look next. - Errors are raw HTTP: `control said 404 Not Found: {"error":"no such team"}`. - "already joined to {url} (account {hex}); `illogicald leave` first" shows a hex id. **`illogicald leave`** prints "Left {url} (account {hex})." It doesn't say the machine keeps working locally, or how to rejoin. **`illogicald install`** (Linux) prints wrote/started and the linger note. It doesn't print the URL or the logs command, and Homebrew users only ever see this output. On macOS a failed `launchctl bootstrap` gives no next step. **Close it by** - **join, waiting:** "Waiting for approval (the code lasts 15 minutes)… Open the link on a signed-in device, or type {code} at {url}." Add a line about `--team ID` when no team was given. - **join, joined:** "This machine is in {your account | team X}. Open {url}; it's in the host menu." If no daemon is listening: "illogicald isn't running: `illogicald install`." - **Errors:** parse `{"error": …}` into a plain sentence everywhere. - **leave:** "illogical keeps running here; reach it at http://127.0.0.1:7681. Rejoin with `illogicald join {url}`." - **install:** after "started": "Open http://127.0.0.1:7681", the logs command (`journalctl --user -u illogicald -e` / the log path), and one line on reaching it from elsewhere (tailscale serve or `illogicald join https://control.illogical.widgets.wtf`).
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jhgaylor/illogical#107
No description provided.