store: enable retries for store calls.
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
Calling anything related to the store, more so when dealing with CDNs
has become extremely flaky. This registers an adapter to enabled a
maximum retry count of 5 before giving up on connection resets.
LP: #1671817
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Enables automatic retries for store and CDN calls by registering an adapter that retries up to five times on connection resets, addressing flakiness in LP: #1671817. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged an update enabling automatic retries for store and CDN API calls. A retry adapter was added with a five-attempt limit to mitigate flaky connection resets, resolving LP #1671817. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1212 store: better retry strategy for GETs. | snapcraft | merged | Merged after approval. Replaced existing retry logic with a configurable retry class for GET requests, enabling fine-grained control and forced retries on specific HTTP status codes. Approved with a minor naming suggestion. | |
| #1684225 retry store actions when it returns a 503 error | snapcraft (launchpad) | open | 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. |