← Back to issue list

Craft-application should include a schema JSON and a CI job to check the schema.

View original Github issue

Metadata

Project
craft-application
Number
#875
Type
issue
State
open
Author
lengau
Labels
Status: Triaged Type: Enhancement
Created
Updated
Closed

Current evaluation

Enhancement to add a schema generator and CI schema-diff job to craft-application, modeled on rockcraft's tooling, so schema-affecting changes can be flagged in changelogs. Triaged by a maintainer but no implementation progress in ~12 months.

Suggested action: keep open

Reason: The issue carries 'Status: Triaged' and 'Type: Enhancement' labels, so it has been assessed by a maintainer, and the requested work is verifiably still missing: .github/workflows/ has no schema.yaml and no commit references a schema generator or the linked CRAFT-4712 ticket. Inactivity alone (~369 days, only a bot comment) doesn't justify closing since the feature remains unimplemented and applicable to the current testcraft/partitioncraft/witchcraft layout.

Impact: 35 Quick Win: 19.25 Staleness: 70 Complexity: 45 Confidence: 80 Support Request: 5

Issue body

### What needs to get done We should include an upstream version of the [schema generator](https://github.com/canonical/rockcraft/blob/main/tools/schema/schema.py) and a [Schema validator/diff checker](https://github.com/canonical/rockcraft/blob/main/.github/workflows/schema.yaml) CI job in craft-application. ### Why it needs to get done We should know when a change is going to affect applications' schemas so we can include that fact in the changelog. While this might not cover every possible case, doing it will still improve things significantly. Perhaps we could generate separate schema files for all of our fakecrafts (testcraft, partitioncraft, platformcraft, witchcraft) to test more scenarios where the schema could change.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 35
Quick Win: 19.25
Staleness: 70
Complexity: 45
Confidence: 80
Support Request: 5
keep open Enhancement to add a schema generator and CI schema-diff job to craft-application, modeled on rockcraft's tooling, so schema-affecting changes can be flagged in changelogs. Triaged by a maintainer but no implementation progress in ~12 months.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 45
Confidence: 75
Support Request: 10
keep open Enhancement to add a schema generator and CI validation job to craft-application for tracking schema changes across related projects. Currently triaged but inactive for over a year with no implementation progress.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 30
Confidence: 75
Support Request: 5
close stale Enhancement to add schema generation and CI validation to craft-application. Triaged but inactive for over a year with only automated Jira sync comments and no assignee or progress.
qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 40
Confidence: 75
Support Request: 5
keep open Add a schema JSON generator and CI validation job to craft-application for tracking schema changes in changelogs. The enhancement is triaged but inactive for nearly a year, awaiting implementation.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.