Skip to content

Conversation

@nyannyacha
Copy link
Contributor

What kind of change does this PR introduce?

Bug fix, Enhancement

Description

If both the user worker and main worker are subject to the same request idle timeout, the main worker may return a 504 response before receiving one from the user worker.

This can result in any attempts to decorate the response in the main worker (such as adding custom headers to the response) not being reflected in the final response to the external.

Context:
https://supabase.slack.com/archives/C02KMRX22NR/p1762252394111069

@nyannyacha nyannyacha merged commit bff1857 into main Nov 4, 2025
4 checks passed
@nyannyacha nyannyacha deleted the ny/fix-gateway-timeout branch November 4, 2025 23:35
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.

3 participants