parts: fix parallel build count
Metadata
Current evaluation
Merged fix for parallel build count in craft-part. Dynamically configures concurrent jobs based on host capabilities. Approved by two reviewers, passed CI, and increased coverage by 0.08%.
Suggested action: —
No scores available.
Issue body
Obtain the number of concurrent jobs than can run in the host and
set craft-part's parallel build count.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint`?
- [ ] Have you successfully run `pytest tests/unit`?
-----
CRAFT-1087
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged fix for parallel build count in craft-part. Dynamically configures concurrent jobs based on host capabilities. Approved by two reviewers, passed CI, and increased coverage by 0.08%. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged PR #3756 to fix parallel build count by dynamically configuring craft-part's job limit based on host CPU capacity. The change was merged into main, achieving 100% diff coverage and increasing overall test coverage by 0.08%. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into main. Dynamically configures craft-part's parallel build count based on available host concurrent jobs. Resolved the optimization issue, achieving 100% diff coverage and increasing overall coverage by 0.08%. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #517 fix: set correct parallel build count in scripts | craft-application | merged | Merged fix to set the correct parallel build count in build scripts. Replaced PR #509 by cherry-picking commits after retargeting conflicts. Approved by two reviewers, passed CI, and resolved CRAFT-3524. | |
| #5108 bump craft-application, check parallel build count in project metadata | snapcraft | merged | Merged changes bumping the craft-application dependency and adding parallel build count validation to project metadata. Resolves issue #4785 and ticket CRAFT-3526 after passing CI and receiving two approvals. | |
| #2669 Plugin catkin: forward parallel build count | snapcraft | merged | Merged. The catkin plugin now forwards parallel-build-count and disable-parallel options to the build command. Approved by three reviewers, passed CI checks, and replaces PR #2665. | |
| #764 fix(ProviderService): forward the parallel build count vars | craft-application | merged | Merged a fix that correctly forwards parallel build count variables in ProviderService, which were previously omitted. Approved by two reviewers, the change (+16/-1 lines, 2 files) passed CI checks and was integrated. | |
| #5031 build(deps): bump craft-parts | snapcraft | merged | Merged dependency update bumping craft-parts to fix an npm plugin bug where implicit state failed to pass between separate pull and build steps. Approved by two reviewers, passed CI, and integrated into the codebase. |