← Back to issue list

parts: fix parallel build count

View original Github issue

Metadata

Project
snapcraft
Number
#3756
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged #3756 as e3d81491f (implementation 354ad897c), making craft-parts use the host’s available concurrent-job count, with a configurable maximum.

Resolution: closed resolved

Reason: PR #3756 was merged into main as e3d81491f, with implementation commit 354ad897c. It calculates the host’s usable job count and passes it to craft-parts, correcting parallel build behavior.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged #3756 as e3d81491f (implementation 354ad897c), making craft-parts use the host’s available concurrent-job count, with a configurable maximum.
stealth/space-bunny-alpha — closed resolved Merged #3756 into main, setting craft-parts' parallel build count from host concurrency (fix 354ad897c; merge e3d81491f).
stealth/space-bunny-alpha — closed resolved Merged PR #3756 in commit e3d81491f, fixing craft-part to derive its parallel build count from the number of concurrent jobs available on the host.
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%.

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 #517 as b508b6c0, fixing CRAFT_PARALLEL_BUILD_COUNT in override scripts; released in 4.2.7 and replacing #509.
75%
#631 Read `CRAFT_PARALLEL_BUILD_COUNT` craft-parts closed Closed without code changes after parallel build-count configuration was moved upstream; craft-parts no longer needed to read CRAFT_PARALLEL_BUILD_COUNT.
74%
#180 Support setting a parallel build count craft-application closed Parallel build-count controls landed in canonical/craft-application#191 via commit 35b49c8f, adding app/CRAFT fixed settings and CPU-capped maximum settings.
72%
#509 fix: use correct parallel build count craft-application closed Parallel build-count fix was superseded by #517, merged as b508b6c0 and released in 4.2.7 after #509 was retargeted to hotfix/4.2.
72%