Yicong-Huang opened a new pull request, #6087:
URL: https://github.com/apache/texera/pull/6087

   ### What changes were proposed in this PR?
   
   Change `build_all()` in `bin/local-dev/main.sh` so its sbt invocations (a) 
pass CLI-only flags that empty `Compile / doc / sources`, disable `packageDoc / 
publishArtifact`, enable `-Dsbt.pipelining=true`, and raise the sbt heap to 
`-J-Xmx4g -J-XX:+UseG1GC`, and (b) translate `--skip=<svc>` into an explicit 
per-project `<Proj>/dist` target list instead of the root aggregate. 
`computing-unit-master` has no own sbt project (it rides amber's dist), so 
`WorkflowExecutionService/dist` is force-added when master is kept but 
`texera-web` is skipped. The pre-bounce loop and the unzip loop now honor 
`--skip` too, so skipped services keep their prior jars. `build.sbt` is 
intentionally untouched — the knobs live only in the local-dev entrypoint so 
CI, standalone `sbt` runs, and IDE builds keep the current behavior.
   
   ### Why are the changes needed?
   
   Closes #6086.
   
   ### How was this PR tested?
   
   Added static regression tests in `bin/local-dev/tests/test_local_dev_sh.sh` 
covering the CLI flags and the `is_skipped` guards, and re-ran `sbt clean dist` 
three times per configuration to confirm the cold-start wall-clock drop from 
~91s to ~58s with flags alone and ~38s when `--skip` drops 
notebook-migration-service and amber.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 4.7 (1M context)


-- 
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