[bug-hunter] Update PR Body workflow references undeclared messages-footer input
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 82/100
調査の方向性
.github/workflows/gh-aw-update-pr-body.mdを読み、workflow_call.inputsブロックと、91行目および111行目付近にあるinputs.messages-footerの参照に注目してください。issueの再現スクリプトを実行して、inputが不足していることを確認してください。指定されたinputが宣言され、スクリプトが正常に終了したら完了です。
索引モデルが issue の本文から書いたものです。
説明
Impact
Callers of .github/workflows/gh-aw-update-pr-body.lock.yml cannot provide a custom footer even though the workflow source references inputs.messages-footer as an override. Passing with: messages-footer: ... to a reusable workflow call will be rejected as an unexpected input, which blocks the run.
Reproduction Steps
- From repo root, run this new minimal reproduction script:
python - <<'PY'
from pathlib import Path
import re, sys
p = Path('.github/workflows/gh-aw-update-pr-body.md')
text = p.read_text()
# Frontmatter block
start = text.find('---\n')
end = text.find('\n---\n', start + 4)
frontmatter = text[start + 4:end]
# Declared workflow_call inputs
m = re.search(r'workflow_call:\n\s+inputs:\n(?P<body>.*?)(?:\n\s{2}\w|\nroles:)', frontmatter, re.S)
if not m:
print('Could not locate workflow_call.inputs block')
sys.exit(2)
declared = set(re.findall(r'^\s{6}([a-zA-Z0-9_-]+):\s*$', m.group('body'), re.M))
referenced = set(re.findall(r'inputs\.([a-zA-Z0-9_-]+)', text))
undeclared = sorted(referenced - declared)
print('Declared inputs:', sorted(declared))
print('Referenced inputs:', sorted(referenced))
print('Undeclared referenced inputs:', undeclared)
if undeclared:
sys.exit(1)
PY
Expected vs Actual
Expected: Every inputs.<name> used by the workflow is declared under workflow_call.inputs, including messages-footer if it is intended to be user-configurable.
Actual: messages-footer is referenced but not declared; the reproduction exits with code 1.
Actual output:
Declared inputs: ['additional-instructions', 'allowed-bot-users', 'edit-accuracy', 'edit-completeness', 'edit-format', 'edit-style', 'model', 'report-failure-as-issue', 'setup-commands']
Referenced inputs: ['additional-instructions', 'allowed-bot-users', 'edit-accuracy', 'edit-completeness', 'edit-format', 'edit-style', 'messages-footer', 'model', 'setup-commands']
Undeclared referenced inputs: ['messages-footer']
Failing Test
Same script as in reproduction step 1 (it exits non-zero when undeclared referenced inputs exist).
Evidence
.github/workflows/gh-aw-update-pr-body.md:91referencesinputs.messages-footerinsafe-outputs.messages.footer..github/workflows/gh-aw-update-pr-body.md:111documentsinputs.messages-footerin the prompt context..github/workflows/gh-aw-update-pr-body.md:22-68definesworkflow_call.inputs, but nomessages-footerinput is declared.
What is this? | From workflow: Trigger Bug Hunter
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
- expires on Nov 19, 2026, 11:23 AM UTC
- 主要言語
- Python
- スター
- 13
- フォーク
- 16
- 平均マージ
- 45分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
elastic/ai-github-actions のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
elastic/ai-github-actions#2523 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
elastic/ai-github-actions#2522 ·
-
[workflow-patrol] Workflow drift detected: duplicate-issue-detector missing runtime setup patternオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
elastic/ai-github-actions#2517 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
elastic/ai-github-actions#2514 · コメント 1 件 ·
-
information-architecture
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
elastic/ai-github-actions#2511 ·
elastic/ai-github-actions の issue をすべて見る
似ている issue
-
Layout accepts a step threshold of 0 or less, then in-toto-verify crashes with StopIteration対応中かも @BahaaMattar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
needs discussion
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openfga/openfga.dev#1436 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
usb-device-hid: MouseInterface reports bInterfaceProtocol 1 (keyboard) instead of 2対応中かも @Duhan07 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
micropython/micropython-lib#1176 ·