Skip to content

turbo watch: "discovery failed: bad grpc status code: The operation was cancelled" on macOS case-sensitive volumes #9536

@hrstkatomas

Description

@hrstkatomas

Verify canary release

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

Link to code that reproduces this issue

https://github.com/hrstkatomas/test-monorepo-tooling

Which canary version will you have in your reproduction?

turbo 2.3.3

Enviroment information

turbo 2.3.3

CLI:
   Version: 2.3.3
   Path to executable: /Volumes/.../test-monorepo-tooling/node_modules/.pnpm/[email protected]/node_modules/turbo-darwin-arm64/bin/turbo
   Daemon status: Running
   Package manager: pnpm

Platform:
   Architecture: aarch64
   Operating system: macos
   WSL: false
   Available memory (MB): 14738
   Available CPU cores: 10

Environment:
   CI: None
   Terminal (TERM): xterm-256color
   Terminal program (TERM_PROGRAM): Apple_Terminal
   Terminal program version (TERM_PROGRAM_VERSION): 455
   Shell (SHELL): /opt/homebrew/bin/bash
   stdin: false

Expected behavior

Should run the project in watch mode without any issues on MacOS on both case-sensitive and case-insensitive file systems.

Actual behavior

When running turbo watch [command] on MacOS on case-sensitive volume, I get this error:

turbo 2.3.3

• Packages in scope: @repo/typescript-config, @repo/ui, tribalfootball
• Running build in 3 packages
• Remote caching disabled
  × failed to connect to daemon
  ╰─▶ server is unavailable: channel closed

After running turbo daemon clean I receive a slightly different error for the following run:

turbo 2.3.3

• Packages in scope: @repo/typescript-config, @repo/ui, tribalfootball
• Running build in 3 packages
• Remote caching disabled
  × discovery failed: bad grpc status code: The operation was cancelled

To Reproduce

  1. Mac required
  2. In Disk Utility add a new Volume and select Case-sensitive format
  3. Clone the repository onto newly created volume
  4. Run turbo watch build

Additional context

The same repository works as expected when I clone it onto case-insensitive volume

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:watchIssues about watch modekind: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions