ci: verify that codegen is up-to-date - #1095
Merged
Merged
Conversation
mahkoh
force-pushed
the
jorth/codegen-check
branch
from
July 15, 2026 12:53
d6c31a1 to
e1dfdf1
Compare
mahkoh
force-pushed
the
jorth/codegen-check
branch
from
July 15, 2026 12:55
ab33645 to
27741e2
Compare
mahkoh
force-pushed
the
jorth/codegen-check
branch
from
July 15, 2026 12:56
27741e2 to
e1dfdf1
Compare
There was a problem hiding this comment.
Pull request overview
This PR adds a dedicated CI workflow to ensure generated code remains up-to-date by running the project’s code generator and failing if it produces uncommitted changes.
Changes:
- Add
codegen/codegen.shhelper script to run codegen and formatting. - Add a new
codegenGitHub Actions workflow that executes the script and checks for a cleangit diff.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
codegen/codegen.sh |
New script to run the code generator and format the workspace. |
.github/workflows/codegen.yml |
New CI workflow that runs codegen and fails if it changes tracked files. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
mahkoh
force-pushed
the
jorth/codegen-check
branch
from
July 15, 2026 12:57
e1dfdf1 to
f3ee5aa
Compare
mahkoh
force-pushed
the
jorth/codegen-check
branch
from
July 15, 2026 13:13
358d293 to
096ab11
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.