Skip to content

Revise the generation of "slow build" plan to first run most-unique agent requirements #37

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

Open
jimklimov opened this issue Mar 26, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@jimklimov
Copy link
Member

NUT builds often complete the bulk of work in a couple of hours, and then a "tail" of builds that can be uniquely satisfied by one or two nodes is processed, so the jobs' wallclock time from start to end often ranges between 5-8 hours.

This issue suggests that the dynamatrix parallel-stage generator identifies how many of the currently available build agents match this or that label expression, and adds the (more-)unique stages earlier into the Map for subsequent parallel queuing and execution (assuming that the HashMap would be then read in order of addition by the parallel step implementation, the best effort we can do in this library). Such ordering would allow specific nodes to tend to stages which only they can do first, and then be available to pick from the queue any less-constrained requirements which they are just "one of many" agents capable to complete.

@jimklimov jimklimov added the enhancement New feature or request label Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant