feat: error on ua-services for core24+
Metadata
Current evaluation
Merged. Implements error handling for --ua-services and --enable-experimental-ua-services, plus a warning for SNAPCRAFT_UA_TOKEN in Core24+ snaps. Approved and merged despite unrelated CI failures.
Suggested action: —
No scores available.
Issue body
Core24 and higher snaps now
- error on `--ua-services`,
- error on `--enable-experimental-ua-services`, and
- warn on `SNAPCRAFT_UA_TOKEN`.
(CRAFT-5246)
---
- [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 | — | — | Merged. Implements error handling for --ua-services and --enable-experimental-ua-services, plus a warning for SNAPCRAFT_UA_TOKEN in Core24+ snaps. Approved and merged despite unrelated CI failures. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
5
Complexity:
20
Confidence:
85
|
needs review | Adds error and warning behavior for deprecated UA services flags and environment variables in Core24+ snaps. Currently awaiting initial review and CI checks. |
Update history
| Date | Change |
|---|---|
| updated |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #6308 feat: deprecate 'ua-services' key for core24+ | snapcraft | merged | Merged. Deprecates the ua-services key for core24+ bases, replacing it with the --pro=services CLI argument. Approved by two reviewers and passed most CI checks prior to integration. | |
| #3890 ua: enable ua services in legacy | snapcraft | merged | Merged baseline implementation backporting UA services support from core22 to legacy snapcraft. Introduces ua-services project key and --enable-experimental-ua-services flag. Approved by maintainer, passed CI, and integrated into main. | |
| #6317 feat: error when --pro is used for core22 | snapcraft | merged | Merged to add validation that errors when the --pro flag is used with core22 base snaps. Resolves CRAFT-5226. Approved by two reviewers despite unrelated CI failures. |