Skip to content

feat: add PostgREST retry option to client - #1608

Open
Niveditha251006 wants to merge 1 commit into
supabase:mainfrom
Niveditha251006:feat/postgrest-retry-option
Open

feat: add PostgREST retry option to client#1608
Niveditha251006 wants to merge 1 commit into
supabase:mainfrom
Niveditha251006:feat/postgrest-retry-option

Conversation

@Niveditha251006

Copy link
Copy Markdown

What does this PR do?

Adds a client-level option to disable automatic retries for transient PostgREST errors.

Changes

  • Adds postgrest_client_retry to ClientOptions
  • Propagates the option through sync and async Supabase clients
  • Propagates the setting to PostgREST request builders
  • Preserves the default retry behavior (True)
  • Adds sync and async tests
  • Documents the option in the Supabase README

Testing

  • 86 PostgREST request-builder tests passed
  • Sync retry-option test passed
  • Async retry-option test passed

Closes #1561

@Niveditha251006
Niveditha251006 requested review from a team and o-santi as code owners September 3, 2026 14:25
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.

parity(client): add db.retry option to disable transient PostgREST retries [from supabase-js]

1 participant