Unnecessary tasks are being run when the target task only exists in some packages
cjpearson opened this issue · 1 comments
cjpearson commented
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/cjpearson/turbo-graph-bug
Which canary version will you have in your reproduction?
turbo@2.3.4-canary.2
Enviroment information
CLI:
Version: 2.3.4-canary.2
Daemon status: Running
Package manager: yarn
Platform:
Architecture: aarch64
Operating system: macos
WSL: false
Available memory (MB): 7456
Available CPU cores: 11
Expected behavior
In the reproduction, I've edited the starter so the web
package has an additional verify
script. This task depends on web:build
. When running turbo verify
I would expect web:build
and web:verify
to run.
Actual behavior
web:build
, docs:build
and web:verify
are run despite docs:build
not being necessary
To Reproduce
Run turbo verify
in the reproduction project
Additional context
chris-olszewski commented
Duplicate of #937 closing in favor of that one.