Problem
When a review thread is resolved on a PR, can-be-merged is not re-evaluated. The PR stays in a stale "cannot be merged: unresolved conversations" state until another event (like a check run or status update) triggers re-evaluation.
Root Cause
GitHub sends a pull_request_review_thread webhook event with action resolved/unresolved, but the webhook server does not handle this event type. The process() method in github_api.py only handles: ping, push, issue_comment, pull_request, pull_request_review, check_run, status.
Expected Behavior
When a review thread is resolved or unresolved, can-be-merged should be re-evaluated to reflect the current state of conversations.
Deliverables
Problem
When a review thread is resolved on a PR,
can-be-mergedis not re-evaluated. The PR stays in a stale "cannot be merged: unresolved conversations" state until another event (like a check run or status update) triggers re-evaluation.Root Cause
GitHub sends a
pull_request_review_threadwebhook event with actionresolved/unresolved, but the webhook server does not handle this event type. Theprocess()method ingithub_api.pyonly handles:ping,push,issue_comment,pull_request,pull_request_review,check_run,status.Expected Behavior
When a review thread is resolved or unresolved,
can-be-mergedshould be re-evaluated to reflect the current state of conversations.Deliverables
pull_request_review_threadevent handler ingithub_api.py process()can-be-mergedonresolvedandunresolvedactions