zhengruifeng opened a new pull request, #60328:
URL: https://github.com/apache/spark/pull/60328

   ### What changes were proposed in this pull request?
   
   Require successful shared precompilation and artifact restoration before 
running the Maven and hosted PySpark test matrices.
   
   Remove the precompile jobs' `continue-on-error`, the matrix jobs' 
dependency-status override, and error suppression around downloading and 
extracting the compiled artifact. Remove the per-shard full Maven build branch 
and always set `SKIP_SCALA_BUILD=true` for hosted PySpark tests after artifact 
restoration. Preserve the assembly build required by Maven Connect tests.
   
   This is a standalone change based on master. Timeout changes are tracked 
separately in #60318.
   
   ### Why are the changes needed?
   
   A compiler error in shared precompilation is repeated by every shard that 
falls back to compiling the same revision locally. For example, [this hosted 
PySpark 
precompile](https://github.com/apache/spark/actions/runs/41736782201/job/126267913955)
 failed on `AddCheckConstraint` pattern compiler errors. All ten downstream 
shards then attempted the local-build fallback and failed.
   
   Failing precompilation once and skipping its dependent test jobs avoids 
those repeated builds. Artifact download or extraction failures now fail the 
affected shard, so a transient artifact failure requires a rerun instead of a 
full local compilation.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. This changes CI failure handling only.
   
   ### How was this patch tested?
   
   - Ran actionlint 1.7.12 across all workflows, with optional shellcheck and 
pyflakes checks disabled.
   - Parsed the workflows and verified the changes are limited to requiring 
precompilation/artifact restoration and removing the local compilation branches.
   - Ran Bash syntax checks on both modified test scripts.
   - Ran five shell smoke checks with stubbed Maven/test commands: Maven 
Connect, core, and Hive thriftserver; hosted Python normal and packaging paths. 
Verified the Connect assembly build remains, Maven invocations stay 
module-scoped, and hosted Python tests always skip Scala rebuilding.
   - Ran `git diff --check` and checked added lines for ASCII and the 
100-character limit.
   
   No Spark compilation or live workflow execution was required for these 
configuration and shell checks.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: OpenAI Codex CLI 0.167.0 (GPT-6)
   


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

Reply via email to