← Back to issue list

storeapi: improve candid interaction errors (CRAFT-135)

View original Github issue

Metadata

Project
snapcraft
Number
#3562
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged #3562 via e2640b1bd (merge 54781044a), adding distinct Store API errors and messages for token-related candid interactions.

Resolution: closed resolved

Reason: PR #3562 was merged into master as 54781044a, with implementation commit e2640b1bd. It introduced distinct error classes and messages for token-related candid interactions.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Provide distinct error classes and messages when dealing with tokens. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #3562 via e2640b1bd (merge 54781044a), adding distinct Store API errors and messages for token-related candid interactions.
stealth/space-bunny-alpha — closed resolved Merged PR #3562 into master as 54781044a, adding distinct error classes and messages for token handling in the store API.
stealth/space-bunny-alpha — closed resolved Merged PR #3562 in commit 54781044, adding distinct error classes and clearer token-related error messages to Store API Candid interactions.
stealth/space-bunny-alpha — closed resolved Merged PR #3562 into master as 54781044a, adding distinct error classes and messages for Candid token-handling failures in the store API.
qwen/qwen3.6-35b-a3b — — Merged into master after reviewer approval and passing CI. Introduces distinct error classes and messages for token handling in the store API to improve Candid interaction error reporting.
qwen3.6-35b-a3b-mtp-q6 — — Merged into master, the update improves Candid interaction errors by introducing distinct error classes and messages for token handling. Integrated as PR #3562 despite a minor coverage decrease.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3550 storeapi: log responses and registration error code snapcraft merged Merged #3550 via 29dd2455d, adding debug logging for Store API responses and surfacing registration error codes.
71%
#3684 legacy storeapi: use craft-store snapcraft closed Closed in favor of #3692, which merged the legacy storeapi migration to craft-store as 15b55daa8 (merge 5a850ca04).
70%
#2116 storeapi: handle 5xx error codes for all store endpoints snapcraft merged Merged PR #2116 as commit c6500ca0e, generalizing Store API 5xx handling across all endpoints and fixing LP #1768370.
70%