When the issue is a PR, openhands-resolver checks for review_threads. If there are no review threads, review_threads is initialized as an empty list.
if issue.review_threads is not None
Thus, this conditional is always true. Other conditions underneath that guess success for thread_comments or review_comments are never reached, which resulted in openhands-resolver always returning "No feedback was processed" and causing the update comment to be a generic response "New OpenHands update".
Fix
This issue address #297
When the issue is a PR,
openhands-resolver
checks forreview_threads
. If there are no review threads,review_threads
is initialized as an empty list.Thus, this conditional is always true. Other conditions underneath that guess success for
thread_comments
orreview_comments
are never reached, which resulted inopenhands-resolver
always returning "No feedback was processed" and causing the update comment to be a generic response "New OpenHands update".