Skip to content

Test stable proto generation against compiled descriptors - #931

Draft
stephanos wants to merge 1 commit into
api-next-stephanos-followupfrom
api-next-stephanos-descriptor-oracle
Draft

stephanos wants to merge 1 commit into
api-next-stephanos-followupfrom
api-next-stephanos-descriptor-oracle

Conversation

@stephanos

Copy link
Copy Markdown
Contributor

Builds on #921.

  1. 25d8e319 Adds an independent descriptor oracle, runs it against fixtures, generated schemas, and the repository schema, and tests it with deliberately broken outputs. Compiling and comparing the schemas catches leaked draft declarations and lost stable declarations or comments.

What
Adds the independent descriptor oracle, comment checks, corpus checks, and fault fixtures.

Why
Compiling and comparing the schemas independently catches draft leaks and stable declarations or comments lost during projection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant