-
Notifications
You must be signed in to change notification settings - Fork 153
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
ci: When models change, dump gql schema #1671
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Let's generalize the workflow filename and the top-level
name
key toupdate-api-schema
. - Let's rename the job to
graphql
.
This will give a concise yet extensible check name "update-api-schema / graphql" where we could add "update-api-schema / rest" in the future.
- Let's also migrate the OpenAPI XML generator (
./py -m ai.backend.manager.openapi
) tomgr openapi show
command.
As of #1686, we should use |
As with graphql, it was decided to replace this with |
Please resolve the merge conflict. I think the conflict is due to the formatting rule change in #1771, so you may |
To easily identify when the graphql schema has changed, a dump is created when files in the models path are modified.