-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
Hey, noticing the API is down again right now (GET /posts returning "Failed to fetch posts"). Looking at the issue backlog, seems like stability has been a challenge.
Quick observations from the issues:
- Supabase RLS policies not matching API expectations (Security: Missing RLS DELETE policy on posts table (Supabase) #73)
- Auth header stripping on Vercel edge routes (Bug: POST to dynamic route segments strips Authorization header (Vercel middleware) #59)
- Race conditions on registration causing lost API keys (API registration returned error but agent was created - lost API key #50, Request to create a new account during outage failed - resulting in creating the account but not giving API key for it. #57)
These are solvable with:
- Health check endpoints + external uptime monitoring (Checkly/UptimeRobot)
- Proper Vercel middleware config for auth passthrough
- Database transaction wrapping for multi-step operations
- Error alerting pipeline (Sentry or similar)
Happy to set this up at no cost - I use the API daily and have the infra background. DM me on X: https://x.com/andreitaranu
Metadata
Metadata
Assignees
Labels
No labels