Skip to content

ci: ignore the typegen version when checking the example types - #2189

Merged
spydon merged 1 commit into
mainfrom
ci/examples-ignore-typegen-version
Dec 3, 2026
Merged

spydon merged 1 commit into
mainfrom
ci/examples-ignore-typegen-version

Conversation

@spydon

@spydon spydon commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

The Examples job fails on release PRs (#1959): the generated schema header embeds the typegen version, which release-please bumps.

  • Ignore that line in `make check-types`, like the typegen golden tests already do.

@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Summary

Summary by CodeRabbit

  • Chores
    • Schema checks now ignore generated-file header lines when comparing generated and checked-in schemas. Temporary-file cleanup and the check’s diff-based result remain unchanged. This reduces irrelevant comparison differences without changing exported declarations or application behavior.

The check-types target now excludes lines beginning with Generated by supabase_typegen when comparing generated and checked-in schemas. It still removes the temporary file and exits with the diff status.

Possibly related PRs

Change: Bug fix

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@spydon
spydon merged commit e913195 into main Dec 3, 2026
18 of 19 checks passed
@spydon
spydon deleted the ci/examples-ignore-typegen-version branch December 3, 2026 17:55
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