Skip to content

Conversation

cemalkilic
Copy link
Contributor

Summary

  • Implements Envoy retry policy for auth service routes to reduce 503 errors during service restarts
  • Adds retry configuration with exponential backoff (1s base, 3s max) for up to 3 attempts
  • Added retry_on: gateway-error as it was being inherited from the virtual host definition:

https://github.com/supabase/postgres/blob/cemal/feat-add-auth-retry-policy-for-connect-failure/ansible/files/envoy_config/lds.yaml#L419-L424

@cemalkilic cemalkilic requested review from a team as code owners September 8, 2025 12:23
@cemalkilic cemalkilic changed the title Cemal/feat add auth retry policy for connect failure feat: add retry policy for auth service routes Sep 8, 2025
@cemalkilic cemalkilic merged commit 4377de7 into develop Oct 2, 2025
14 checks passed
@cemalkilic cemalkilic deleted the cemal/feat-add-auth-retry-policy-for-connect-failure branch October 2, 2025 13:22
hunleyd added a commit that referenced this pull request Oct 6, 2025
* 'develop' of github.com:supabase/postgres: (29 commits)
  refactor(ansible): bring our ansible up to modern ansible-lint standards (#1818)
  fix: update Dockerfiles for changes to postgis multiversion (#1817)
  refactor(ansible): bring our ansible up to modern ansible-lint standards (#1813)
  feat: support multiple versions of the postgis extension (#1667)
  Update pgsql-http to handle semver (#1816)
  feat: add retry policy for auth service routes (#1782)
  refactor(ansible): bring our ansible up to modern ansible-lint standards (#1811)
  fix: move tmpdir for SAA to one that always exists (#1799)
  refactor(ansible): bring our ansible up to modern ansible-lint standards (#1810)
  refactor(ansible): bring our ansible up to modern ansible-lint standards (#1809)
  refactor(ansible): bring our ansible up to modern ansible-lint standards (#1807)
  build: automatically cancel old tests/build on new push (#1808)
  refactor(ansible): bring our ansible up to modern ansible-lint standards (#1804)
  docs: small adjust (#1806)
  docs: getting started guide in README (#1805)
  fix: templating of SAA service file
  fix: adjust the qemu vars filename
  refactor(ansible): bring our ansible up to modern ansible-lint standards
  feat: support multiple versions of the http extension (#1664)
  feat: supply a slightly different supabase-admin-agent configuration for qemu artifacts
  ...
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.

2 participants