← Back to issue list

Incorrect value for $CRAFT_PARALLEL_BUILD_COUNT in project metadata

View original Github issue

Metadata

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

Current evaluation

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.

Suggested action:

No scores available.

Issue body

### What needs to get done Call [`_get_parallel_build_count()`](https://github.com/canonical/craft-application/blob/0b10cf663bc96c5ccf2791a03180c045a3adbd28/craft_application/services/lifecycle.py#L349) when [expanding the environment](https://github.com/canonical/craft-application/blob/0b10cf663bc96c5ccf2791a03180c045a3adbd28/craft_application/application.py#L710) in the application. Probably requires moving that function to a `util` module. ### Why it needs to get done $CRAFT_PARALLEL_BUILD_COUNT always evaluates to 1 in a project yaml file So the desktop team can build the core24 firefox snap in a reasonable amount of time (https://github.com/canonical/snapcraft/issues/4785)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen/qwen3.6-35b-a3b Abandoned. Synced to Jira as CRAFT-3524, but no fix or pull request was merged. The $CRAFT_PARALLEL_BUILD_COUNT metadata evaluation bug remains unaddressed.
qwen3.6-35b-a3b-mtp-q6 Closed without implementation. The $CRAFT_PARALLEL_BUILD_COUNT metadata bug was not addressed. No fixes were merged, and the ticket was closed after an internal Jira ticket was created, indicating it was abandoned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#631 Read `CRAFT_PARALLEL_BUILD_COUNT` craft-parts closed 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.
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.
72%