Predictable/persistent order of execution for tasks #10153
tomaskallup
started this conversation in
Ideas
Replies: 0 comments
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.
-
Goals
Currently tasks seem to be executed in order of dependency & then in somewhat random order (if there is more of them to do than
--concurrencyallows)Non-goals
No response
Background
We are migrating from
lerna, we have integration tests, which cannot run in parallel, so we leverate--concurrency 1. Now if one of the tests fails somewhere in the middle of execution, we can just fix that test and then makelernarun the tests from that point.It's not an elegant solution, but using
lerna list, we can get a list of the packages in alphabetical order (which is same as the order oflerna run) and cut that list at the failing service.Proposal
Allow some way to order the tasks, atleast with
--concurrency 1, preferrable would be just alphabetical order (using the package name).Beta Was this translation helpful? Give feedback.
All reactions