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

github-merge-queue[bot] pushed a commit to branch 
gh-readonly-queue/main/pr-9283-10235933dafb924a4fd81b93b09d803862485d28
in repository https://gitbox.apache.org/repos/asf/texera.git

commit 289b70945bdd8ec5b4a10016a1ecebe898d931ef
Author: Meng Wang <[email protected]>
AuthorDate: Wed Nov 4 03:54:28 2026 +0000

    fix(deploy): route /api/access/computing-unit in nginx (#9283)
    
    ### What changes were proposed in this PR?
    
    This PR adds the missing `location /api/access/computing-unit/` block to
    the single-node nginx config, pointing at
    workflow-computing-unit-managing-service. Without it, computing-unit
    sharing calls fall through to `location /api/` and reach
    dashboard-service, which does not serve them.
    `frontend/proxy.config.json` and the Helm gateway routes already send
    this path to the managing service.
    
    ### Any related issues, documentation, discussions?
    
    Closes #9282.
    
    ### How was this PR tested?
    
    Ran this config on the compose nginx image against stub upstreams.
    Before the change, list, grant, revoke, and owner calls reached
    dashboard-service; after it they reach the managing service, and the
    dataset, model, and dashboard routes are unchanged. Not tested on a full
    single-node deployment.
    
    ### Was this PR authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Code (claude-opus-5-5)
---
 bin/single-node/nginx.conf | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/bin/single-node/nginx.conf b/bin/single-node/nginx.conf
index 4277913998..2a795c013d 100644
--- a/bin/single-node/nginx.conf
+++ b/bin/single-node/nginx.conf
@@ -82,6 +82,12 @@ http {
             proxy_set_header X-Real-IP $remote_addr;
         }
 
+        location /api/access/computing-unit/ {
+            proxy_pass http://workflow-computing-unit-managing-service:8888;
+            proxy_set_header Host $host;
+            proxy_set_header X-Real-IP $remote_addr;
+        }
+
         # LLM API traffic goes through access-control-service, which then 
forwards to LiteLLM.
         location = /api/models {
             proxy_pass http://access-control-service:9096;

Reply via email to