-
Notifications
You must be signed in to change notification settings - Fork 6
docs: add pull request template for schema-first reviews #29
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,37 @@ | ||||||||||||||||||||||||||||
| ## Summary (5-minute review) | ||||||||||||||||||||||||||||
| - Problem: | ||||||||||||||||||||||||||||
| - What changed: | ||||||||||||||||||||||||||||
| - | ||||||||||||||||||||||||||||
| - | ||||||||||||||||||||||||||||
| - | ||||||||||||||||||||||||||||
| - Validation run: | ||||||||||||||||||||||||||||
| - `npm run verify` | ||||||||||||||||||||||||||||
| - `npm run check:index` | ||||||||||||||||||||||||||||
| - Result: | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| ## Schema Impact (required) | ||||||||||||||||||||||||||||
| - Schema files touched: | ||||||||||||||||||||||||||||
| - | ||||||||||||||||||||||||||||
| - Change type: `non-breaking` | `breaking` | ||||||||||||||||||||||||||||
| - Fields/enums changed: | ||||||||||||||||||||||||||||
| - | ||||||||||||||||||||||||||||
| - Example JSON (before/after): | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| ```json | ||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||
| "before": {}, | ||||||||||||||||||||||||||||
| "after": {} | ||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||
|
Comment on lines
+18
to
+25
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For better readability, especially with complex schema changes, it's clearer to present the 'before' and 'after' JSON examples in separate code blocks. The current single-block format can make it difficult to compare the two states.
Suggested change
After {} |
||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| ## Changes by Unit | ||||||||||||||||||||||||||||
| - Unit 1: | ||||||||||||||||||||||||||||
| - Unit 2: | ||||||||||||||||||||||||||||
| - Unit 3: | ||||||||||||||||||||||||||||
|
Comment on lines
+27
to
+30
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The section
Suggested change
|
||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| ## Risk and Rollback | ||||||||||||||||||||||||||||
| - Risks: | ||||||||||||||||||||||||||||
| - Rollback plan: | ||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
| ## Out of Scope | ||||||||||||||||||||||||||||
| - | ||||||||||||||||||||||||||||
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.
The
Validation runsection currently lists specific commands. To make the template more flexible and useful for various types of changes, consider using a checklist. This allows authors to indicate which standard checks were run and provides a place to add any other specific validation steps performed for the PR.