Skip to content

Live-backend hardening: Supabase retry, test isolation, laptop launcher - #3

Merged
MaharMuavia merged 1 commit into
mainfrom
fix/live-backend-hardening
Jul 11, 2026
Merged

MaharMuavia merged 1 commit into
mainfrom
fix/live-backend-hardening

Conversation

@MaharMuavia

Copy link
Copy Markdown
Owner
  • Retry connect-phase Supabase failures (seen as transient 500s in live testing)
  • Pin SUPABASE_JWT_SECRET in test env so developer .env can't break mocked auth
  • Add scripts/start-live-backend.ps1 (uvicorn + ngrok static domain)

🤖 Generated with Claude Code

…s from developer .env

- supabase_client._request now retries connect-phase errors (request never
  sent, so safe for non-idempotent calls); observed intermittent
  httpx.ConnectTimeout surfacing as 500s during live testing.
- conftest pins SUPABASE_JWT_SECRET="" so a real secret in a developer's
  .env can't break the mocked-auth tests.
- scripts/start-live-backend.ps1: one-command launcher for laptop hosting
  (uvicorn in production mode + ngrok tunnel on a static domain).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 11, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
data-verse-ai Ready Ready Preview, Comment Jul 11, 2026 5:58pm

@MaharMuavia
MaharMuavia merged commit 2c50bef into main Jul 11, 2026
3 checks passed
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