Replies: 1 comment
-
|
Continuing answers on original issue, #8484 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Currently the documentation states the following:
I think long-running process should be able to depend on other long-running process.
If your starting a task, which itself is marked as persistent task, and it depends on another task that is also marked as persistent then it should simply just start both tasks in parallell.
I originally laid out my argument in this issue as I felt the current logic was so unlogical as to be a bug.
Non-goals
No response
Background
Using mprocs I could run two persistent tasks at the same time:
With turborepo's new persistent mode it should be possible to simply run (assuming that
package-bdepends onpackage-a):Without this functionality persistent mode makes zero sense. The whole reason people use turborepo in the first place is because they have a monorepo, if tasks can't depend on other tasks then there is no reason to use turborepo.
pnpmandmprocsalready lets me solve this, butmprocshave no understanding of the dependency tree liketurbodoes. So if the persistent-model in turbo where to make sense then it should work with dependencies.Proposal
Simply remove the warning and let persistent tasks depend on other persistent tasks (thereby running them in parallell).
Beta Was this translation helpful? Give feedback.
All reactions