The GitHub Actions job "License Binary Checker" on texera.git/main has failed. Run started by GitHub user bobbai00 (triggered by bobbai00).
Head commit for run: 6d604f340911153995c15bae5071723127b852e6 / Matthew B. <[email protected]> fix(amber): regenerate Python proto bindings on local sbt build (#5358) ### What changes were proposed in this PR? - Restore the `genPythonProto` sbt task and wire it to `Compile / compile`, so a local `sbt` build regenerates the Python betterproto bindings (`amber/src/main/python/proto/`) via `bin/python-proto-gen.sh`. - Guard the task: if `protoc` or `protoc-gen-python_betterproto` is not on PATH it logs a warning and skips, so JDK-only and docker stages (which already run the script out-of-band) are unaffected. - Make the Python worker entrypoint exit with an actionable message when the `proto` package is missing, instead of a raw `ModuleNotFoundError`. ### Any related issues, documentation, or discussions? Closes: #5357 ### How was this PR tested? - Verified the worker entrypoint exits with the actionable message when the `proto` package is absent (simulated a missing `proto` import). - Confirmed `bin/python-proto-gen.sh` regenerates a complete, importable `proto/` tree (protoc 3.19.x, `betterproto[compiler]==2.0.0b7`). - Confirmed the PR diff is limited to the two intended files (`amber/build.sbt`, `texera_run_python_worker.py`). ### Was this PR authored or co-authored using generative AI tooling? Co-authored with Claude Opus 4.8 in compliance with ASF Report URL: https://github.com/apache/texera/actions/runs/26884859544 With regards, GitHub Actions via GitBox
