chore(cursor): add worktrees.json for worktree setup#7563
Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits intomasterfrom Feb 18, 2026
Merged
chore(cursor): add worktrees.json for worktree setup#7563gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits intomasterfrom
gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits intomasterfrom
Conversation
Run `yarn install` when Cursor creates a worktree so parallel agent worktrees have dependencies installed.
Contributor
Overall package sizeSelf size: 4.64 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.6 | 81.92 kB | 813.08 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
BenchmarksBenchmark execution time: 2026-02-18 16:01:41 Comparing candidate commit 2ddacc4 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 228 metrics, 32 unstable metrics. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7563 +/- ##
==========================================
- Coverage 80.29% 80.29% -0.01%
==========================================
Files 732 732
Lines 31468 31468
==========================================
- Hits 25268 25267 -1
- Misses 6200 6201 +1 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
BridgeAR
approved these changes
Feb 18, 2026
dd-octo-sts Bot
pushed a commit
that referenced
this pull request
Feb 19, 2026
chore(cursor): add worktrees.json for worktree setup Run `yarn install` when Cursor creates a worktree so parallel agent worktrees have dependencies installed. Merge branch 'master' into watson/cursor-worktrees Co-authored-by: thomas.watson <thomas.watson@datadoghq.com>
Closed
dd-octo-sts Bot
pushed a commit
that referenced
this pull request
Feb 20, 2026
chore(cursor): add worktrees.json for worktree setup Run `yarn install` when Cursor creates a worktree so parallel agent worktrees have dependencies installed. Merge branch 'master' into watson/cursor-worktrees Co-authored-by: thomas.watson <thomas.watson@datadoghq.com>
Merged
juan-fernandez
pushed a commit
that referenced
this pull request
Mar 5, 2026
chore(cursor): add worktrees.json for worktree setup Run `yarn install` when Cursor creates a worktree so parallel agent worktrees have dependencies installed. Merge branch 'master' into watson/cursor-worktrees Co-authored-by: thomas.watson <thomas.watson@datadoghq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What does this PR do?
Adds
.cursor/worktrees.jsonso Cursor runsyarn installwhen it creates a worktree (e.g. for parallel agents). New worktrees get dependencies installed automatically.Motivation
Parallel agents and other Cursor worktree features use a fresh worktree; without this config, those worktrees have no
node_modulesand tooling fails until someone runsyarn installmanually.