Skip to content
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

Merge compilation jobs less aggressively #6415

Open
galargh opened this issue Feb 26, 2025 · 0 comments
Open

Merge compilation jobs less aggressively #6415

galargh opened this issue Feb 26, 2025 · 0 comments
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task

Comments

@galargh
Copy link
Member

galargh commented Feb 26, 2025

This issue was extracted from #6336.

Currently, we merge all the jobs we can when running non-production builds. In practice, that might be too aggressive of a strategy.

We should consider relaxing it a little. Some of the ideas for improvements are:

  1. Merge only down to the set concurrency number. I.e. if we have 200 jobs that could be merged and 16 cores available, we should end up with 16 merged compilation jobs. We should try to keep the merged compilation jobs balanced. It will be a little more tricky with more disjoint groups, but it shouldn't be too complicated to handle.
  2. Expose shouldMergeJobs and concurrency parameters to the user via config and/or CLI.
@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Feb 26, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Hardhat Feb 26, 2025
@kanej kanej moved this from Backlog to To-do in Hardhat Feb 27, 2025
@kanej kanej added the v-next A Hardhat v3 development task label Feb 27, 2025
@kanej kanej added this to the Public Alpha Feature Rollout milestone Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Projects
Status: To-do
Development

No branches or pull requests

2 participants