Skip to content

Fix curl installer terminal handoff - #32

Merged
Demonbane18 merged 6 commits into
mainfrom
codex/fix-installer-tty-sync
Aug 10, 2026
Merged

Fix curl installer terminal handoff#32
Demonbane18 merged 6 commits into
mainfrom
codex/fix-installer-tty-sync

Conversation

@Demonbane18

Copy link
Copy Markdown
Owner

What changed

  • validate that a controlling terminal is available before starting the macOS/Linux installer
  • pass /dev/tty to both the installed-Node and portable-Node Relmio launch paths
  • add real PTY regression coverage for the exact curl | sh pipeline, both runtime paths, no-terminal failure, and the Git Bash fixture

Why

The installer historically redirected the Relmio process from /dev/null so it would not consume the remaining curl pipe. After the CLI began requiring interactive stdin and stdout, that redirect guaranteed a non-interactive launch and produced the “interactive terminal” error even from a real terminal.

Impact

curl -fsSL https://relmio.vercel.app/install.sh | sh can open the local wizard again while still failing clearly when no controlling terminal exists. PowerShell, CMD, and npm behavior are unchanged.

Validation

  • npm run check — 123 passed, 6 Windows-only skipped, 0 failed
  • focused installer suite — 7/7 passed
  • sh -n web/public/install.sh
  • git diff --check
  • npm audit --audit-level=high
  • npm pack --dry-run
  • independent Astral Sol review: ship

Native Windows CI remains required before merge. After merge, the live Vercel installer and external Homebrew tap will be synchronized and verified by the release-everywhere audit.

@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
relmio Ready Ready Preview Aug 10, 2026 10:43am

@Demonbane18
Demonbane18 merged commit d57197a into main Aug 10, 2026
13 checks passed
@Demonbane18
Demonbane18 deleted the codex/fix-installer-tty-sync branch August 10, 2026 10:47
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