fix: auto-stage-candidate active dispatch (replaces broken workflow_run trigger) - #122
Conversation
… auto-stage-candidate Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0a661347ba
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| gh workflow run auto-stage-candidate.yml \ | ||
| --repo bash0816/Codex-Termux \ | ||
| -f build_run_id=${{ github.run_id }} |
There was a problem hiding this comment.
Dispatch staging only after the build run completes
When this job dispatches auto-stage-candidate, the source workflow run is still in progress because dispatch-stage itself has not finished yet. The dispatched workflow immediately queries this same ${{ github.run_id }} and requires status=completed and conclusion=success, so the actively dispatched run will see in_progress/null and exit before staging; successful builds therefore won't auto-stage unless someone dispatches the workflow manually after the build workflow has completed.
Useful? React with 👍 / 👎.
概要
auto-stage-candidate.ymlのworkflow_runトリガーが2026-07-08以降GitHub Actions側の配信不具合で一度も発火していないことが判明したため、能動的なworkflow_dispatch呼び出しに置き換えました。
変更内容
auto-stage-candidate.yml: workflow_runトリガーを削除し、workflow_dispatch入力(build_run_id)に置き換えexternal-build-android-aarch64.yml: ビルド完了時にauto-stage-candidateをactiveに呼び出すジョブを追加レビュー状況
G1(設計レビュー: 5回)・G2(実装プランレビュー: 4回)のGPT-5.6-terraレビューで全てGoを取得済み。現在G3コーディングレビュー待ち。