Skip to content

cleanup(install.sh): remove ~510 lines of dead post-3c code - #336

Merged
joelteply merged 1 commit into
canaryfrom
cleanup-install-sh-dead-code
Apr 29, 2026
Merged

joelteply merged 1 commit into
canaryfrom
cleanup-install-sh-dead-code

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Drops dead defs of _ensure_sshd_running, tailscale_present, install_tailscale, ts_post_check that no caller invokes post-3c. install.sh shrinks 1057 → 545 lines. clean_install_smoke still 6/6. Updates post-install message to point at 'airc doctor --fix' for repair.

After Phase 3c we stopped invoking _ensure_sshd_running,
tailscale_present, install_tailscale, and ts_post_check from the
default install path. The function bodies stayed defined 'for any
opt-in user' but nothing in the codebase invokes them — they were
just maintenance burden + risk of someone re-introducing call sites
by mistake.

Deletions:
  _ensure_sshd_running (~440 lines incl. Windows PowerShell heredoc
  for sshd ACL fixup)
  tailscale_present + install_tailscale (~55 lines)
  ts_post_check + section comments (~55 lines)

Updated comments to stop referencing the removed fns. Trimmed the
post-install message to drop the manual 'gh auth login -s gist'
step (install.sh now runs it interactively per #331). Added pointer
to 'airc doctor --fix' for mid-session repair.

install.sh: 1057 → 545 lines (-50%). clean_install_smoke still 6/6.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@joelteply
joelteply merged commit 19f61e6 into canary Apr 29, 2026
@joelteply
joelteply deleted the cleanup-install-sh-dead-code branch April 29, 2026 18:57
joelteply added a commit that referenced this pull request Apr 29, 2026
canary → main: nick mesh-collision + bio render + install dead-code cleanup (#335, #336)
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.

1 participant