chore: sync API types from infrastructure#5713
chore: sync API types from infrastructure#5713supabase-cli-releaser[bot] wants to merge 1 commit into
Conversation
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0d82531ff8
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| PurgeCache *struct { | ||
| Enabled bool `json:"enabled"` | ||
| } `json:"purgeCache,omitempty"` |
There was a problem hiding this comment.
Include PurgeCache in storage config feature literals
When building the Go CLI, this new field changes the exact anonymous struct type of UpdateStorageConfigBody.Features, but (*storage).ToUpdateStorageConfigBody still assigns Features: &struct { ... }{} without PurgeCache at apps/cli-go/pkg/config/storage.go:66-84. Because Go requires anonymous struct types to match field-for-field, any build of pkg/config now fails with a type mismatch instead of compiling the storage config update path.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Is this a breaking change on storage end ?
|
@copilot Let's fix this |
Head branch was pushed to by a user without write access
Supabase CLI previewnpx --yes https://pkg.pr.new/supabase/cli/supabase@b96a785bedeec0c88ef907574c7ccc8d7afd6312Preview package for commit |
b96a785 to
09a2065
Compare
|
Found 131 test failures on Blacksmith runners: Failures
|
09a2065 to
5954e9a
Compare
This PR was automatically created to sync API types from the infrastructure repository.
Changes were detected in the generated API code after syncing with the latest spec from infrastructure.