Skip to content

ci: check that generated sync code is up to date - #1969

Merged
spydon merged 1 commit into
mainfrom
lukasklingsbo/sdk-1688-ci-check-generated-sync-code
Nov 4, 2026
Merged

spydon merged 1 commit into
mainfrom
lukasklingsbo/sdk-1688-ci-check-generated-sync-code

Conversation

@spydon

@spydon spydon commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Resolves SDK-1688.

Adds .github/workflows/codegen.yml, which runs on pull requests and pushes to main. It regenerates the sync code with make auth.build-sync, formats it with make ruff, and fails with an error naming the command to run if git diff --exit-code reports changes.

The Linear issue lists build-sync for functions, storage, postgrest and supabase, but only auth still has a build-sync target (it generates src/auth/tests/_sync/), so the check covers exactly that.

Notes:

The SDK-2795 fix (#1971) is on main, so the generator now reproduces the committed sync tests and this check passes.

@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 1 minute.

Check out review usage here.

View limit details

Limit details: You’ve used all 8 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 964b71ef-e42c-4ca6-b46d-000d38483da9
Commits

Reviewing files that changed from the base of the PR and between 5523e0b and 4d145a1.

Files selected for processing: 1
  • .github/workflows/codegen.yml
  • 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

Base automatically changed from chore/align-outdated-tooling to main November 4, 2026 13:50
@spydon
spydon force-pushed the lukasklingsbo/sdk-1688-ci-check-generated-sync-code branch from 451afa3 to 4d145a1 Compare November 4, 2026 14:15
@spydon
spydon marked this pull request as ready for review November 4, 2026 14:17
@spydon
spydon merged commit 8b8fb5e into main Nov 4, 2026
17 checks passed
@spydon
spydon deleted the lukasklingsbo/sdk-1688-ci-check-generated-sync-code branch November 4, 2026 14:17
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