← Back to issue list

flutter plugin: cache SDK across parts

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2065278
Type
issue
State
open
Author
~saviq
Labels
—
Created
Updated
Closed
—

Current evaluation

Flutter plugin stores its SDK in each part's build directory, causing separate clones and precaches; the optimization remains valid but untriaged and has no maintainer response.

Suggested action: needs triage

Reason: FlutterPlugin sets flutter_dir to part_info.part_build_dir / "flutter-distro" and clones Flutter whenever that per-part directory is absent, directly confirming the reported duplication. The report has no labels, reproducer, or maintainer response, while shared caching requires decisions about cache location, channel isolation, and lifecycle.

Evaluated by: mr-cal-bot

Impact: 44 Quick Win: 16 Complexity: 48 Confidence: 92 Actionability: 72

Issue body

If you have multiple parts using `plugin: flutter`, each will download the Flutter SDK separately. It'd be better if the SDK was cached between parts.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 44
Quick Win: 16
Complexity: 48
Confidence: 92
Actionability: 72
needs triage Flutter plugin stores its SDK in each part's build directory, causing separate clones and precaches; the optimization remains valid but untriaged and has no maintainer response.
stealth/space-bunny-alpha
Impact: 47
Quick Win: 10
Complexity: 59
Confidence: 76
Actionability: 54
needs triage Flutter parts download the SDK separately; sharing it across parts would improve build efficiency and needs maintainer triage.
qwen3.6-35b-a3b-mtp-q6
Impact: 40
Quick Win: 28
Staleness: 90
Complexity: 30
Confidence: 60
Support Request: 20
close stale Feature request to cache Flutter SDK across parts. Issue is 848 days old with no maintainer interaction, labels, or comments.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 10
needs triage Request to cache the Flutter SDK across multiple parts using the flutter plugin to avoid redundant downloads. Untriaged, inactive for over two years with no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 25
Confidence: 85
Support Request: 10
close stale Feature request to cache the Flutter SDK across multiple plugin parts to avoid redundant downloads. Unlabeled, zero comments, inactive for over two years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 10
close stale Suggests caching the Flutter SDK across multiple parts to avoid redundant downloads. Unlabeled, zero comments, and inactive for over two years with no maintainer response.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.