You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: Add serverpod generate --check for CI #6041
Add a read-only mode that computes the same output as serverpod generate and compares it with the files on disk. It should report missing, outdated, or obsolete generated files for the server, client, and test tools.
Exit with 0 when the generated files match and 1 when regeneration is needed.
Reuse the normal generation and formatting pipeline without rewriting project files.
List the affected paths so developers know what to regenerate and commit.
This isn't a blocker, since it's pretty easy to achieve in CI by running serverpod generate followed by a Git status check. However, it would be a nice-to-have feature, especially since similar functionality already exists in build_runner build --only-check and other frameworks and code generation tools across different languages.
Activity