BREAKING: "any" is an invalid platform name.
Metadata
Current evaluation
Reserved "any" as an invalid platform name and exported that restriction in the schema via merged PR #936 (commit b534c8a8).
Resolution: closed resolved
Reason: PR #936 added model validation and JSON-schema exclusion for the reserved name "any", matching the requested behavior.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
Set the Project model so that `any` is not a valid platform name. This should both prevent the project from being created and be exported to the schema.
### Why it needs to get done
In line with https://github.com/canonical/craft-platforms/issues/166 and https://github.com/canonical/craft-grammar/issues/122, we need to ensure that `any` is not a valid platform name.
This is technically a breaking change, but as far as we know there are 0 real-world projects that do this.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Reserved "any" as an invalid platform name and exported that restriction in the schema via merged PR #936 (commit b534c8a8). | |
| stealth/space-bunny-alpha | — | closed stale | Closed with no linked implementation; the only follow-up was Jira ticket CRAFT-4747. Linked craft-platforms#166 was also closed unresolved, with the change deferred to future breaking-change work. | |
| stealth/space-bunny-alpha | — | closed stale | No resolving PR or commit is recorded for the proposed platform validation and schema change; the issue was closed with only an automated CRAFT-4747 Jira-sync comment. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The enhancement to reject any as a platform name was synced to Jira as CRAFT-4747, but no code changes or merges are documented. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation or linked pull request. The enhancement to reject "any" as a valid platform name was triaged and tracked via an internal Jira ticket, but appears abandoned or deferred with no code changes merged. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and moved to Jira (CRAFT-4747) for tracking. No code changes were implemented or merged. The enhancement to reject "any" as a platform name was deferred to external issue tracking. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-application#936
(confidence 100%)
Merged as commit b534c8a8 with the reserved-name validation and schema change.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #166 BREAKING: Make "any" an invalid platform name. | craft-platforms | closed | Platform name "any" and "*" were made reserved by merged PR #176 in commit 62631bd, rejecting them with guidance toward a valid alternative. | |
| #176 feat!(platform): make 'any' and '*' invalid platform names | craft-platforms | merged | Merged #176 as commit 62631bd, rejecting 'any' and '*' as platform names and adding reusable reserved-name handling; fixes #166. |