All-Hands-AI / openhands-resolver

A system that tries to resolve all issues on a github repo with OpenHands.
MIT License
85 stars 20 forks source link

Fixing success message bug #301

Closed malhotra5 closed 6 days ago

malhotra5 commented 1 week ago

Fix

This issue address #297

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".

neubig commented 6 days ago

Thanks!