Repository navigation
Propose inactive Catalog snapshot size validation - #137
Draft
sidneyswift wants to merge 1 commit into
Draft
sidneyswift wants to merge 1 commit into
sidneyswift wants to merge 1 commit into
Conversation
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. |
5 tasks
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.
Propose a dedicated Catalog snapshot size refusal after exact-key replay and before mutation, including server-assigned revision digit growth. This preserves the existing 1 MiB bound, original-input fingerprint, arbitrary JSON values, authorization, CAS and table CHECK.
All three files live in
proposals/catalog-snapshot-size-2277/, outside migrations. The disposable fixture consumes the unchanged accepted DB125 four-file bundle (3f2c849plus7708e337) before applying the proposal. API #1267 pins the exact SQL and tests real error translation, rollback, exact-limit saves, replay and conflicts on PostgreSQL15/17. Independent focused source review passed.Keep draft, unmerged and unapplied. No runtime grants, workflow/config changes, hosted preview activation, migration apply/dry run or deployment are authorized. Future migration/release composition requires a separate decision.
The earlier temporary DB125 correction was restored by normal revert
d657a92; its net tree is identical to3f2c849. That history remains intact.Summary by cubic
Proposes a dedicated Catalog snapshot size validation that refuses snapshots over the existing 1 MiB bound before any mutation, and also refuses server-assigned revision digit growth that would exceed the limit. This is an inactive draft proposal for review only, not applied to any runtime environment.
proposals/catalog-snapshot-size-2277/with a SQL function replacement, a disposable fixture, and a README; no migrations or grants are touched.Written for commit 5472d76. Summary will update on new commits.