Skip to content

Conversation

@timneutkens
Copy link
Member

@timneutkens timneutkens commented Jan 12, 2026

What?

Add a .cursor/worktrees.json configuration file that specifies setup commands for Cursor worktrees.

Why?

This configuration allows Cursor to automatically run the necessary setup commands (pnpm install and pnpm build) when creating new worktrees, ensuring a consistent and ready-to-use development environment.

How?

Added a new .cursor/worktrees.json file with the following configuration:

{
  "setup-worktree": ["pnpm install", "pnpm build"]
}

This tells Cursor to:

  1. Install dependencies with pnpm install
  2. Build the project with pnpm build

These commands are automatically executed when a new worktree is created in Cursor.

@nextjs-bot nextjs-bot added the created-by: Turbopack team PRs by the Turbopack team. label Jan 12, 2026
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@timneutkens timneutkens marked this pull request as ready for review January 12, 2026 11:38
@nextjs-bot
Copy link
Collaborator

Failing test suites

Commit: ce16005 | About building and testing Next.js

pnpm test-dev-turbo test/development/app-dir/ssr-only-error/ssr-only-error.test.ts (turbopack) (job)

  • ssr-only-error > should show ssr only error in error overlay (DD)
Expand output

● ssr-only-error › should show ssr only error in error overlay

expect(received).toMatchInlineSnapshot(snapshot)

Snapshot name: `ssr-only-error should show ssr only error in error overlay 1`

- Snapshot  - 11
+ Received  +  1

- {
-   "description": "SSR only error",
-   "environmentLabel": null,
-   "label": "Runtime Error",
-   "source": "app/page.tsx (5:11) @ Component
- > 5 |     throw new Error('SSR only error')
-     |           ^",
-   "stack": [
-     "Component app/page.tsx (5:11)",
-   ],
- }
+ "Redbox did not open."

  11 |
  12 |     // TODO(veil): Missing Owner Stack (NDX-905)
> 13 |     await expect(browser).toDisplayCollapsedRedbox(`
     |                           ^
  14 |      {
  15 |        "description": "SSR only error",
  16 |        "environmentLabel": null,

  at Object.toDisplayCollapsedRedbox (development/app-dir/ssr-only-error/ssr-only-error.test.ts:13:27)

@timneutkens timneutkens merged commit 5df44d1 into canary Jan 12, 2026
158 of 161 checks passed
@timneutkens timneutkens deleted the add-cursor-worktrees-config branch January 12, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

created-by: Turbopack team PRs by the Turbopack team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants