← Back to issue list

Errors when pulling sources result in traceback

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1794272
Type
issue
State
closed
Author
~kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Source-pull failures now produce clear errors instead of tracebacks and Sentry reports, fixed by canonical/snapcraft#2292 in commit 1bb56d427.

Resolution: closed resolved

Reason: The proposed fix was merged as commit 1bb56d427 through canonical/snapcraft#2292, properly handling source-pull failures.

Evaluated by: mr-cal-bot

No scores available.

Issue body

When a source fails to pull for whatever reason (network errors, invalid git repos, etc.) snapcraft wants to submit an error report to sentry. This errors should be handled better. See https://sentry.io/share/issue/da9b327b6b2044b785569196745c1893/ for more information.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Source-pull failures now produce clear errors instead of tracebacks and Sentry reports, fixed by canonical/snapcraft#2292 in commit 1bb56d427.
stealth/space-bunny-alpha — closed resolved Source-pull failures now show clear errors instead of tracebacks and Sentry reports, fixed by canonical/snapcraft#2292 in commit 1bb56d427.
stealth/space-bunny-alpha — closed resolved Fixed in canonical/snapcraft#2292 (commit 1bb56d427): source-pull failures now produce a clear error instead of a traceback and Sentry report.
qwen/qwen3.6-35b-a3b — — Closed without documented resolution. Tracebacks during source pull failures and Sentry reporting remain unaddressed.
qwen/qwen3.6-35b-a3b — — Closed without resolution. Unhandled tracebacks from source pull failures were not addressed. The issue was abandoned due to prolonged inactivity.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The traceback handling for source pull failures was not addressed and likely abandoned due to inactivity.
qwen3.6-35b-a3b-mtp-q6 — — Closed without comments or resolution details. The unhandled traceback during source pull failures appears abandoned or resolved externally.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#2292 (confidence 100%)

    Merged commit 1bb56d427 directly resolves the reported source-pull error handling.

Related issues

Issue Project State Summary Similarity
#2604 sources: introduce SnapcraftSourceNotFoundError snapcraft merged Merged PR #2604 introduced clearer missing-source errors via SnapcraftSourceNotFoundError, exception chaining, and tests in commit 7527d0e82.
72%
#2292 sources: properly handle pull failures snapcraft merged Merged as commit 1bb56d427, converting source-pull tracebacks and Sentry reports into handled CLI errors and fixing LP: #1794272.
71%
#1793082 pickle up errors from build environments snapcraft (launchpad) closed Fixed by canonical/snapcraft#2455 in commit 9d353a630: outer Snapcraft now retrieves and reports error data from build providers.
71%