remote build: internal error when build is cancelled on launchpad
Metadata
Current evaluation
remote-build crashes with internal error MissingSchema when a build is cancelled on Launchpad (build_log_url is the string "None"); acknowledged by mr-cal, tracked upstream in craft-application#996 and Jira SNAPCRAFT-1281, still unfixed.
Suggested action: keep open
Reason: Confirmed unfixed in current code: craft-application/services/remotebuild.py:203 still only guards with `if not url:`, so a build_log_url of the literal string "None" (returned by Launchpad for cancelled builds) passes through to requests and raises MissingSchema. Maintainer mr-cal explicitly acknowledged "This is definitely a bug, I've created an upstream issue: canonical/craft-application#996", and the bot created SNAPCRAFT-1281; the issue is labeled Status: Triased / Type: Bug, so it is a validated bug that should stay open until the upstream patch lands and a craft-application version bump pulls it into snapcraft.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
40
Quick Win:
22
Complexity:
30
Confidence:
86
Actionability:
78
|
keep open | remote-build crashes with internal error MissingSchema when a build is cancelled on Launchpad (build_log_url is the string "None"); acknowledged by mr-cal, tracked upstream in craft-application#996 and Jira SNAPCRAFT-1281, still unfixed. | |
| qwen/qwen3.6-35b-a3b |
Impact:
50
Quick Win:
32
Complexity:
20
Confidence:
70
Actionability:
80
|
keep open | Remote build crashes with MissingSchema error when cancelled on Launchpad due to None build_log_url; upstream issue created in craft-application | |
| qwen/qwen3.8-27b |
Impact:
50
Quick Win:
30
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. |
Update history
No update history recorded yet.
Related work
-
Blocked By:
canonical/craft-application#996
(confidence 92%)
Upstream issue created by maintainer mr-cal; the faulty `if not url` check lives in craft-application, not the snapcraft repo, so the fix must land there first
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5517 remote build: internal error from 400 response | snapcraft | open | Remote builds expose an internal error when Launchpad returns HTTP 400 while pushing the repository; the triaged bug remains open and likely requires a Craft Application fix. | |
| #996 RemoteBuild raises uncaught MissingSchema error | craft-application | open | RemoteBuild raises uncaught MissingSchema error when build_log_url is the string 'None' instead of None for cancelled builds | |
| #2642 remote-build: detect early build errors | snapcraft | merged | Merged PR #2642 by cjp256: remote-build now detects early Launchpad build errors (e.g. missing snapcraft.yaml) instead of misreporting a busy builder; landed as commit 73fd95e86. | |
| #4821 remote build: hangs when logging into Launchpad | snapcraft | closed | Partly mitigated by Launchpad retries in craft-application; the CI login hang was closed as unsupported, with snapcraft.io recommended for CI builds. |