#3705·pr-agent

GitHub Action ignores recorded tool failures

Author: IsmaelMartinezCreated Sep 27, 2026Updated Sep 27, 2026
Labelshelp wantederror handlingbug

The GitHub Action never reads command_failed(): _run_auto_tool and _handle_request in github_action_runner.py only mark the run failed when a tool returns False. With the default propagate_tool_errors = false, a /review whose model call fails records the failure, returns normally, and the Action exits 0, so the workflow shows green on a PR that got no review.

Proposal: set status.failed when command_failed() is true after each auto tool and push command. This turns some currently green workflows red, so it needs a maintainer decision on whether to gate it behind a setting.