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

   ### What changes were proposed in this PR?
   
   Adds result-service (#9356) to local development, the way the other backend 
services are set up:
   
   - `bin/local-dev/main.sh` and `tui.py` register it as a JVM service on port 
9102, so `bin/local-dev.sh up` builds, starts and health-checks it after 
notebook-migration-service.
   - `frontend/proxy.config.json` sends `/api/results` to it from the dev 
server, ahead of the `/api` catch-all, as nginx does in the single-node stack 
(#9556).
   - `.run/ResultService.run.xml` and the `texera micro services` compound add 
it to IntelliJ, like file-service and config-service.
   
   ### Any related issues, documentation, discussions?
   
   Closes #9649. Part of #8995. #7934 added notebook-migration-service to 
local-dev the same way; the Kubernetes deployment follows separately.
   
   ### How was this PR tested?
   
   - Built it with `sbt ResultService/dist` and started it with 
`bin/local-dev.sh up result-service --skip-build` against a local Postgres: 
`/api/healthcheck` answers 200, the result endpoints answer 401 without a 
token, `status --json` reports it running, and `down result-service` stops it.
   - Served `proxy.config.json` with webpack-dev-server and stub backends: 
`/api/results/...` reaches 9102 and `/api/workflow/...` reaches 8080. On main 
both reach 8080.
   - `pytest bin/local-dev/tests` passes (44). Giving result-service a port 
already in use turns the port-uniqueness case red.
   - `test_local_dev_sh.sh` gives the same result as on main: 116 of 117 pass, 
and the other fails on both on my machine.
   - The run configuration differs from FileService's only in the names. I did 
not open it in IntelliJ.
   
   ### 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