What's fixed
- Kept the app proxy/middleware from calling Supabase auth on unprotected API routes, preventing route-wide
MIDDLEWARE_INVOCATION_TIMEOUT504s when auth/network calls stall before API handlers run. - Added proxy regression tests proving unprotected API routes bypass
updateSessionwhile protected app routes and sign-in redirects still use auth.