Skip to content

fix: auto-stage-candidate active dispatch (replaces broken workflow_run trigger) - #122

Merged
bash0816 merged 1 commit into
mainfrom
fix/auto-stage-active-dispatch
Jul 15, 2026
Merged

fix: auto-stage-candidate active dispatch (replaces broken workflow_run trigger)#122
bash0816 merged 1 commit into
mainfrom
fix/auto-stage-active-dispatch

Conversation

@bash0816

Copy link
Copy Markdown
Owner

概要

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コーディングレビュー待ち。

… auto-stage-candidate

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +694 to +696
gh workflow run auto-stage-candidate.yml \
--repo bash0816/Codex-Termux \
-f build_run_id=${{ github.run_id }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

@bash0816
bash0816 merged commit f0c5778 into main Jul 15, 2026
3 of 7 checks passed
@bash0816
bash0816 deleted the fix/auto-stage-active-dispatch branch July 15, 2026 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant