Skip to content

transform reporter still crashes on non-TTY stdout in v5.0.0 (fix in #887 unreleased) #926

Description

@tommyfok

Hi! Upstream status update on the non-TTY clearLine crash we hit, since issue #888 was closed by PR #887:

  • The fix landed on master on 2026-02-16 but has not shipped in any stable release — the latest release line is still v5.0.0 (2025-12-07), which predates the fix. It's only available in v6.0.0-beta.0/.1.
  • v6.0.0-beta.1's src/plugins/isolateEntries.ts additionally guards on process.env.CI (if (!process.stdout.isTTY || process.env.CI) return), which we confirmed works for our redirected-stdout case.

We're currently pinning electron-vite@5.0.0 with a pnpm patch that applies the same isTTY guard to dist/chunks/lib-*.js, and we'd like to drop it as soon as a stable release (ideally a 5.0.x backport, since upgrading to v6 is a bigger jump) ships.

Is a backport to v5 planned, or should we track the v6 stable release? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions