Skip to content

fix(backend): end request-scoped pg pools on workerd to stop Hyperdrive slot exhaustion - #3363

Open
posthog-eu[bot] wants to merge 10 commits into
mainfrom
posthog-self-driving/fixbackend-stop-leaking-per-request-8884b3
Open

posthog-eu[bot] wants to merge 10 commits into
mainfrom
posthog-self-driving/fixbackend-stop-leaking-per-request-8884b3

ci: retry workflow after ghcr rate-limit cooldown

861ebcd
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Sep 23, 2026 in 3m 12s

Annotations

Check warning on line 7 in supabase/functions/_backend/public/apikey/scope.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'/tmp/clone16236943078420268559/supabase/functions/_backend/utils/pg.ts' imported multiple times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AaDPUCJ4bK74jiCzs5T5&open=AaDPUCJ4bK74jiCzs5T5&pullRequest=3363

Check failure on line 178 in supabase/functions/_backend/public/organization/members/delete.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AaDPUCVJbK74jiCzs5T6&open=AaDPUCVJbK74jiCzs5T6&pullRequest=3363

Check warning on line 3 in supabase/functions/_backend/public/apikey/scope.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'/tmp/clone16236943078420268559/supabase/functions/_backend/utils/pg.ts' imported multiple times.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AaDPUCJ4bK74jiCzs5T4&open=AaDPUCJ4bK74jiCzs5T4&pullRequest=3363