You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Implement per-user rate limiting for authenticated API requests
Add D1-based rate limiting with three tiers: expensive endpoints (30/min), standard (100/min), and light (300/min). Includes atomic increment via SQL, automatic window cleanup via cron, and proper 429 response headers.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
* Add D1 migrations to deploy workflow
Run migrations automatically before deploying the worker for both staging and production environments.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Make migrations idempotent and add continue-on-error
- Add IF NOT EXISTS to CREATE TABLE/INDEX statements in all migrations
- Add continue-on-error to migration steps in deploy workflow
- This handles the case where migrations were previously applied manually
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add bootstrap migration to mark legacy migrations as applied
The bootstrap runs via d1 execute (not d1 migrations apply) to populate
the d1_migrations table with records for all previously manually-applied
migrations. This allows d1 migrations apply to skip them and only run
new migrations (0015, 0016).
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add batch feed fetching to reduce API calls on login
The frontend now fetches all ready feeds in a single batch request instead
of making N individual requests. This prevents rate limiting issues when
users have many subscriptions. Pending feeds are still fetched gradually.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
0 commit comments