This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch release/v1.3
in repository https://gitbox.apache.org/repos/asf/texera.git


The following commit(s) were added to refs/heads/release/v1.3 by this push:
     new 5e2424db17 fix(k8s, v1.3): disable the request timeout on version zips 
(#9370)
5e2424db17 is described below

commit 5e2424db175a449b0d931d962ff8e79546a2df87
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Nov 9 02:38:44 2026 +0000

    fix(k8s, v1.3): disable the request timeout on version zips (#9370)
    
    ### What changes were proposed in this PR?
    
    Automated backport of #9353 to `release/v1.3`.
    
    Source: b4b06482e84f83e114891dc3086bdf3bcd1c9817 · [automation
    run](https://github.com/apache/texera/actions/runs/42551531043)
    
    ### Any related issues, documentation, discussions?
    
    Backport of #9353. Originally linked #9352.
    
    ### How was this PR tested?
    
    The backported tree built green before #9353 merged. Release-branch CI
    runs on this PR once it is reopened — see the comment below.
    
    ### Was this PR authored or co-authored using generative AI tooling?
    
    No.
    
    Co-authored-by: Kunwoo (Chris) <[email protected]>
    Co-authored-by: Meng Wang <[email protected]>
---
 bin/k8s/templates/base/gateway/gateway-routes.yaml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/bin/k8s/templates/base/gateway/gateway-routes.yaml 
b/bin/k8s/templates/base/gateway/gateway-routes.yaml
index d5f32be3ad..318a54406a 100644
--- a/bin/k8s/templates/base/gateway/gateway-routes.yaml
+++ b/bin/k8s/templates/base/gateway/gateway-routes.yaml
@@ -42,6 +42,18 @@ spec:
       backendRefs:
         - name: workflow-compiling-service-svc
           port: 9090
+    # A version zip streams for as long as it takes to build and download, so 
Envoy's 15s
+    # default would cut it off mid-body. "0s" also drops the stream idle 
timeout; a finite value
+    # would only raise it to 1h or more. Envoy Gateway ranks this regex above 
the path prefixes.
+    - matches:
+        - path:
+            type: RegularExpression
+            value: "^/api/(dataset|model)/\\d+/versionZip$"
+      timeouts:
+        request: "0s"
+      backendRefs:
+        - name: file-service-svc
+          port: 9092
     - matches:
         - path:
             type: PathPrefix

Reply via email to