zhengruifeng opened a new pull request, #58150:
URL: https://github.com/apache/spark/pull/58150
### What changes were proposed in this pull request?
This PR backports #58129 to branch-4.x by cherry-picking
3ac19a09fbcf8f7ab0973e26239565caaa74d1e6.
It makes the `precompile` job a hard prerequisite for downstream build and
test
jobs that consume its artifact.
Specifically, it:
- removes `continue-on-error` from `precompile`;
- requires `needs.precompile.result == 'success'` in downstream job
conditions;
- makes precompiled artifact download and extraction mandatory; and
- removes local SBT build fallback paths from jobs that should reuse the
precompiled artifact.
### Why are the changes needed?
Currently, a failed `precompile` job can be treated as an optional
optimization:
downstream jobs may continue and rebuild locally. This hides failures in the
shared precompile step and can waste CI resources. Since these jobs are
wired to
consume the precompiled artifact, a precompile failure should stop them
instead.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Ran:
```
git diff --check HEAD~1..HEAD
conda run -n spark-dev-313 python -c "import yaml;
yaml.safe_load(open('.github/workflows/build_and_test.yml'))"
```
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Codex (GPT-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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]