ALCF CI bridge holds a GitHub Actions runner for the whole Aurora pipeline
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
Start by reading .github/workflows/alcf.yml and the existing log-fetching step, then compare the push-model examples linked in the issue. The proposal spans GitHub Actions and GitLab CI, including dispatch authentication, status reporting, and cancellation behavior. Done means the bridge exits promptly, completion reports the matching pipeline result, and the final status and logs remain visible; the open design questions need resolution first.
索引モデルが issue の本文から書いたものです。
説明
The ALCF bridge (.github/workflows/alcf.yml) keeps an ubuntu-latest runner alive for the entire Aurora pipeline: after triggering the mirror sync it polls GitLab every 30 s for the pipeline to appear (up to 40 min), then every 60 s until it finishes, with a 330 min timeout to cover the PBS queue wait. Since 2026-09-07 that was 81 jobs and ~3,500 runner-minutes, median 27 min per job, and at least one hit the timeout.
Minutes are free for public repos, but:
- JuliaGPU is on the free org plan, so every sleeping bridge job holds one of the 20 concurrent job slots shared by all JuliaGPU repositories;
- Aurora queue time counts against a GitHub Actions timeout, so a busy queue turns into a red check;
- adopting "the newest pipeline for this SHA" is fragile, which is what needed the re-run workaround in #648.
How others do it
CUDA.jl's benchmark workflow used to wait on Buildkite the same way, and switched to a push model (JuliaGPU/CUDA.jl@7934bfd7): the last Buildkite step calls POST /repos/JuliaGPU/CUDA.jl/dispatches with a benchmarks_complete event, and Benchmark.yml runs on: repository_dispatch, only once results exist. Oceananigans does the same (pipeline-benchmarks.yml). AMDGPU.jl and Metal.jl still poll Buildkite from their Benchmark.yml (via EnricoMi/download-buildkite-artifact-action), and Metal already ran into Buildkite's API rate limit doing so.
Proposal
- Keep the trigger side in GitHub Actions (mirror sync, label-gated fork push, fresh pipeline via trigger token on re-run), but have it exit right away after posting a
pendingcommit status on the head SHA, linking to the GitLab pipeline. - Add a final GitLab job (
when: always, on the login-node shell runner) that sends arepository_dispatch(e.g.alcf_complete, with pipeline id, SHA and status), using a fine-grained PAT scoped to oneAPI.jl stored as a masked GitLab CI/CD variable. - A short workflow
on: repository_dispatchfetches the GitLab job logs (as the current log step does, since the instance requires an ALCF login) and sets the final status/check run on that SHA, linking to its own run.
This frees the runner, decouples Aurora queue time from GitHub timeouts, and matches results by pipeline id instead of guessing. Since the token lives on the GitLab side, fork PRs get results too (unlike CUDA.jl, where fork PRs can't decrypt the dispatch token).
Things to sort out:
- a pipeline that is cancelled (or whose runner dies) never runs the final job, so its status would stay
pending; either accept that or add a scheduled sweep; - re-running the GitHub check would now mean triggering a new pipeline, close to what #648 already does;
- whether ALCF allows outbound HTTPS to
api.github.comfrom CI jobs (the codecov upload suggests so) and storing a GitHub PAT in GitLab variables; - if the ALCF GitLab is Premium, its built-in GitHub integration can post pipeline statuses natively, though that wouldn't solve log visibility.
cc @michel2323
- 主要言語
- Julia
- スター
- 217
- フォーク
- 37
- 平均マージ
- 18時間 12分
- マージ済み PR(30日)
- 26
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
JuliaGPU/oneAPI.jl のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Wrong results for overflowing Int16 arithmetic in a reduction kernel対応中かも @maleadt が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
JuliaGPU/oneAPI.jl#607 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
JuliaGPU/oneAPI.jl の issue をすべて見る
似ている issue
-
documentation
難易度 2/5 半日 初心者へのやさしさ 65/100
メンテナーはふだん 6 日以内に返信
-
broken links in docsオープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
JuliaPhysics/BeamletOptics.jl#127 ·
メンテナーはふだん 1 日以内に返信
-
Chains resumed from `initial_state` take `num_warmup + 1` warm-up steps対応中かも @thevolatilebit が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
TuringLang/AbstractMCMC.jl#220 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信