-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: PR Review #5219
Comments
An attempt was made to automatically fix this issue, but it was unsuccessful. A branch named 'openhands-fix-issue-5219' has been created with the attempted changes. You can view the branch here. Manual intervention may be required. |
An attempt was made to automatically fix this issue, but it was unsuccessful. A branch named 'openhands-fix-issue-5219-try2' has been created with the attempted changes. You can view the branch here. Manual intervention may be required. |
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
I think we might want this feature, but I wrote this as a prompt to the LLM, out of curiosity to see what it does: and it was wildly successful at that. The result was basically a one-shot doing exactly as requested. Since then, I've been looking further into this, and I used this to familiarize myself with the code of the resolver itself. And I think this might not be the way to go:
I'm going to close this, for these reasons. We may want to take another look at the issue with a renewed prompt. 😅 |
What problem or use case are you trying to solve?
OpenHands has a resolver module which resolves GitHub issues, writes comments and reads comments, creates branches, commits and PRs.
We want to add to it a PR review functionality.
Describe the UX of the solution you'd like
When a PR is labeled with "review-pr", a github job to review the PR will be executed.
Implementation
Once you're done and understand the existing code, lets implement the new functionality of the resolver:
For this feature implementation, you also need to:
IMPORTANT
We work on python 3.12, and so you can use builtin list, dict, | None, not the older variants.
Do NOT delete comments from the existing code.
Keep the new code you write aligned with the way existing code is written, style, comments, and patterns, otherwise it triggers my ocd.
The text was updated successfully, but these errors were encountered: