remote-build: add "Pending" as a possible status output
Metadata
Current evaluation
Added Pending as a valid status output for remote-build, improving the transition from Uploading to Stopped. Merged after two reviewer approvals and passing CI checks.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox run -m lint`?
- [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
Currently, remote-build status goes from "Uploading" to "Stopped".
`BuildState` has a PENDING state that is set but not checked for. Going
from "Uploading" to "Pending" improves status messages significantly.
The output could also say "Needs building" to match the web view, but
"Pending" is more in line with the other single-word outputs.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Added Pending as a valid status output for remote-build, improving the transition from Uploading to Stopped. Merged after two reviewer approvals and passing CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds "Pending" as a valid remote-build status, improving messages by reflecting the existing BuildState.PENDING state. The change passed tests and was merged after minor CI flakiness was resolved. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Introduces Pending as a valid remote-build status output, changing the flow from Uploading to Pending instead of Stopped. Aligns with the existing BuildState enum. Resolved minor CI flake and merged successfully. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #636 feat: add a "pending" status to remote builds | craft-application | merged | Merged the feature adding a pending status to remote builds. The change upstreams code from canonical/snapcraft#4956, received two approvals, and modified four files with 43 additions and 15 deletions. | |
| #623 fix: remove --status from remote-build overview | craft-application | merged | Removed the non-existent --status argument from the remote-build overview text, resolving #620 and CRAFT-4028. Merged following three approvals and passing CI checks, with the branch retargeted to main. | |
| #2642 remote-build: detect early build errors | snapcraft | merged | Merged. Improved remote build error detection to distinguish between pending builders and actual failures like missing config or timeouts. Approved by reviewer, passed CI, and modified 3 files (+131/-47 lines). Minor import fix applied. |