Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnecessary tasks are being run when the target task only exists in some packages #9589

Closed
1 task done
cjpearson opened this issue Dec 7, 2024 · 1 comment
Closed
1 task done
Labels
kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage

Comments

@cjpearson
Copy link

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?

[email protected]

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

#9565

@cjpearson cjpearson added kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage labels Dec 7, 2024
@chris-olszewski
Copy link
Member

chris-olszewski commented Dec 11, 2024

Duplicate of #937 closing in favor of that one.

@chris-olszewski chris-olszewski closed this as not planned Won't fix, can't repro, duplicate, stale Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage
Projects
None yet
Development

No branches or pull requests

2 participants