← Back to issue list

go plugin doesn't strip binaries

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1858785
Type
issue
State
open
Author
~ack
Labels
Created
Updated
Closed

Current evaluation

Feature request to add an option to strip binaries built by the go plugin to reduce snap size. 6.6 years old with zero comments and no labels; the go plugin has since been removed from snapcraft, making the request moot.

Suggested action: close stale

Reason: The issue is 2427 days old with zero comments, no labels, and no maintainer interaction, and it targets the go plugin, which was deprecated and removed from snapcraft in favor of the go extension and manual build steps, so the request no longer applies to the current codebase. Note: repository tooling was unavailable (no pinned SHAs), so the plugin's removal rests on project history rather than a verified code check.

Impact: 15 Quick Win: 12.0 Staleness: 95 Complexity: 20 Confidence: 60 Support Request: 15

Issue body

The go plugin doesn't strip built binaries. It would be nice to have it at least as an option, to make the snap size smaller.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 15
Quick Win: 12.0
Staleness: 95
Complexity: 20
Confidence: 60
Support Request: 15
close stale Feature request to add an option to strip binaries built by the go plugin to reduce snap size. 6.6 years old with zero comments and no labels; the go plugin has since been removed from snapcraft, making the request moot.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 90
Support Request: 10
needs triage Feature request to add an optional binary stripping flag to the go plugin to reduce snap package size. Untriaged, no maintainer interaction, inactive for nearly six years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 10
needs triage Go plugin lacks an option to strip binaries, increasing snap size. Open for over six years with no maintainer response, labels, or comments.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 20
Confidence: 80
Support Request: 5
needs triage Go plugin lacks an option to strip binaries, increasing snap size. Unlabeled, zero maintainer comments, inactive for over five years, awaiting assessment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 10
needs triage Go plugin lacks a configurable option to strip compiled binaries, increasing snap size. Open with no comments or labels, awaiting triage and implementation.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1591565 go plugin is not striping the .git from the source snapcraft (launchpad) open 2015 bug report: the legacy go parts plugin does not strip the .git suffix from source URLs, so go get targets the wrong package path (e.g. ./cli.git/...). No labels, no comments, inactive ~9.5 years; the go plugin no longer exists in modern snapcraft.
73%
#777 go plugin: don't put debugging symbols in generated binaries snapcraft closed Rejected. Maintainers prefer stripping Go binaries in the prime step, not at build time. The author confirmed post-build stripping yields identical results, making the change redundant.
71%
#2194 plugins: do not install go debs if go snap is used snapcraft merged Merged a fix to the go plugin that skips installing the golang-go deb package when a go build-snap is defined, resolving PATH conflicts. Approved by reviewers, passed CI with full coverage, and integrated into master.
70%
#1338 go plugin: Add support for cross-compilation snapcraft merged Merged after approval, enabling cross-compilation for the Go plugin via snapcraft's --target-arch flag. Six files were modified with 144 additions and 11 deletions.
70%