Add extensions to the Rockcraft JSON schema
Metadata
Current evaluation
Rockcraft added the extensions field to the rockcraft.yaml JSON schema in merged PR #1057 (commit 23fe7dfe), allowing IDE validation of 12-factor extensions.
Resolution: closed resolved
Reason: The issue was resolved by merged PR #1057, commit 23fe7dfe, which added extensions to the schema so supported 12-factor rock extensions validate correctly.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
#### Context
When using JSON schema IDE integration, it shows an error when using the 12 factor rock extensions.
```console
Property extensions is not allowed. (yaml-schema: rockcraft 513)
```
#### Example
The following is a minimal `rockcraft.yaml` example that shows the missing schema property:
```yaml
name: my-rock-name
base: ubuntu@24.04
version: "0.1"
summary: A summary of your Flask application
description: |
This is my-rock-name's description.
platforms:
amd64:
extensions:
- flask-framework
parts:
flask-framework/install-app:
prime:
- flask/app/.env
```
### Why it needs to get done
Helps to make the Rockcraft JSON schema more complete.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Rockcraft added the extensions field to the rockcraft.yaml JSON schema in merged PR #1057 (commit 23fe7dfe), allowing IDE validation of 12-factor extensions. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1057 via commit 23fe7dfe, adding extensions to the rockcraft.yaml schema so IDE validation accepts supported 12-factor rock extensions. | |
| stealth/space-bunny-alpha | — | closed resolved | Added extensions to rockcraft.yaml’s JSON schema, fixing editor errors for extension-based projects. Resolved by #1057, commit 23fe7dfe. | |
| stealth/space-bunny-alpha | — | closed resolved | Added extensions to the Rockcraft JSON schema, resolving IDE validation errors for 12-factor rock extensions via merged PR #1057 (commit 23fe7dfe). | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation or associated pull request. The request to add the extensions property to the Rockcraft JSON schema for IDE compatibility was abandoned. | |
| qwen/qwen3.8-27b |
Impact:
30
Quick Win:
27
Staleness:
70
Complexity:
10
Confidence:
80
Support Request:
0
|
keep open | Rockcraft JSON schema rejects the valid 'extensions' key in rockcraft.yaml, causing IDE validation errors. PR #1057 to add the field is open but unmerged; no maintainer activity on the issue in ~13 months. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
85
Complexity:
10
Confidence:
80
Support Request:
5
|
needs triage | Request to add the missing extensions property to the Rockcraft JSON schema to resolve IDE validation errors. The issue is unlabelled, has zero maintainer comments, and has been inactive for over a year. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
90
Complexity:
10
Confidence:
85
Support Request:
10
|
needs triage | Request to add the missing extensions property to the Rockcraft JSON schema to resolve IDE validation errors. Currently unlabelled and inactive for over a year. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
92
Complexity:
15
Confidence:
85
Support Request:
10
|
needs triage | Missing extensions property in Rockcraft JSON schema causes IDE validation errors. Untriaged, inactive for over a year, awaiting maintainer review. |
Update history
| Date | Change |
|---|---|
| closed |
Related work
-
Likely Fixed By:
canonical/rockcraft#1057
(confidence 100%)
Merged schema change explicitly fixes the missing extensions property.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1057 fix(schema): allow extensions field in rockcraft.yaml | rockcraft | merged | Merged as commit 23fe7dfe, adding the extensions field to the rockcraft.yaml schema and fixing IDE validation reported in canonical/rockcraft#922. | |
| #281 extensions: add basic support | rockcraft | merged | Merged PR #281 (commit 7591dc3b) adding basic extensions support to Rockcraft: an Extension base class with property definitions and validate()/apply() logic, applied and validated when a project is loaded, plus unit tests. | |
| #273 Extensions Framework | rockcraft | closed | Extensions primitives for Rockcraft delivered by merged PR #281 (commit 7591dc3b, 'extensions: add basic support'), adding an Extension base class with validate()/apply() plus project-load integration. Closed by tigarmo. | |
| #1117 fix(cli): refer to rockcraft.yaml in expand-extensions help | rockcraft | closed | Docs-only PR correcting the expand-extensions help text to say rockcraft.yaml. Closed unmerged by the author after maintainer @asanvaq noted it duplicated the work in #1103 and #1110; fix still pending in #1103. |