← 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

Maintainer-requested resilience for temporary Store 503 responses remains open: all store commands should retry with backoff, but current request handling has no 503-specific retry path.

Suggested action: keep open

Reason: The store-labeled, maintainer-authored request clearly targets temporary 503 failures across all Store commands. The central client request path currently special-cases unauthorized responses but has no 503 or backoff handling; retry limits and safety semantics for state-changing actions still need definition.

Evaluated by: mr-cal-bot

Impact: 58 Quick Win: 20 Complexity: 52 Confidence: 87 Actionability: 72

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
stealth/space-bunny-alpha
Impact: 58
Quick Win: 20
Complexity: 52
Confidence: 87
Actionability: 72
keep open Maintainer-requested resilience for temporary Store 503 responses remains open: all store commands should retry with backoff, but current request handling has no 503-specific retry path.
qwen/qwen3.6-35b-a3b
Impact: 40
Quick Win: 17
Complexity: 30
Confidence: 70
Actionability: 60
keep open Feature request to add retry with backoff for 503 errors from the store API across all store commands. Open for ~9.4 years with no comments or assignee, but labeled 'store'.
qwen/qwen3.8-27b
Impact: 40
Quick Win: 22
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.

Update history

Date Change
created

Related work

  • Related To: snapcraft#1184 (confidence 88%)

    Historical work enabled retries for Store calls, providing related precedent, though it does not establish current 503 coverage.

  • Related To: snapcraft#1212 (confidence 85%)

    Historical work improved the retry strategy for Store GET requests, but current source has no 503-specific retry path.

  • Related To: snapcraft#2094 (confidence 80%)

    Later Store API work addressed network errors and retries and may contain reusable implementation patterns.

Related issues

No related issues found above the similarity threshold.