[bug-hunter] Update PR Body workflow references undeclared messages-footer input
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 82/100
Hướng nghiên cứu
Đọc .github/workflows/gh-aw-update-pr-body.md, tập trung vào khối workflow_call.inputs và các tham chiếu inputs.messages-footer quanh dòng 91 và 111. Chạy tập lệnh tái hiện từ issue để xác nhận input còn thiếu. Hoàn tất khi input được đề cập đã được khai báo và tập lệnh chạy thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 13
- Fork
- 16
- Merge trung bình
- 45 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của elastic/ai-github-actions
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
elastic/ai-github-actions#2523 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
elastic/ai-github-actions#2522 ·
-
[workflow-patrol] Workflow drift detected: duplicate-issue-detector missing runtime setup patternĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
elastic/ai-github-actions#2517 ·
-
[bug-hunter] Copilot SDK no-sandbox mention workflows block `read` tool in runtime allowlistĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
elastic/ai-github-actions#2514 · 1 bình luận ·
-
information-architecture
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
elastic/ai-github-actions#2511 ·
Tất cả issue của elastic/ai-github-actions
Issue tương tự
-
Layout accepts a step threshold of 0 or less, then in-toto-verify crashes with StopIterationCó thể đã có người làm @BahaaMattar đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
needs discussion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openfga/openfga.dev#1436 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
usb-device-hid: MouseInterface reports bInterfaceProtocol 1 (keyboard) instead of 2Có thể đã có người làm @Duhan07 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
micropython/micropython-lib#1176 ·