← 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
2025-08-27 15:10:56+00:00
Updated
2025-08-27 15:11:07+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

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

No evaluation history available.