Skip to content

[Bug]: Worktree cleanup always timing out #3593

Description

@jakeleventhal

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

I have a monorepo and as part of my setup script, i install node modules (bun package manager).

Image

in almost all cases, worktree cleanup fails because the worktrees take some time to delete due to node_modules taking a while

Expected behavior

Should run to completion

Actual behavior

Fails

Impact

Major degradation or frequent failure

Version or commit

a9b1190

Environment

macOS 27.0 Beta (26A5368g)

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

I'm actually not sure about how to best workaround this. Is it normal for worktree deletion to be super fast? Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions