fix: use correct base in architecture errors
Metadata
Current evaluation
Fixed architecture error messages to display the correct base. Merged as #6494.
Resolution: closed resolved
Reason: The pull request was merged, resolving #6322 by correcting the base used in architecture-related error messages.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Error messages for using the `architectures` key now use the correct base.
Fixes #6322
(SNAPCRAFT-1370)
---
- [x] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/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.
- [ ] I've updated the relevant release notes.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | closed resolved | Fixed architecture error messages to display the correct base. Merged as #6494. | |
| qwen/qwen3.6-35b-a3b |
Impact:
55
Quick Win:
37
Complexity:
15
Confidence:
85
Actionability:
80
|
needs review | Fixes hardcoded 'core24' in architecture error messages for core26/devel bases. Approved by 2 reviewers, most CI passing, ready to merge. |
Update history
| Date | Change |
|---|---|
| merged | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| created |
Related work
-
Likely Fixed By:
snapcraft#6322
(confidence 100%)
PR #6494 explicitly fixes issue #6322 regarding incorrect base in architecture errors.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1792 fix(package): use correct legacy bases architectures | charmcraft | closed | PR #1792 fixing legacy bases architecture selection was closed unmerged on 2024-08-07, superseded by #1795, which was merged as commit 8b16cae4 and shipped in Charmcraft 3.1.2 to fix issue #1783. |