← Back to issue list

retry store actions when it returns a 503 error

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1684225
Type
issue
State
open
Author
~elopio
Labels
store
Created
Updated
Closed

Current evaluation

Request to add retry with backoff to all snapcraft store commands when the store returns 503. Filed by maintainer elopio ~9.4 years ago, labeled 'store', no activity since. The store client has since been rewritten around the shared craft-store library.

Suggested action: close stale

Reason: The issue is 3421 days old with zero comments or maintainer interaction, and the store client it targets has since been replaced by the shared craft-store library (which introduced its own http_client module), so the original request no longer maps to the current architecture. If 503 retry is still missing, it should be requested against the current store stack rather than this long-dormant issue.

Impact: 40 Quick Win: 22.0 Staleness: 92 Complexity: 45 Confidence: 55 Support Request: 5

Issue body

nessita has told me today that they added a 503 error on the store. When that's returned, we can retry the action, ideally with some backoff. This should be added to all the store commands.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 40
Quick Win: 22.0
Staleness: 92
Complexity: 45
Confidence: 55
Support Request: 5
close stale Request to add retry with backoff to all snapcraft store commands when the store returns 503. Filed by maintainer elopio ~9.4 years ago, labeled 'store', no activity since. The store client has since been rewritten around the shared craft-store library.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 25
Confidence: 95
Support Request: 10
close stale Feature request to add retry logic with backoff for 503 errors across all store commands. No activity for over 9 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 25
Confidence: 90
Support Request: 5
close stale Feature request to implement retry logic with backoff for 503 store errors. Unaddressed for over nine years with no maintainer interaction or updates.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 35
Confidence: 85
Support Request: 10
close stale Request to implement retry logic with backoff for 503 store errors across all commands. The issue remains completely inactive with zero maintainer comments or labels for over nine years.
qwen3.6-35b-moe-q4
Staleness: 95
Complexity: 25
Confidence: 90
Support Request: 10
close stale Feature request to add retry logic with backoff for 503 errors across all store commands. Issue has been inactive for over 9 years with no maintainer response or implementation.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#4866 (confidence 70%)

    User-reported 500 error during snapcraft upload, closed as a transient store outage — shows transient store errors are a real user-facing problem this retry request would mitigate.

Related issues

Issue Project State Summary Similarity
#1184 store: enable retries for store calls. snapcraft merged Merged changes enabling automatic retries for flaky store and CDN connection resets. The update registers a retry adapter with a five-attempt limit, approved by one reviewer, and modifies two files.
71%