AI & Agent Dev Bug Sandbox logo
AI & Agent Dev Bug Sandbox
Back to Radar

[Auth] URLs Reset In Non-Production Branches

Custom Site URL and Redirect URLs reset to localhost:3000 on preview branches, breaking email confirmation links.

highConfidence 85%SupabasePostgreSQLpgvector

Origin Analysis

Preview branches likely inherit or get overwritten with default auth configuration during branch sync or provisioning, due to lack of isolation in the branch management service.
1. Create a preview branch in Supabase Dashboard\n2. Go to Authentication > URL Configuration\n3. Set custom Site URL and Redirect URLs (e.g., https://my-preview-app.vercel.app)\n4. Save the configuration\n5. Wait some time (unpredictable, could be hours or days)\n6. Check the URL Configuration again — values have reverted to localhost:3000\n7. Trigger a confirmation email — the redirect URL points to localhost:3000 instead of the configured URL

Fixing Code Block

Edge Case Audit

Requires a Personal Access Token with admin scope; ensure it's stored securely. The script may conflict with legitimate configuration changes or hit rate limits if run too frequently. If the platform's root cause is not fixed, this is only a mitigation. Rollback: stop the script and manually update config via dashboard.

Ecosystem Topology

Agent Frameworks

LangChain, LlamaIndex, and Pydantic

  1. highProperty graph relation keys collide when entity IDs or labels contain underscores
  2. highCodeActAgent drops assistant tool-call metadata during handoff, leaving an orphan tool response
  3. high[Bug]: HierarchicalNodeParser async methods return the documents unsplit
  4. highLLM.predict_and_call fails with ValidationError for non-function-calling models when react_chat_formatter is omitted
  5. highAnthropic streaming server-tool input_json_delta overwrites completed client tool_use arguments due to stale cur_tool_call state