Skip to content

fix: recover finished reviews missed by GitHub - #1011

Open
barry166 wants to merge 1 commit into
OpenHands:mainfrom
barry166:fix/github-reviewer-finished-recovery
Open

barry166 wants to merge 1 commit into
OpenHands:mainfrom
barry166:fix/github-reviewer-finished-recovery

Conversation

@barry166

Copy link
Copy Markdown

HUMAN:

This contribution recovers finished reviews that GitHub did not accept.


AGENT:

Why

Fixes #1000. The catalog worker treated a finished conversation with no native GitHub review as deduplicated forever, even when the final response contained the conversation marker and a review verdict.

Summary

  • Reconcile a finished marked response on a later worker scan.
  • Re-list current-head reviews before and after posting to avoid duplicates.
  • Update the worker documentation to describe the recovery path.

Issue Number

#1000

How to Test

python -m py_compile skills/github-pr-reviewer/scripts/worker.py skills/github/scripts/agent_conversation.py

git diff --check passes. The targeted pytest suite was attempted, but collection is blocked by the repository's invalid exclude-newer = "7 days" pyproject value and the environment lacks the openhands package.

Video/Screenshots

Not applicable for this backend automation fix.

@github-actions github-actions Bot added the type: fix A bug fix label Nov 29, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

github-pr-reviewer (worker.py): a review whose POST failed is never published or retried; the documented comment fallback is main.py-only

1 participant