Skip to content

fix(fleet): the way back from standalone — alias-substituting installer + Fleet — Enroll - #1034

Merged
jeonghun-jj-lee merged 1 commit into
mainfrom
fleet/install-alias-substitution
Sep 12, 2026
Merged

jeonghun-jj-lee merged 1 commit into
mainfrom
fleet/install-alias-substitution

Conversation

@aarontrowbridge

@aarontrowbridge aarontrowbridge commented Sep 12, 2026

Copy link
Copy Markdown
Member

The way back from standalone. See commit messages for the full detail: 2f180d3 (Fleet — Enroll + standalone status-bar item — #338 called re-enrollment 'a separate flow'; this is that flow) and 0f82a62 (alias-substituting installer + deploy-receipt refresh — the placeholder that looped launchd on an unresolvable hostname while --check said all-ok).

Incident chain (2026-09-12, MacBook, observed live three times): broken installer → placeholder tunnel → panel stuck booting → 10-second 'Go Standalone?' trap dialog ate the rejoin → standalone hid the status-bar item entirely → no in-UI way back.

Verification: fleet_fallback 9/9 (3 new enroll tests); build green; the 4 unrelated suite failures on this tree are uncommitted WIP (verified passing on clean main on erlich); three live rejoin/recovery cycles driven by this code; installer --check green with synthetic-placeholder detection.

…ploy receipt

The installer copied the tunnel plist template verbatim, shipping a literal
FLEET_SSH_ALIAS placeholder — launchd looped forever on 'could not resolve
hostname fleet_ssh_alias' while --check reported all-ok (it never checked the
alias). Now:

- install.sh (both copies — root + packaged) reads canonical.sshAlias from
  fleet.json, substitutes it (and the port) into the plist at install,
  refuses to install a tunnel with no alias, and --check fails loudly on an
  unsubstituted placeholder or a wrong alias
- reconciles the parallel uncommitted fix in the packaged copy (same intent,
  written twice — the duplicate is now byte-identical to the root)
- regenerates the agent-cards deploy receipt for the current 7-card source
  set (the committed receipt still named the retired autodev/autoresearch
  cards, flagging agent-cards surfaces stale on every fleet machine)
@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: a545aecb-fdbf-4873-93c9-c514c24d6b5d


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jeonghun-jj-lee
jeonghun-jj-lee merged commit 072fdb0 into main Sep 12, 2026
10 checks passed
@aarontrowbridge aarontrowbridge changed the title fix(fleet): substitute the tunnel ssh alias in install.sh; refresh deploy receipt fix(fleet): the way back from standalone — alias-substituting installer + Fleet — Enroll Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants