← Back to issue list

Allow building/packing multiple platforms in parallel.

View original Github issue

Metadata

Project
craft-application
Number
#914
Type
issue
State
open
Author
lengau
Labels
Status: Triaged Type: Enhancement
Created
Updated
Closed

Current evaluation

Enhancement to run managed builds for multiple build-plan platforms in parallel instead of serially. Triaged by a maintainer with an internal Jira ticket (CRAFT-4779), but unimplemented; code still loops the build plan serially.

Suggested action: keep open

Reason: The issue is properly triaged (labels 'Status: Triaged', 'Type: Enhancement', filed by maintainer lengau) and the requested behavior is confirmed still absent: _run_manager_for_build_plan in craft_application/commands/lifecycle.py iterates the build plan with a plain serial for-loop calling provider.run_managed per item. It is inactive (~348 days, only a bot comment linking Jira CRAFT-4779), but not obsolete, so it should stay open rather than be closed as stale.

Impact: 45 Quick Win: 11.25 Staleness: 70 Complexity: 75 Confidence: 80 Support Request: 0

Issue body

### What needs to get done If the build plan has multiple items, the manager instance should be able to start up the managed instances simultaneously and perform multiple builds simultaneously. ### Why it needs to get done These builds often don't fully utilise your machine's resources, so doing them in parallel can help fix that.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 45
Quick Win: 11.25
Staleness: 70
Complexity: 75
Confidence: 80
Support Request: 0
keep open Enhancement to run managed builds for multiple build-plan platforms in parallel instead of serially. Triaged by a maintainer with an internal Jira ticket (CRAFT-4779), but unimplemented; code still loops the build plan serially.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 60
Confidence: 90
Support Request: 10
keep open Enhancement request to allow parallel building/packing of multiple platforms to better utilize machine resources. Issue is triaged, has an internal ticket, but has been inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 65
Complexity: 55
Confidence: 85
Support Request: 0
keep open Enhancement to enable parallel building/packing of multiple platforms to improve resource utilization. Currently triaged and awaiting implementation.
qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 65
Confidence: 85
Support Request: 10
keep open Enable parallel building and packing of multiple platforms to improve resource utilization. The enhancement is triaged and awaiting implementation.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#698 Use craft-platforms for build plans rockcraft closed Closed and superseded by prototype PR #662, which implements craft-platforms for build plans to deduplicate logic and ensure consistency across projects. No explicit resolution or merge details are documented.
72%