Skip to content

fix(api): harden usage counter reliability - #7

Merged
rowkav09 merged 1 commit into
mainfrom
fix/usage-api-reliability
Aug 6, 2026
Merged

fix(api): harden usage counter reliability#7
rowkav09 merged 1 commit into
mainfrom
fix/usage-api-reliability

Conversation

@rowkav09

@rowkav09 rowkav09 commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • harden usage-counter Redis failures and degraded behavior
  • add atomic Redis-backed fixed-window limiting for POST /api/uses
  • document deployment and rate-limit configuration

Validation

  • npm ci
  • npm run lint
  • npm run typecheck
  • npm run build
  • no-Redis manual API checks

Scope

Usage API reliability only; no UI or rendering changes.

Risk

The live Redis-backed 429 path requires production Upstash configuration to exercise end-to-end.

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
halftone Ready Ready Preview Aug 6, 2026 8:48am

@rowkav09
rowkav09 marked this pull request as ready for review August 6, 2026 08:50
@rowkav09
rowkav09 merged commit 4a5af2a into main Aug 6, 2026
4 checks passed
@rowkav09
rowkav09 deleted the fix/usage-api-reliability branch August 8, 2026 15:09
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