Skip to content

refactor(gateway): remove quota schema compatibility - #65

Merged
iamjr15 merged 1 commit into
mainfrom
refactor/gateway-remove-quota-reconciliation
Jul 25, 2026
Merged

refactor(gateway): remove quota schema compatibility#65
iamjr15 merged 1 commit into
mainfrom
refactor/gateway-remove-quota-reconciliation

Conversation

@iamjr15

@iamjr15 iamjr15 commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • delete QuotaTracker schema migration, retired-row pruning, and rebuild compatibility code
  • initialize new quota objects directly with the exact current schema
  • require every existing quota object and maintenance check to match the current schema exactly
  • document the current-only QuotaTracker storage contract

Production reconciliation

  • the sole active production user quota object was migrated by the preceding release
  • /usage, quota peek/record, idempotency, and a live prompt all succeeded against the reconciled object
  • this change intentionally fails closed for any non-current quota schema

Validation

  • pnpm --filter @cheatcode/gateway-worker typecheck
  • pnpm --filter @cheatcode/gateway-worker build
  • pnpm knip
  • pnpm lint
  • pnpm typecheck
  • pnpm build

@vercel

vercel Bot commented Jul 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
cheatcode Skipped Skipped Jul 25, 2026 10:10am

@iamjr15
iamjr15 merged commit fd2fc48 into main Jul 25, 2026
7 checks passed
@iamjr15
iamjr15 deleted the refactor/gateway-remove-quota-reconciliation branch July 25, 2026 10:12
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