You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PR review agent has been silently skipping reviews for months #1972
PR review agent has been silently skipping reviews for months — found the root cause + fix
Been chasing a startup_failure on docs-builder's PR review workflow, which led me to a bigger issue in elastic/ai-github-actions. What's broken: The AI PR reviewer occasionally posts a no-op instead of actually reviewing:
> "No review submitted: required helper command ready_to_code_review is unavailable in this environment" Root cause: Our workflow fragments define custom helper tools (ready_to_code_review, ready_to_make_pr, ready_to_push_to_pr) using a safe-inputs: config key. That key was renamed to
mcp-scripts: upstream in github/gh-aw a while back, and we never migrated. The current compiler doesn't recognize safe-inputs: anymore, so it just silently drops it — the tool never gets registered,
even though the prompt still tells the agent to call it. It's not a flake, it's a guaranteed failure every time the agent reaches that step.
This isn't new either — bots have auto-filed and auto-closed this exact finding at least 4 times (#621, #1360, #1802, #1803) over the past several months without anyone actually fixing it, since the
closes were just "issue expired," not "issue resolved." The fix:
Rename safe-inputs: → mcp-scripts: in the 3 affected fragments (same schema, just the key name)
Bump the gh-aw compiler pin v0.87.5 → v0.87.10 for other reliability fixes
Recompile all 57 workflow lock files
Verified: the tool now actually shows up in the compiled MCP server list, make lint + tests pass Blocker: I put this together on a fork (Mpdreamz/ai-github-actions@chore/upgrade-gh-aw-v0.87.10), but .github/workflows/** in that repo is locked down — external/unsigned contributors can't open a
PR touching those paths (confirmed by #1803, where even their own bot hit the same wall). Need someone with real elastic org write access to either push the branch or open the PR from it.
Compare link: main...Mpdreamz:ai-github-actions:chore/upgrade-gh-aw-v0.87.10
This issue looks highly related to #1803, but it is not safe to close as a duplicate yet because this report includes credible recurrence/regression evidence after prior closures.
[aw] PR Review produced no safe outputs #1951 — it shows a current operational symptom of this issue (PR Review produced no safe outputs), which helps confirm the impact in live runs.
Recommendation: Adopt the upstream key migration (safe-inputs → mcp-scripts) for the PR-review helper fragment, bump the gh-aw compiler pin to the already-validated v0.87.10, then recompile and lint. This is the lowest-risk fix because it aligns source with current compiler behavior and preserves existing review flow (ready_to_code_review writes review guidance files used later in the prompt).
Findings (evidence):
.github/workflows/gh-aw-fragments/safe-output-code-review.md:2 defines ready-to-code-review under safe-inputs: (legacy key), so current compilers can silently drop registration.
.github/workflows/gh-aw-pr-review.md:134 requires calling ready_to_code_review; if not registered, review flow cannot execute as authored.
.github/workflows/gh-aw-mention-in-pr.md:165 and .github/workflows/gh-aw-mention-in-pr-no-sandbox.md:158 also require ready_to_code_review, so impact is broader than one workflow.
I validated the current source-level mismatch by reading the workflow and fragment files above and confirming the required helper call is present in prompts while helper definition uses the legacy key.
I did not rerun compile/lint in this planning pass because PR review agent has been silently skipping reviews for months #1972 already includes a concrete validated branch and outcomes; the implementation plan below includes exact commands to rerun in-repo after patching.
Expect lockfile updates under .github/workflows/*.lock.yml.
Validate repository checks
Run:
make lint
(Optional but prudent if touching prompt behavior broadly) make test
Confirm the specific regression is fixed in generated output
Search compiled workflows for PR-review surfaces:
Ensure the generated MCP/safe-output configuration includes the helper registration path expected by current compiler behavior.
Ensure prompt references to ready_to_code_review remain consistent with available helper tooling.
Open follow-up hardening issue (recommended)
Add a small CI/prompt-audit check that fails when prompts require helper commands that are not declared/registered in generated workflow tool surfaces. This prevents repeat silent drift.
Closeout sequencing
Land schema migration + version bump + recompilation in one PR to avoid intermediate broken states.
After merge, monitor next gh-aw-pr-review runs for absence of “No Safe Outputs Generated” failures tied to missing helper tools.
Activity
github-actions commentedon Aug 31, 2026
This issue looks highly related to #1803, but it is not safe to close as a duplicate yet because this report includes credible recurrence/regression evidence after prior closures.
Possible duplicates:
ready_to_code_reviewhelper causing PR review prompts to require an unavailable tool, which matches the same failure signature.ready_to_make_pr/ready_to_push_to_prtools #621 — it documents the older instance of the same undeclared helper-tool pattern in compiled prompts, including the PR-review path.2 related issues
safe-inputs→mcp-scripts) and explains why prior reports were not fully resolved in practice.PR Review produced no safe outputs), which helps confirm the impact in live runs.What is this? | From workflow: Trigger Duplicate Issue Detector
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
v1v commentedon Aug 31, 2026
/plan
github-actions commentedon Aug 31, 2026
Recommendation: Adopt the upstream key migration (
safe-inputs→mcp-scripts) for the PR-review helper fragment, bump the gh-aw compiler pin to the already-validatedv0.87.10, then recompile and lint. This is the lowest-risk fix because it aligns source with current compiler behavior and preserves existing review flow (ready_to_code_reviewwrites review guidance files used later in the prompt).Findings (evidence):
.github/workflows/gh-aw-fragments/safe-output-code-review.md:2definesready-to-code-reviewundersafe-inputs:(legacy key), so current compilers can silently drop registration..github/workflows/gh-aw-pr-review.md:134requires callingready_to_code_review; if not registered, review flow cannot execute as authored..github/workflows/gh-aw-mention-in-pr.md:165and.github/workflows/gh-aw-mention-in-pr-no-sandbox.md:158also requireready_to_code_review, so impact is broader than one workflow.Makefile:4-6currently pinsGH_AW_VERSION,GH_AW_BUILD_VERSION, andGH_AW_COMPAT_VERSIONtov0.87.5; issue PR review agent has been silently skipping reviews for months #1972 reports validated fix behavior onv0.87.10plus successful compile/lint.ready_to_make_pr/ready_to_push_to_prtools #621, [prompt-audit] PR review prompts require unavailable ready_to_code_review tool #1360, Fix create-PR prompts to match available safe-output tools #1803, and operational symptom [aw] PR Review produced no safe outputs #1951.Verification:
Detailed Action Plan
Update helper schema key in fragment
.github/workflows/gh-aw-fragments/safe-output-code-review.md:safe-inputs:tomcp-scripts:.ready-to-code-reviewscript content unchanged.Align compiler version pins
Makefile:GH_AW_VERSION := v0.87.10GH_AW_BUILD_VERSION := v0.87.10GH_AW_COMPAT_VERSION := v0.87.10Regenerate compiled workflows
make compile.github/workflows/*.lock.yml.Validate repository checks
make lintmake testConfirm the specific regression is fixed in generated output
ready_to_code_reviewremain consistent with available helper tooling.Open follow-up hardening issue (recommended)
Closeout sequencing
gh-aw-pr-reviewruns for absence of “No Safe Outputs Generated” failures tied to missing helper tools.Related items: #621, #1360, #1803, #1951; key files:
.github/workflows/gh-aw-pr-review.md,.github/workflows/gh-aw-mention-in-pr.md,.github/workflows/gh-aw-mention-in-pr-no-sandbox.md,.github/workflows/gh-aw-fragments/safe-output-code-review.md,Makefile.What is this? | From workflow: Trigger Plan
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
v1v commentedon Sep 1, 2026
github/gh-aw#20115 is the one that introduced the chagne in the signature