← Back to issue list

When asking to release to a branch that's too long, a traceback is printed that gives no hints as to the source of the error

View original Github issue

Metadata

Project
snapcraft
Number
#2028
Type
issue
State
closed
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Fixed by merged PR #2059 (commit 3a861f74c): Snapcraft now handles HTML 500 Store responses during release, logs details, and avoids the uninformative traceback.

Resolution: closed resolved

Reason: Merged PR #2059 in commit 3a861f74c added handling for HTML 500 responses from the Store, logged the response, and suppressed the raw traceback while preserving a generic error message.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [When asking to release to a branch that's too long, a traceback is printed that gives no hints as to the source of the error](https://bugs.launchpad.net/snapcraft/+bug/1750177)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #2059 (commit 3a861f74c): Snapcraft now handles HTML 500 Store responses during release, logs details, and avoids the uninformative traceback.
stealth/space-bunny-alpha — closed resolved Handled HTML 500 responses during snap release to suppress the unhelpful traceback; fixed in merged PR #2059 (commit 3a861f74c).
stealth/space-bunny-alpha — closed resolved Merged PR #2059 (commit 3a861f74c) fixed storeapi handling of HTML 500 responses during snap release, suppressing tracebacks and adding error logging.
stealth/space-bunny-alpha — closed resolved Fixed in merged PR #2059 (commit 3a861f74c): snapcraft now handles HTML 500 responses from the store, suppressing tracebacks and adding store error logging.
qwen/qwen3.6-35b-a3b — — Closed. Upstream store returns a 500 error with HTML, preventing clear error messaging. The traceback was suppressed in favor of a generic message. Superseded by #2059.
qwen/qwen3.6-35b-a3b — — Closed as superseded by #2059. The store returns a 500 error with HTML for overly long branch names, preventing clear error reporting. The fix suppresses the traceback and displays a generic error message instead.
qwen/qwen3.6-35b-a3b — — Superseded by PR #2059. Since the store returns a 500 error with unhelpful HTML, the team opted to suppress the traceback and show a generic error message rather than fixing the branch length validation.
qwen3.6-35b-a3b-mtp-q6 — — Closed due to upstream store returning a 500 error with unparseable HTML. Tracebacks will be suppressed and replaced with a generic error message. Implementation tracked in #2059.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: snapcraft#2059 (confidence 100%)

    The merged PR is explicitly linked as the resolution for #2028.

Related issues

Issue Project State Summary Similarity
#1750177 When asking to release to a branch that's too long, a traceback is printed that gives no hints as to the source of the error. snapcraft (launchpad) closed Fixed by merged snapcore/snapcraft PR #2059 (commit 3a861f74c); Store-side validation later returned a clear error for overlong branch names.
86%