← Back to issue list

Delta error is shown on first push, can be avoided?

View original Launchpad issue

Metadata

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

Current evaluation

User reports snapcraft push prints 'Error generating delta: delta saving is less than 10%' on a first push where no delta can exist. No labels, no comments, no maintainer activity in ~8.5 years; delta compression has since been removed from snapcraft.

Suggested action: close stale

Reason: The issue is ~8.5 years old with zero comments, labels, or maintainer interaction, and the delta-compression push path it complains about was removed from snapcraft (delta uploads deprecated in 6.x, removed in 7.0), so the 'Error generating delta' message can no longer occur. The original problem is no longer reproducible in the current codebase, which is a concrete reason to close beyond mere age.

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

Issue body

For the first time I create a snap, register it and push. Messages are: """ $ snapcraft push foobar49_7.0_amd64.snap Pushing foobar49_7.0_amd64.snap Preparing to push '/home/facundo/canonical/building-snaps/foo/foobar49_7.0_amd64.snap' to the store. Found cached source snap /home/facundo/.cache/snapcraft/projects/foobar49/snap_hashes/amd64/e7131baeb945a904b8afede776e28439de104161b5c2e0e65660cf9625e8b62eba9ead689ceab01cf8fb884fe131a65b. Generating xdelta3 delta for foobar49_7.0_amd64.snap. Error generating delta: delta saving is less than 10%. Falling back to pushing full snap... Pushing foobar49_7.0_amd64.snap [==============================================================================] 100% Processing...| Ready to release! Revision 1 of 'foobar49' created. """ Why the "Error generating delta: delta saving is less than 10%."... it's a first push, how a delta can be built? against what? if no delta is possible, this "Error" should not be shown to the user...

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 10
Quick Win: 8.5
Staleness: 95
Complexity: 15
Confidence: 60
Support Request: 20
close stale User reports snapcraft push prints 'Error generating delta: delta saving is less than 10%' on a first push where no delta can exist. No labels, no comments, no maintainer activity in ~8.5 years; delta compression has since been removed from snapcraft.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 10
close stale Reports an unnecessary error message during first snap push when delta generation fails. Shows fallback to full push. Zero maintainer interaction or comments in over 8 years.
qwen/qwen3.6-35b-a3b
Staleness: 100
Complexity: 20
Confidence: 90
Support Request: 10
close stale First push shows misleading "Error generating delta" message. Issue is completely inactive for over 8 years with no maintainer response or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 20
Confidence: 90
Support Request: 15
close stale Misleading delta error logged on first snap push; issue remains untriaged and inactive for over 8 years.
qwen3.6-35b-moe-q4
Staleness: 100
Complexity: 10
Confidence: 85
Support Request: 10
close stale Misleading error message displayed during first snap push when delta generation fails. Issue is untriaged, has zero comments, and has been inactive for over 8 years.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.