Ruifeng Zheng created SPARK-60834:
-------------------------------------
Summary: Run master post-merge builds every ten commits
Key: SPARK-60834
URL: https://issues.apache.org/jira/browse/SPARK-60834
Project: Spark
Issue Type: Improvement
Components: Project Infra
Affects Versions: 5.0.0
Reporter: Ruifeng Zheng
Reduce Apache Spark's GitHub Actions consumption by applying branch-4.x's
existing post-merge sampling policy (PR #57841) to master.
For pushes to apache/spark master, run the expensive build_main.yml reusable
build only when git rev-list --count HEAD is divisible by ten. A lightweight
job records the commit count and sampling decision. For ordinary single-commit
pushes this skips nine out of ten post-merge builds.
Preserve builds for fork PR branches, the existing skip for fork master syncs,
and the behavior of other upstream branches. Scheduled workflows remain
unchanged.
The retained build continues to use the existing affected-module selection for
the current push. It does not run a full suite or accumulate changes from
skipped pushes, so coverage for omitted changes can be delayed until scheduled
testing exercises them.
Implementation: https://github.com/apache/spark/pull/60045
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]