fix: don't fail on unknown ubuntu bases
Metadata
Current evaluation
Merged PR #980 as commit 628f199, allowing ensure_guest_compatible to skip unknown Ubuntu bases so new devel releases can launch; fixes #979.
Resolution: closed resolved
Reason: The approved PR was merged as commit 628f199. It adds early-return handling for unknown Ubuntu bases and updates tests and distro metadata, resolving #979.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- Fixes a bug where the `ensure_guest_compatible` check would prevent new devel releases from launching.
- Renames the test file to match the real file.
- Updates distro-info
I made a test branch that only had this commit but without support for 26.10. I tested this in rockcraft (https://github.com/canonical/rockcraft/pull/1273) to ensure `build-base: devel` would work. This gives us confidence that we won't break later when `devel` gets repointed to 27.04.
Fixes #979
(CRAFT-5227)
---
- [x] I've followed the [contribution guidelines](https://github.com/canonical/starbase/blob/main/CONTRIBUTING.md).
- [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [x] I've successfully run `make lint && make test`.
- [ ] I've added or updated any relevant documentation.
- [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing.
- [x] I've updated the relevant release notes.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #980 as commit 628f199, allowing ensure_guest_compatible to skip unknown Ubuntu bases so new devel releases can launch; fixes #979. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #980 as commit 628f199: unknown Ubuntu bases now bypass ensure_guest_compatible validation, preventing new devel releases from being blocked and fixing #979. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged fix for #979 preventing ensure_guest_compatible from blocking new Ubuntu devel releases. Updates distro-info, renames test file, and resolves the issue after approval and CI checks. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/craft-providers#979
(confidence 100%)
Reported the unknown Ubuntu devel-base failure and was fixed by merged PR #980.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #852 fix(bases): ignore unknown Ubuntu versions in bases check. | craft-providers | merged | Merged PR #852 (commit 2707796), fixing launch crashes on unknown Ubuntu hosts by ignoring unsupported bases; the fix shipped in craft-providers 2.3.0. | |
| #1074 fix: ubuntu@26.04 is not a valid build-base yet | rockcraft | merged | Merged PR #1074 as commit 8995d20e, removing unstable ubuntu@26.04 from valid build-base options so only stable bases and devel are accepted; fixes #1069. |