-
Notifications
You must be signed in to change notification settings - Fork 7
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
Generated prescription do not match the expected schema #205
Comments
Do we have other errors than just the metadata being in the wrong place ? |
Not that I'm aware of. But I have only checked a very limited number of prescriptions. One problem/challenge here is that, as far as I can tell, |
> Do we have other errors than just the metadata being in the wrong place ?
Not that I'm aware of. But I have only checked a very limited number of prescriptions.
One problem/challenge here is that, as far as I can tell, `thoth-adviser validate-prescriptions` errors out on the first validation failure and stops. If there was a way to make it show all the errors, we would be sure
No problems with that, with the pre-commit modification it does not error out (when using the --pre-commit flag). Even if it does not work in the CI with adviser packaging problems I can make it work locally to validate we have a sane DB once I figure out the magic yq recipe to fixing the metadata ones.
|
We do in fact have other errors.
Scorecards related stuff is in prescription but not in the schemas...
Other metadata but in other places...
It's going to be tricky.
One solution is to delete all faulty prescriptions. Too radical ?
|
Describe the bug
Currently, this job is generating prescriptions that do not match the schema
To Reproduce
See PRs generated by recent executions of this job, for example https://github.com/thoth-station/prescriptions/pull/38943/files
Expected behavior
Prescriptions generated by this job should not fail validation
Screenshots
The prescription file referenced above:
Note that the metadata is not in the location expected by the schema.
Additional context
Prescription metadata was introduced in #155.
Currently, the prescriptions in the prescription repo do not match validation. thoth-adviser is stuck at using v0.22.0. See thoth-station/adviser#2402
The text was updated successfully, but these errors were encountered: