remote build: internal error when build is cancelled on launchpad
Metadata
Current evaluation
Remote build crashes with MissingSchema when a build is cancelled on Launchpad: fetch_logs tries to download a log URL that is the string 'None'. Triaged by maintainer, upstream fix tracked in craft-application#996.
Suggested action: keep open
Reason: Maintainer @mr-cal confirmed this is a bug on 2026-01-28 and filed upstream craft-application#996, with an internal Jira ticket (SNAPCRAFT-1281) created. The issue is triaged and tracked, so it should remain open until the upstream fix lands. The current craft-application code has a `if not url` guard in fetch_logs, but the crash shows the URL is the literal string 'None', which the guard does not catch, so the fix is not yet verified.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
50
Quick Win:
30.0
Staleness:
55
Complexity:
40
Confidence:
75
Support Request:
5
|
keep open | Remote build crashes with MissingSchema when a build is cancelled on Launchpad: fetch_logs tries to download a log URL that is the string 'None'. Triaged by maintainer, upstream fix tracked in craft-application#996. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
75
Complexity:
35
Confidence:
90
Support Request:
5
|
keep open | Remote build crashes with a MissingSchema error when manually cancelled on Launchpad. Maintainer acknowledged the bug and linked an upstream issue, but the thread has been inactive for over five months. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
55
Complexity:
30
Confidence:
90
Support Request:
5
|
keep open | Remote build crashes with a MissingSchema error when a user manually cancels a build on Launchpad. Triaged by maintainers, upstream issue created, awaiting fix. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
55
Complexity:
30
Confidence:
90
Support Request:
5
|
keep open | Manually cancelling a remote Launchpad build crashes snapcraft with a MissingSchema error. The bug is triaged, an upstream fix is open, and an internal ticket exists. Awaiting developer assignment. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-application#996
(confidence 60%)
Maintainer explicitly created this upstream issue in response to this bug report; no fix commit referencing it found yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #996 RemoteBuild raises uncaught MissingSchema error | craft-application | open | RemoteBuild crashes with uncaught MissingSchema when a build is cancelled in Launchpad UI, because fetch_logs tries to download a None build_log_url. Code now guards against empty URLs. | |
| #4821 remote build: hangs when logging into Launchpad | snapcraft | closed | Resolved via craft-application#337 with improved Launchpad API retry logic. The CI-specific login hang was explicitly rejected since remote-build is unsupported in CI environments. | |
| #5517 remote build: internal error from 400 response | snapcraft | open | Snapcraft remote build exposes an internal error when Launchpad returns a 400 (BadRequest) during repo push; the lazr.restfulclient.errors.BadRequest exception is not caught. Triaged as a bug, fix likely needed upstream in Craft Application. |