-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
kind: bugSomething isn't workingSomething isn't working
Description
What version of Turborepo are you using?
1.0.9
Describe the Bug
Our monorepo contains a few circular dependencies. We are actively working to remove them, but have some more work to do there.
When running for example yarn turbo run build
with config "dependsOn": ["^build"]
, turborepo will just get stuck after printing • Running lint in 89 packages
. I assume it's going into an endless loop as CPU usage goes up significantly.
Expected Behavior
It would be nice if turbo threw a warning and exited gracefully on this. Preferably including a description of the dependency circle (can sometimes be several packages long).
To Reproduce
- Init a new repo with turbo
- Point two packages at each other in respective package.json
- Make sure
"build": { "dependsOn": ["^build"] }
is set in the pipeline config - run
yarn turbo run build
carburo, vinothvk, claudiorivera, CryogenicPlanet and ValentinH
Metadata
Metadata
Assignees
Labels
kind: bugSomething isn't workingSomething isn't working