← Back to issue list

remote-build spams terminal

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1979154
Type
issue
State
open
Author
~popey
Labels
craft-1150
Created
Updated
Closed
—

Current evaluation

Legacy remote-build progress output spammed terminals in Snapcraft 7.0.7; the legacy builder was removed in Snapcraft 9.0, so the affected code path no longer exists.

Suggested action: close stale

Reason: The report includes the exact Snapcraft 7.0.7 command and repeated terminal output, and the affected implementation was the legacy remote builder. That builder was removed in Snapcraft 9.0; the current remote-build command delegates to craft-application, and the reported output implementation is absent, making this report obsolete rather than awaiting a fix.

Evaluated by: mr-cal-bot

Impact: 30 Quick Win: 25 Complexity: 10 Confidence: 96 Actionability: 94

Issue body

Using latest snapcraft from latest/stable channel on 22.04. $ snapcraft version snapcraft 7.0.7 Trying to use remote-build, and it's outputing the percentage progress on new lines, rather than re-writing the line. I did it in tmux and plain Konsole terminal, and the same effect occurs. ``` $ snapcraft remote-build snapcraft remote-build is experimental and is subject to change - use with caution. Using build ID snapcraft-piqueserver-e5126b560682d4bdc4eb125449d787a9 Found previously started build. Build status for arch ppc64el: Currently building Build status for arch amd64: Currently building Build status for arch s390x: Needs building Build status for arch arm64: Needs building Build status for arch armhf: Needs building Do you wish to recover this build? [Y/n]: y Building snap package for amd64, arm64, armhf, i386, ppc64el, and s390x. This may take some time to finish. Build status as of 2022-06-19 23:37:51.131230: Build status as of 2022-06-19 23:37:51.131230:         arch=ppc64el state=Currently building arch=ppc64el state=Currently building         arch=amd64 state=Currently building arch=amd64 state=Currently building         arch=s390x state=Needs building arch=s390x state=Needs building         arch=arm64 state=Needs building arch=arm64 state=Needs building         arch=armhf state=Needs building arch=armhf state=Needs building         arch=armhf state=Needs building - (2.0s) arch=armhf state=Needs building \ (2.1s) arch=armhf state=Needs building | (2.2s) arch=armhf state=Needs building / (2.3s) arch=armhf state=Needs building - (2.4s) arch=armhf state=Needs building \ (2.5s) arch=armhf state=Needs building | (2.6s) arch=armhf state=Needs building / (2.7s) arch=armhf state=Needs building - (2.8s) arch=armhf state=Needs building \ (2.9s) arch=armhf state=Needs building | (3.0s) ``` Launchpad is messing with the above output. Every line which starts arch=armhf" is a new line. Screenshot shows it better. Every so often it prints a summary then goes back to spamming the terminal with the progress update again.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 30
Quick Win: 25
Complexity: 10
Confidence: 96
Actionability: 94
close stale Legacy remote-build progress output spammed terminals in Snapcraft 7.0.7; the legacy builder was removed in Snapcraft 9.0, so the affected code path no longer exists.
stealth/space-bunny-alpha
Impact: 15
Quick Win: 8
Complexity: 35
Confidence: 97
Actionability: 85
close stale Legacy remote-build progress output spammed terminals in Snapcraft 7.0.7; that legacy builder was removed in Snapcraft 9.0, so the affected code path no longer exists.
qwen/qwen3.6-35b-a3b
Impact: 20
Quick Win: 8
Complexity: 30
Confidence: 60
Actionability: 60
needs triage snapcraft remote-build prints progress updates on new lines instead of overwriting, causing terminal spam. Unassessed, no maintainer response.
qwen/qwen3.8-27b
Impact: 25
Quick Win: 18
Staleness: 90
Complexity: 30
Confidence: 60
Support Request: 10
needs triage snapcraft 7.0.7 remote-build prints progress updates on new lines instead of rewriting the line, spamming the terminal. Reported June 2022, no maintainer response, 0 comments, open ~4 years. Legacy remote-build code was later replaced by craft-application's implementation.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 25
Confidence: 85
Support Request: 10
close stale snapcraft remote-build progress updates print on new lines instead of overwriting. Issue is over four years old with no maintainer response or follow-up.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 80
Support Request: 5
close stale snapcraft remote-build prints progress updates on new lines instead of overwriting, causing terminal spam. Unaddressed for ~4 years with no maintainer comments.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 10
close stale Reports snapcraft remote-build printing progress updates on new lines instead of overwriting, causing terminal spam. Unaddressed for ~4 years on snapcraft 7.0.7.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#5676 remote build: remove legacy remote builder snapcraft closed Fixed in merged PR #5994 (commit b08f1a66e) for Snapcraft 9.0 by removing the legacy remote builder, selection logic, strategy env var, and legacy credential support.
77%
#4144 remote build: legacy builder cannot parse core22 snapcraft.yaml syntax snapcraft closed Marked won't fix: legacy-builder schema support was descoped in favor of the new remote builder, which accepts build-for; legacy support was removed by PR #5994 in Snapcraft 9.
72%
#5712 remote build: legacy builder should give a friendly error when passing `--project` snapcraft closed Closed as won't fix: maintainer mr-cal said the UX tweak wasn't critical because the legacy remote builder is being removed in Snapcraft 9. That removal landed in merged PR #5994 (commit b08f1a66e), closing #5676.
71%
#2006445 remote-build is not copying files from root of repository snapcraft (launchpad) closed Closed as no longer reproducible with Snapcraft 9's new remote builder; the legacy builder was removed in snapcraft#5994, with no targeted copy fix recorded.
71%
#4479 remote-build broken with shallow clones snapcraft closed Fixed in Snapcraft 8.0.1 by PR #4498 (commit 1e285148e), which falls back to the legacy remote builder for shallow Git clones on core20/core22.
71%
#5994 chore!: remove legacy remote builder snapcraft merged Merged PR #5994 as b08f1a66e, removing the legacy remote builder and closing #5676 for Snapcraft 9.0.
71%
#4365 remote-build: legacy builder complains about the wrong part name snapcraft closed Core22 snaps hit a bogus schema error in the legacy remote-build fallback. Closed as "won't fix" by mr-cal on 2026-01-27; the legacy remote builder was removed in #5994 and #6010 for Snapcraft 9.
71%