Skip to content

Add option for each to run tasks in parallel ignoring dependency order#101

Open
brandonvin wants to merge 3 commits intomainfrom
arbitrary-order
Open

Add option for each to run tasks in parallel ignoring dependency order#101
brandonvin wants to merge 3 commits intomainfrom
arbitrary-order

Conversation

@brandonvin
Copy link
Copy Markdown
Contributor

@brandonvin brandonvin commented Aug 13, 2025

lein monolith each :parallel N processes projects in dependency order, which is necessary for some tasks such as install, though for other tasks such as unit tests, or doc generation, dependency ordering is not required and things could be a bit faster by removing the dependency ordering.

In a CI/CD pipeline you could, for example, have a first phase that installs all projects using :parallel N, then subsequent phases that process projects using :parallel N :no-dep-order.

I'm not strongly attached to the name of the option, very open to suggestions.

@brandonvin brandonvin requested a review from a team August 13, 2025 23:15
Copy link
Copy Markdown
Contributor

@scgerkin scgerkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks useful!

@brandonvin
Copy link
Copy Markdown
Contributor Author

#107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants