← Back to issue list

Use `parallel_build_count` in plugins and document usage

View original Github issue

Metadata

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

Current evaluation

Task to ensure all plugins use ProjectInfo.parallel_build_count and document parallel-build support. rust and scons plugins still don't use it; other plugins (autotools, bazel, cmake, colcon, go, make, qmake) now do. No maintainer response, only a Jira-sync bot comment.

Suggested action: needs triage

Reason: The issue has no labels, no assignee, and no maintainer response — only an autogenerated Jira-sync bot comment from 2024-07-09. The underlying work is still partially incomplete: rust_plugin.py still runs `cargo build --workspace --release` without `--jobs`, and scons_plugin.py runs `scons` without `-j`, while autotools/bazel/cmake/colcon/go/make/qmake plugins already use `self._part_info.parallel_build_count`. This is a valid, actionable feature/enhancement that needs triage and assignment.

Impact: 40 Quick Win: 24.0 Staleness: 75 Complexity: 40 Confidence: 80 Support Request: 5

Issue body

### What needs to get done * Ensure all plugins use `ProjectInfo.parallel_build_count` if possible * Update plugin documentation to mention if the plugin supports parallel builds The `rust` and `scons` plugins support parallel builds but do not use it. Other plugins need to be checked. ### Why it needs to get done To speed up build times or to limit resource utilization of a build source: https://github.com/canonical/craft-parts/issues/631#issuecomment-1908500081

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 40
Quick Win: 24.0
Staleness: 75
Complexity: 40
Confidence: 80
Support Request: 5
needs triage Task to ensure all plugins use ProjectInfo.parallel_build_count and document parallel-build support. rust and scons plugins still don't use it; other plugins (autotools, bazel, cmake, colcon, go, make, qmake) now do. No maintainer response, only a Jira-sync bot comment.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 40
Confidence: 75
Support Request: 5
needs triage Technical task to update plugins to use parallel_build_count and document parallel build support. Inactive for over two years with no labels, assignee, or maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 40
Confidence: 80
Support Request: 5
needs triage Task to update all plugins to use parallel_build_count and document parallel build support. Unassigned, unlabelled, inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 40
Confidence: 60
Support Request: 10
needs triage Update plugins to use parallel_build_count and document parallel build support to optimize build times and resource usage. Currently inactive, unlabelled, with an internal Jira ticket created, awaiting implementation.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/craft-parts#631 (confidence 90%)

    The issue body cites craft-parts#631 (Read CRAFT_PARALLEL_BUILD_COUNT) as the source of this task; that issue was closed as the build count is now set via ProjectInfo.parallel_build_count.

Related issues

No related issues found above the similarity threshold.