Skip to content

VSCode terminal crashing in specific case with TUI #10210

Open
@anthonyshew

Description

@anthonyshew

Original discussion: #10195

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

N/A

Which canary version will you have in your reproduction?

2.4.4

Environment information

See additional context for information.

Expected behavior

See additional context for information.

Actual behavior

See additional context for information.

To Reproduce

We don't have a clean reproduction for this case. See additional context for information.

Additional context

Summary

Sometimes after completing a task I get characters in the terminal or in the commit message.

Something like this:

35;95;33M35;94;33M35;94;34M35;93;34M35;93;35M35;92;35M35;91;36M35;91;37M35;90;37M35;89;37M35;89;38M35;88;38M35;88;39M35;88;40M35;88;41M35;88;42M35;88;43M

Sometimes they are there, sometimes they are not, I don't see a pattern. They can also appear after the task is completed with git commit --amend. In this case, all these symbols become a commit message, which requires additional changes

{
  "$schema": "https://turbo.build/schema.json",
  "tasks": {
    "pre-commit": {
      "dependsOn": ["lint", "typecheck"]
    },
    "pre-push": {
      "dependsOn": ["test"]
    },
    "build": {
      "dependsOn": ["test", "typecheck", "lint"],
      "outputs": ["dist/**"]
    },
    "build:dev": {
      "outputs": ["dist/**"]
    },
    "build:stage": {
      "dependsOn": ["test", "typecheck", "lint"],
      "outputs": ["dist/**"]
    },
    "build:analyze": {
      "dependsOn": ["build:dev"],
      "outputs": ["dist/**"]
    },
    "preview": {
      "persistent": true,
      "cache": false
    },
    "lint": {
      "dependsOn": ["^lint"]
    },
    "test": {
      "dependsOn": ["^test"]
    },
    "typecheck": {
      "dependsOn": ["^typecheck"]
    },
    "dev": {
      "persistent": true,
      "cache": false
    },
    "clean:turbo": {
      "cache": false,
      "outputs": []
    },
    "clean:node-modules": {
      "cache": false,
      "outputs": []
    },
    "sb": {
      "cache": false
    }
  },
  "ui": "tui"
}

Additional information

- Turbo: 2.4.4
- Node: 18.20.3
- OS: macos Sequoia 15.0.1
- Terminal: iTerm2 3.5.11
- Zsh 5.9 (arm64-apple-darwin24.0)

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions