-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
kind: bugSomething isn't workingSomething isn't working
Description
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/jeremymeng/my-turborepo
Which canary version will you have in your reproduction?
2.5.6
Environment information
turbo 2.5.6
CLI:
Version: 2.5.6
Path to executable: /home/meng/git/my-turborepo/node_modules/.pnpm/turbo-linux-64@2.5.6/node_modules/turbo-linux-64/bin/turbo
Daemon status: Running
Package manager: pnpm9
Platform:
Architecture: x86_64
Operating system: linux
WSL: true
Available memory (MB): 48299
Available CPU cores: 32
Environment:
CI: None
Terminal (TERM): xterm-256color
Terminal program (TERM_PROGRAM): WezTerm
Terminal program version (TERM_PROGRAM_VERSION): 20240203-110809-5046fc22
Shell (SHELL): /usr/bin/bash
stdin: false
Expected behavior
turbo build
should build a dev dependency of Pnpm catalog version specifier ("pkg-b": "catalog:internal"
) first before building app-a
Actual behavior
turbo build
does not build pkg-b
before app-a
. The task graph shows it only depends on three other tasks, not including pkg-b:build
digraph {
compound = "true"
newrank = "true"
subgraph "root" {
"[root] app-a#build" -> "[root] app-a#prebuild"
"[root] app-a#build" -> "[root] pkg-a#build"
"[root] app-a#build" -> "[root] tooling-config#build"
"[root] app-a#prebuild" -> "[root] ___ROOT___"
"[root] app-b#build" -> "[root] app-b#prebuild"
"[root] app-b#build" -> "[root] tooling-config#build"
"[root] app-b#prebuild" -> "[root] ___ROOT___"
"[root] pkg-a#build" -> "[root] pkg-a#prebuild"
"[root] pkg-a#build" -> "[root] tooling-config#build"
"[root] pkg-a#prebuild" -> "[root] ___ROOT___"
"[root] pkg-b#build" -> "[root] pkg-b#prebuild"
"[root] pkg-b#build" -> "[root] tooling-config#build"
"[root] pkg-b#prebuild" -> "[root] ___ROOT___"
"[root] tooling-config#build" -> "[root] tooling-config#prebuild"
"[root] tooling-config#prebuild" -> "[root] ___ROOT___"
}
}
To Reproduce
- git clone https://github.com/jeremymeng/my-turborepo
- pnpm install
- npx turbo build --graph --dry-run
Additional context
No response
Metadata
Metadata
Assignees
Labels
kind: bugSomething isn't workingSomething isn't working