fix: improve robustness of compatibility tag
Metadata
Current evaluation
PR improves compatibility tag handling by not assuming compatibility when tag is missing, refactors instance config loading into shared method with consistent error handling. Fresh PR (7 days old), passing CI, awaiting review.
Suggested action: needs review
Reason: This is a fresh PR (7 days old) with passing CI checks that addresses issue #789 (open ~1 year without maintainer action). It has 0 reviewers and 0 comments, so it needs maintainer review. The change refactors instance config loading and improves compatibility tag error handling, which is a reasonable improvement.
Impact:
35
Quick Win:
19.25
Staleness:
15
Complexity:
45
Confidence:
65
Issue body
Don't assume instance compatibility when the compatibility tag is
missing. Also refactor instance config loading into a shared method to
eliminate duplication and apply consistent error handling across
compatibility checks.
Fixes #789
---
- [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/).
- [ ] 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 |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
35
Quick Win:
19.25
Staleness:
15
Complexity:
45
Confidence:
65
|
needs review | PR improves compatibility tag handling by not assuming compatibility when tag is missing, refactors instance config loading into shared method with consistent error handling. Fresh PR (7 days old), passing CI, awaiting review. |
Update history
| Date | Change |
|---|---|
| updated | |
| updated | |
| updated | |
| updated | |
| created |
Related work
-
Related To:
craft-providers#383
(confidence 70%)
Related issue about making compatibility tag handling more robust, also open for 3 years without maintainer action
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #383 bumping the compatibility tag should be more robust | craft-providers | open | Enhancement to avoid hardcoding compatibility tags in tests by referencing them from a single source. Open for 3 years with no maintainer comments. |