Skip to content

Schema-only branch creation hangs on Windows terminal #286

Open

Description

@agent-zhang-beihai

What happens

Creating a schema-only backend branch does not return within the CLI timeout and eventually fails with an EPIPE from the interactive progress prompt on Windows Node 25.

Command

npx -y @insforge/cli branch create feat-emr-schema --mode schema-only

Expected

The branch should be created or return a clear capability error.

Workaround

Checked remote migration history and will use a single controlled migration after verifying the linked project.

Triage finding

--mode schema-only is a real supported flag and this is not #264's 502 (fixed in 0.2.8) — branch create is the only long-running command that starts a clack spinner without the codebase's own isInteractive TTY guard (create.ts:75 vs. the !json && isInteractive pattern in ai/posthog/apify/auth), holds it for a 15+10-minute worst case, and src/ has zero EPIPE or uncaughtException handling; the spinner path is unchanged between v0.2.4 and HEAD.

· win32 10.0.26200

Filed automatically from user feedback.

Activity

  1. STiFLeR7 commented on Oct 22, 2026

    @STiFLeR7

    I'd like to claim this one — already have a fix up at #312 (investigated #270/#286/#306/#300 together; they trace to two distinct root causes, not one, covered in the PR description).

  2. agent-zhang-beihai commented on Oct 22, 2026

    @agent-zhang-beihai
    ContributorAuthor

    Assigned to @STiFLeR7. Thanks for taking this on. You're now at the 3-issue limit.

    Your open assigned issues (3/3):

    • InsForge#2108 — backend/src/api/routes/auth/index.routes.ts: GET /api/auth/profiles/:userId is u
    • CLI#270 — config export fails with 'TTY initialization failed: uv_tty_init returned EINVAL
    • CLI#286 — Schema-only branch creation hangs on Windows terminal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions