← Back to issue list

Read `CRAFT_PARALLEL_BUILD_COUNT`

View original Github issue

Metadata

Project
craft-parts
Number
#631
Type
issue
State
closed
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Closed without code changes. The maintainer adjusted how the build count is configured externally, making the CRAFT_PARALLEL_BUILD_COUNT environment variable read unnecessary. The request was superseded by upstream updates.

Suggested action:

No scores available.

Issue body

### What needs to get done If an application does not [provide a parallel build count](https://github.com/canonical/craft-parts/blob/5ad7be9c186f577d813e416330913497f868ee3b/craft_parts/lifecycle_manager.py#L96) to the `LifecycleManager`, then craft-parts should read the environment variable `CRAFT_PARALLEL_BUILD_COUNT`. If this is not set, default to 1. ### Why it needs to get done See https://github.com/snapcore/snapcraft/issues/4537

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without code changes. The maintainer adjusted how the build count is configured externally, making the CRAFT_PARALLEL_BUILD_COUNT environment variable read unnecessary. The request was superseded by upstream updates.
qwen/qwen3.6-35b-a3b Requesting craft-parts to read the CRAFT_PARALLEL_BUILD_COUNT environment variable was closed. The maintainer adjusted how the build count is set elsewhere, making changes to craft-parts unnecessary.
qwen/qwen3.6-35b-a3b Closed without implementation. The maintainer adjusted how the build count is set, making the requested environment variable reading unnecessary. No craft-parts changes were required.
qwen3.6-35b-a3b-mtp-q6 Closed. The maintainer adjusted upstream build count configuration, eliminating the need for craft-parts to read the CRAFT_PARALLEL_BUILD_COUNT environment variable. No craft-parts changes are required.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#502 Incorrect value for $CRAFT_PARALLEL_BUILD_COUNT in project metadata craft-application closed Closed without resolution. The bug causing $CRAFT_PARALLEL_BUILD_COUNT to always evaluate to 1 in project metadata remains unaddressed, with only an automated Jira sync comment present.
74%
#1988748 SNAPCRAFT_PARALLEL_BUILD_COUNT not respected if set in `override-build:` snapcraft (launchpad) closed Closed without resolution or merge. The report details a bug where SNAPCRAFT_PARALLEL_BUILD_COUNT set in override-build is ignored, but no developer response or fix was provided, indicating the issue was abandoned or marked stale.
73%
#540 Document parallel build count environment variables craft-application open Docs gap: CRAFT_PARALLEL_BUILD_COUNT and CRAFT_MAX_PARALLEL_BUILD_COUNT (and app-prefixed variants) are implemented in craft_application/util/system.py but not documented. Labeled enhancement/docs by a maintainer, open 679 days, no comments, still unaddressed.
73%
#4537 Document and use the correct parallel build count envvars snapcraft closed Closed without implementation. Documentation and environment variable logic updates were deferred and are now tracked in craft-application issue 540. The requested code changes remain unaddressed.
71%