← Back to issue list

remote build: stop raising internal errors

View original Github issue

Metadata

Project
snapcraft
Number
#4908
Type
issue
State
closed
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Remote-build errors now produce actionable messages and documentation links via merged PR #5052 (741e36eb9), updating craft-application to 4.2.4.

Resolution: closed resolved

Reason: PR #5052 was merged as commit 741e36eb9, updating craft-application to 4.2.4 so remote-build errors are caught and include resolution guidance and documentation links.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done Remote builder errors should be caught and include a resolution and a link to the documentation ### Why it needs to get done Remote build errors are raised as `snapcraft internal error`s and are do not help the user fix the problem. source: https://matrix.to/#/!GGqzbFAUQprdPgYYCM:ubuntu.com/$eFv8F6yWzVPWZHp4eXV7gKHTh125YamJUJEnrkI2eC0?via=ubuntu.com&via=matrix.org&via=kde.org

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Remote-build errors now produce actionable messages and documentation links via merged PR #5052 (741e36eb9), updating craft-application to 4.2.4.
stealth/space-bunny-alpha — closed resolved Remote-build errors are now caught and reported with actionable resolutions and documentation links. Merged in canonical/snapcraft#5052 (741e36eb9), updating craft-application to 4.2.4.
qwen/qwen3.6-35b-a3b — — Remote build errors were previously raised as unhelpful internal errors. Fixed via PR #5052, which now catches these errors and provides actionable resolution steps with documentation links.
qwen/qwen3.6-35b-a3b — — Fixed via #5052. Remote build errors previously raised as unhelpful internal errors are now caught and display actionable resolutions with documentation links.
qwen/qwen3.6-35b-a3b — — Fixed via PR #5052. Remote build errors are now caught and replaced with user-friendly messages containing resolutions and documentation links, replacing generic internal error reports.
qwen3.6-35b-a3b-mtp-q6 — — Fixed via PR #5052. Remote build errors are now properly caught and replaced with user-friendly messages containing resolution steps and documentation links, replacing the previous unhelpful internal error reports.

Update history

No update history recorded yet.

Related work

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

    Merged fix titled "fix: catch remote build errors" explicitly resolves #4908.

Related issues

Issue Project State Summary Similarity
#5052 fix: catch remote build errors snapcraft merged Merged in #5052 (commit 741e36eb9), updating craft-application to 4.2.4 so remote-build errors are caught as CraftErrors and include documentation links; fixes #4908.
86%
#482 refactor: subclass remote-build errors from CraftError craft-application merged Merged craft-application#482 as be2750d8, making RemoteBuild errors CraftError subclasses, moving details into brief messages, and documenting release 4.2.4.
82%
#5223 remote-build: refactor onto craft-application's command snapcraft closed Remote-build was refactored onto craft-application's RemoteBuild in merged PR #5239 (commit f31d99498), bringing the requested upstream improvements.
73%