Repository navigation
chore(db): drop whitelabel_settings and rate_limit_bucket, remove the abort rewrite - #10303
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
waleedlatif1
force-pushed
the
chore/contract-whitelabel-ratelimit
branch
from
November 23, 2026 10:38
c3bfd9a to
94e5274
Compare
waleedlatif1
marked this pull request as ready for review
November 23, 2026 10:38
Contributor
[Medium impact] The PR appears safe to merge under the release order stated in its description. SummaryRemoves retired database objects and an old chat-abort rewrite.
No actionable issues found. Tests were not run. Reviews (2) · Last reviewed commit: "chore: describe the Redis-only provider ..." · Reviewed by Greptile |
Collaborator
Author
Collaborator
Author
|
@cubic-dev-ai review this PR |
Contributor
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
This branch was previously deployed
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.
Summary
The post-v0.9.65 contract, now that v0.9.65 and the v0.9.66 hotfix are live in prod and no deployed release uses these:
organization.whitelabel_settingsandrate_limit_bucket. The column was un-declared in 0468 (chore(cleanup): remove dead chart options, the playground and legacy chat routes; contract retired DB objects #10269). The table belonged to the Postgres token bucket and provider-capacity store, both removed when Redis became required (chore(redis): require Redis and remove the no-Redis fallbacks #10272).COMMIT,lock_timeout = '100ms',IF EXISTS, then back to5s.DROP COLUMNonly changes the catalog, soorganizationis locked for milliseconds.rate_limit_buckethas no foreign keys in either direction, so there's noCASCADE.rateLimitBucketdeclaration and bothcontract-pendingmarkers, and regenerates the schema mock./api/copilot/chat/abort→/api/mothership/chat/abortrewrite. It only served browser tabs still on v0.9.64 code. Sim, the desktop app, the CLI and mothership have no remaining callers.The migration-replay fixtures keep their
CREATE TABLE rate_limit_bucketstubs, because replaying 0326 alters that table.Type of Change
Testing
drizzle-kit generateis a no-op.check:migrationspasses, and fails if either-- migration-safeline is removed.check:pending-drop-tables,check:schema-mockandcheck:comment-hygienepass.apps/simtype-check is clean./simplify: reviewed for reuse, efficiency and altitude (clean). Simplification found the stale comment and a redundant header, both fixed.Checklist