Skip to content

fix: return an error instead of a response when a request idle timeout occurs for requests sent to the user worker#679

Merged
nyannyacha merged 1 commit intomainfrom
ny/request-idle-timeout-as-error
Apr 1, 2026
Merged

fix: return an error instead of a response when a request idle timeout occurs for requests sent to the user worker#679
nyannyacha merged 1 commit intomainfrom
ny/request-idle-timeout-as-error

Conversation

@nyannyacha
Copy link
Copy Markdown
Contributor

@nyannyacha nyannyacha commented Apr 1, 2026

What kind of change does this PR introduce?

Enhancement

Description

There is a need for a clear way to identify when a request sent to a user worker has been interrupted by a request idle timeout.

This PR changes the behavior so that, instead of simply intercepting the response and returning a 504 (Gateway Timeout), it returns an error, allowing the main worker to accurately identify that the request was interrupted by a request idle timeout.

Towards FUNC-543

…t occurs for requests sent to the user worker
@nyannyacha nyannyacha changed the base branch from develop to main April 1, 2026 09:31
@nyannyacha nyannyacha enabled auto-merge (squash) April 1, 2026 09:49
@nyannyacha nyannyacha merged commit 76c2581 into main Apr 1, 2026
4 checks passed
@nyannyacha nyannyacha deleted the ny/request-idle-timeout-as-error branch April 1, 2026 10:06
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