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
report_incomplete leaves workflow green when the agent exits 0 #59274
A workflow that emits report_incomplete can finish green when the agent process exits successfully. gh-aw detects the incomplete signal and enters failure-reporting logic, but does not propagate that state to the GitHub Actions job conclusion.
Observed with gh-aw v0.88.5 (27d52b43deebabba288cd8159c5c4dcfd7b4859e).
actions/setup/js/handle_agent_failure.cjs sets hasReportIncomplete and enters failure handling, but that handling only creates or updates a tracking issue. It never calls core.setFailed. Errors from issue reporting are deliberately swallowed with Don't fail the workflow if we can't create the issue.
In the observed run, generic failure handling also attempted issue creation despite report-incomplete.create-issue: false. The token lacked issues:write, so that attempt received 403 and was swallowed. Successful issue creation would still leave the run green because the handler does not set the job failure state.
Expected behavior
report_incomplete should produce a failed Actions run independently of whether failure-issue reporting is enabled or succeeds. This matches the tool description that the framework treats it as a failure signal.
If green is intentional, the tool description and activating failure handling message should clarify that the signal only activates optional issue reporting rather than affecting the workflow conclusion.
Activity