[INFRA] Run the Velox x86, ARM and Kafka PR pipelines in contributors' forks
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- github-actions, scala, yaml
- 領域
- ci-cd, infrastructure
調査の方向性
Read #13535 and inspect .github/workflows/velox_backend_x86.yml to understand the draft fork workflow and its pilot runs. The issue leaves open how to support contributors who cannot enable Actions and says the cache fix still needs CI validation. Done means the fork run and PR result reporting work reliably within the stated ASF constraints, with those open cases addressed.
索引モデルが issue の本文から書いたものです。
説明
Problem
In the seven days from 2026-10-27 to 2026-11-02, apache/gluten used about 292,000 GitHub Actions runner-minutes (job durations summed from the Actions API, re-runs included). The ASF policy limits a project's average weekly usage to 250,000 minutes, and projects that keep exceeding it lose Actions access until they fix their builds.
| Workflow (event) | Runs | Runner-minutes | Share |
|---|---|---|---|
Velox Backend (x86), pull_request |
165 | 209,502 | 71.8% |
Delta Spark UT (Gluten), pull_request |
57 | 36,876 | 12.6% |
| All other workflows | 45,590 | 15.6% |
All 165 x86 runs and all 57 Delta runs came from fork PRs.
Proposal
Run velox_backend_x86.yml, velox_backend_arm.yml and velox_kafka.yml for fork PRs in the contributor's fork on push, and report the results on the PR, as Spark has done since SPARK-35048. Fork PR runs of the ARM and Kafka pipelines used another 7,560 and 5,928 runner-minutes that week. Runs in a fork count against the fork owner's account, standard runners are free on public repositories, and a public fork gets the same 4-CPU / 16 GB runners as apache/gluten.
#13535 implements this, and its description has the details and the pilot runs. In short, the fork run tests the PR squash-merged onto the current apache/gluten main and restores the native-build ccache that apache/gluten saves on main. A scheduled workflow in apache/gluten then copies the fork run's result into a check on the PR, without pull_request_target, which the ASF disables from November 2026.
In the pilot, the native build took 4 to 5 minutes with a restored ccache and 113 minutes without one. A full run used about 1,200 runner-minutes of the fork's own quota.
What changes for contributors and reviewers
- Authors have to enable Actions in their fork. Of the 47 forks behind the open PRs on 2026-11-04, 39 had Actions runs since 2026-10-01.
- The check shows up on the PR at the next pass of the scheduled workflow, every 5 minutes, and links to the run in the fork. It fails as soon as a job in that run fails. GitHub can delay scheduled runs.
- Reviewers can't rerun a flaky job in someone else's fork. The author has to, or a committer can push the branch to their own fork and link that run on the PR.
- A free account runs at most 20 jobs at a time, which is also the ASF limit for one workflow. An author with several PRs running at once splits those 20 between them.
- Open PRs get no x86, ARM or Kafka run until their branch is rebased onto
mainafter #13535 and pushed again. - A fork run uses the workflow files of the pushed commit, so a CI change on
mainreaches a PR once its branch is merged or rebased onto thatmain. - The trust model doesn't change:
pull_requestalready runs the PR's own copy of the workflow files.
Follow-ups and open questions
- I don't have a good answer yet for authors who can't enable Actions in their fork. One option is a committer-only comment trigger like
/ansi-test. - Fork PRs don't get the "Report test results" check, because runs in a fork don't trigger
test_report.yml'sworkflow_run.update-fork-build-status.jscould publish the fork runs'*-reportartifacts as that check. - Delta Spark UT can move the same way.
- Switch the status script to
apache/infrastructure-actions/fork-cionce apache/infrastructure-actions#1512 and apache/infrastructure-actions#1513 are fixed. - A fork with a name other than
gluten, such asincubator-gluten, builds under a different workspace path. In a probe it got 0 of 272 ccache hits from the upstream stash. #13535 setsCCACHE_BASEDIRin the CI build scripts, and with it a second probe got 259 hits against the 269 entries it had cached. Existing stashes miss once after the merge, until the cache workflow saves new ones. pr_bot.ymlandclickhouse_be_trigger.ymlstill usepull_request_target. Moving them to theworkflow_runpattern on the ASF policy page is a separate change.- This doesn't replace the ANSI test tags discussed in #13263.
I'd like to hear what you think. cc @philo-he @zhztheplayer
Generated-by: Claude Opus 5.5
- 主要言語
- Scala
- スター
- 1.6k
- フォーク
- 679
- 平均マージ
- 4日 16時間
- マージ済み PR(30日)
- 84
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/gluten のほかの issue
-
[CORE] Selecting a cost model the backend has no coster for fails with ClassNotFoundException対応中かも @LuciferYang が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 3 日以内に返信
-
bug unit testing velox backend
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/gluten#13463 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 3 日以内に返信
-
[VL] madvise(WILLNEED) call fails in MmapFileStream because of wrong calculation of fetching length再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンbug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 3 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
rchillyard/TableParser#206 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
? - Needs Triage bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
NVIDIA/cudf-spark#17063 ·
メンテナーはふだん 2 日以内に返信
-
bug 🐞 User issue 🚨
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
valkey-io/valkey-glide#7813 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信