mengw15 opened a new pull request, #9556:
URL: https://github.com/apache/texera/pull/9556

   ### What changes were proposed in this PR?
   
   result-service (#9356) is built and tested in CI, but nothing runs it. This 
PR deploys it in the single-node Docker Compose stack: it publishes an image 
for it, runs it, and routes `/api/results/` to it through nginx. Nothing calls 
it yet; #8996 moves the result panel over.
   
   - `bin/dockerfiles/result-service.dockerfile` (new) is 
`file-service.dockerfile` with the service's name and port (9102).
   - `build-and-push-images.yml` maps it to `texera-result-service`, the prefix 
every other image uses.
   - `docker-compose.yml` starts it once Postgres and Lakekeeper are up and the 
warehouse is created, as the computing unit does, and nginx waits for it like 
the other services. It needs no new `.env` values: it reads the database, 
Lakekeeper and object storage settings the stack already has.
   - `nginx.conf` routes `/api/results/` to it; the longer prefix wins over the 
`/api/` catch-all. `docker-compose.observability.yml` turns its tracing on like 
the other services.
   
   ### Any related issues, documentation, discussions?
   
   Part of #8995. Mirrors #7932, which deployed notebook-migration-service the 
same way. Local-dev and Kubernetes follow in separate PRs.
   
   ### How was this PR tested?
   
   - Built the image from the new Dockerfile and ran the stack with it; every 
container came up healthy.
   - Through nginx, a read without a token is refused (401). With one, a 
missing execution gets 403 and a workflow with no run gets 404, both from 
result-service.
   - Ran the Iris example workflow into a per-user warehouse, then read it 
through nginx: its latest execution, its results, a first and a last page of 
the CSV scan, the column statistics, and a scatter plot's HTML whole.
   - `docker compose config` passes with and without the observability overlay, 
and `test_single_node_sh.sh`, `test_load_examples_sh.sh` and 
`test_create_release_tarballs.sh` pass.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (claude-opus-5-5)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to