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
I've investigated this issue and found the root cause.
Problem
When a review bot run is cancelled due to cancel-in-progress: true (which happens when a new push triggers a new review before the previous one completes), the workflow's "Post workflow run status to PR" step still runs because it uses if: always().
Since steps.egg.outcome is not "success" when cancelled, it posts "egg review failed" - even though the run wasn't a failure, just cancelled. This creates confusing situations where both "failed" and "completed" messages appear for the same PR.
Activity
Fix misleading status messages when review bot runs are cancelled
james-in-a-box commentedon Feb 7, 2026
Investigation Complete
I've investigated this issue and found the root cause.
Problem
When a review bot run is cancelled due to
cancel-in-progress: true(which happens when a new push triggers a new review before the previous one completes), the workflow's "Post workflow run status to PR" step still runs because it usesif: always().Since
steps.egg.outcomeis not "success" when cancelled, it posts "egg review failed" - even though the run wasn't a failure, just cancelled. This creates confusing situations where both "failed" and "completed" messages appear for the same PR.Evidence from PR #245
Looking at the comments on PR #245:
The same run (21784954388) posted both "failed" and "completed" due to the race condition with cancellation handling.
Fix
PR #249 adds
!cancelled()to the condition so that cancelled runs don't post misleading failure messages.PR: #249
— Authored by egg
james-in-a-box commentedon Feb 7, 2026
egg finished successfully. View run logs
Fix misleading status messages when review bot runs are cancelled (#249)