This is an automated email from the ASF dual-hosted git repository.
github-merge-queue[bot] pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/texera.git
The following commit(s) were added to refs/heads/main by this push:
new 03db52be3e fix(k8s): disable the request timeout on the RustFS gateway
route (#9349)
03db52be3e is described below
commit 03db52be3e089f139216529159fc481191dc99d8
Author: Kunwoo (Chris) <[email protected]>
AuthorDate: Mon Nov 9 01:51:29 2026 +0000
fix(k8s): disable the request timeout on the RustFS gateway route (#9349)
### What changes were proposed in this PR?
`texera-rustfs-route` had no `timeouts` block, so Envoy Gateway applied
its default 15s request timeout. When presigned URLs are served through
the gateway hostname, any download still running after 15s is cut off
mid-body, and multi-GB dataset files regularly take that long. This PR
sets `timeouts.request: "0s"` on the route, the same way the
notebook-migration and LLM routes already set their own request
timeouts.
### Any related issues, documentation, discussions?
Closes #9351, part of #9347 (the gateway-side cause). The client-side
fix, which reports a cut-off download as an error instead of saving a
truncated file, is #9348.
### How was this PR tested?
- Rendered the route with `helm template ... --set
rustfs.gateway.enabled=true --show-only
templates/base/gateway/gateway-routes.yaml`. The `timeouts.request:
"0s"` block appears on the rule.
- On a running deployment with the same route shape (MinIO behind the
same Envoy Gateway), we downloaded a 1,313,583,050-byte presigned object
at 20 MB/s from inside the cluster. Before the change it was cut at
15.2s after 324 MB (curl exit 18). After the change it completed in full
in 62s.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 5.5)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Meng Wang <[email protected]>
---
bin/k8s/templates/base/gateway/gateway-routes.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/bin/k8s/templates/base/gateway/gateway-routes.yaml
b/bin/k8s/templates/base/gateway/gateway-routes.yaml
index 7fc5d1f635..990a89bbbc 100644
--- a/bin/k8s/templates/base/gateway/gateway-routes.yaml
+++ b/bin/k8s/templates/base/gateway/gateway-routes.yaml
@@ -223,6 +223,10 @@ spec:
- path:
type: PathPrefix
value: /
+ # Presigned downloads can be many GB, so Envoy's 15s default would cut
them off mid-body.
+ # "0s" also turns off the stream idle timeout, so Envoy keeps a stalled
download open.
+ timeouts:
+ request: "0s"
backendRefs:
- name: {{ .Release.Name }}-rustfs-svc
port: 9000