Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SAT: Validate that configs generated with previous spec are valid according to new spec #14595

Closed
Tracked by #14097
pedroslopez opened this issue Jul 11, 2022 · 0 comments · Fixed by #15367
Closed
Tracked by #14097
Assignees
Labels

Comments

@pedroslopez
Copy link
Contributor

pedroslopez commented Jul 11, 2022

(more context in parent issue #14097)

Complementary to the specific assertions introduced in #14593, we can more generically check that configs created according to the old spec are still valid according to the new spec. This can be done by generating multiple config variations with the old spec's schema, and validating them with the new spec's schema.

Implementation

There are tools out there that can already generate data for us according to a desired JSON schema.

Some options:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants