feat: support control parallel build count from env
Metadata
Current evaluation
Merged PR #191 as commit 35b49c8f, adding fixed and CPU-capped parallel-build controls via environment variables and resolving #180.
Resolution: closed resolved
Reason: PR #191 was merged into main as commit 35b49c8f. It added app-specific and CRAFT parallel-build-count variables, with CPU count as the default, and explicitly fixed issue #180.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Support use the following environment variables to control the parrallel build count:
Use
`<appname>_PARALLEL_BUILD_COUNT`
`CRAFT_PARALLEL_BUILD_COUNT`
to set to a fixed value.
Use
`<appname>_MAX_PARALLEL_BUILD_COUNT`
`CRAFT_MAX_PARALLEL_BUILD_COUNT`
to set to a dynamic value based on cpu count and max value.
By default it will use the current CPU count value to the parrallel build count.
Fixes: https://github.com/canonical/craft-application/issues/180
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #191 as commit 35b49c8f, adding fixed and CPU-capped parallel-build controls via environment variables and resolving #180. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in #191 as commit 35b49c8f, adding environment controls for fixed or CPU-capped parallel builds and fixing #180. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Adds environment variables to control parallel build counts with fixed or dynamic CPU-based values. Resolves issue #180. Approved, passed CI, and maintained high test coverage after addressing minor feedback. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-application#180
(confidence 100%)
PR #191 states that it fixes the parallel-build-count support requested in #180.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #764 fix(ProviderService): forward the parallel build count vars | craft-application | merged | Merged #764 via commit ded4f5ec, fixing ProviderService to forward parallel build-count environment variables by default. |