Enable optimizations by default
Metadata
Current evaluation
Optimized defaults remain inconsistent: current craft-parts docs still require explicit release settings for CMake and Meson, while Colcon now defaults to Release.
Suggested action: keep open
Reason: The maintainer explicitly agreed that plugins should optimize by default, and Colcon was later changed accordingly. However, current craft-parts documentation still requires explicit release settings for Meson and establishes no optimized default for CMake, so the broader goal remains unresolved and should proceed with a cross-plugin policy plus tests.
Evaluated by: mr-cal-bot
Impact:
55
Quick Win:
22
Complexity:
45
Confidence:
88
Actionability:
72
Issue body
There is some inconsistency between different snapcraft plugins. Some plugins (at least rust) will create an optimized release build but others (at least cmake and meson) create an unoptimized debug build. As a user of snapcraft without looking at the plugin source code I don't know whether a plugin will create a release or debug build, so I propose to enable optimizations by default for every plugin or at least mention in the plugin documentation whether optimizations are turned on or off by default and how to turn them on.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
55
Quick Win:
22
Complexity:
45
Confidence:
88
Actionability:
72
|
keep open | Optimized defaults remain inconsistent: current craft-parts docs still require explicit release settings for CMake and Meson, while Colcon now defaults to Release. | |
| stealth/space-bunny-alpha |
Impact:
48
Quick Win:
10
Complexity:
67
Confidence:
88
Actionability:
66
|
keep open | Requests optimized builds by default across Snapcraft plugins; a maintainer agreed, but current craft-parts docs still show users explicitly selecting optimized CMake and Meson build types. | |
| qwen/qwen3.6-35b-a3b |
Impact:
30
Quick Win:
9
Complexity:
40
Confidence:
60
Actionability:
50
|
needs triage | Request to enable optimizations by default across all snapcraft plugins or document their default behavior. No maintainer response in 4.5 years. | |
| qwen/qwen3.8-27b |
Impact:
35
Quick Win:
21
Staleness:
95
Complexity:
40
Confidence:
70
Support Request:
20
|
needs triage | Request (2018) to make snapcraft plugins consistently enable optimizations by default, or at least document each plugin's default optimization behavior. No maintainer response; plugins have since been refactored into craft-parts. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
40
Confidence:
85
Support Request:
10
|
close stale | Proposes enabling build optimizations by default across all snapcraft plugins or documenting their default behavior due to current inconsistencies. Unaddressed for over 9 years. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
15
Confidence:
85
Support Request:
20
|
close stale | Inconsistency in snapcraft plugin optimization levels. Proposes enabling optimizations by default or documenting defaults. Untriaged, inactive for over four years. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
20
Confidence:
85
Support Request:
10
|
close stale | Inconsistency in snapcraft plugins regarding default optimization levels. Proposes enabling optimizations by default or documenting plugin defaults. Unaddressed for over 4 years. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
No related issues found above the similarity threshold.