-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
[Bug]: Github Resolver cannot push to the SAME PR #5183
Comments
The relevant log shows that since 'git push' is not done by the agent, but by the resolver post-processing, it fails when the branch was modified on the remote: Logpackages/openhands/resolver/send_pull_request.py", line 636, in main ERROR:root:<class 'RuntimeError'>: Failed to push changes to the remote repository |
@openhands-agent Check the issue history - Maybe you should modify the code to automatically git pull before git push - if it fails due to exit code non-zero, be sure to send an error message via Github comment. |
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. |
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. |
This issue was closed because it has been stalled for over 30 days with no activity. |
Is there an existing issue for the same bug?
Describe the bug and reproduction steps
It happens when you follow-up a comment on a PR: #5181
See detailed Github action: https://github.com/All-Hands-AI/OpenHands/actions/runs/11959703763/job/33342073747#step:13:375
OpenHands Installation
Docker command in README
OpenHands Version
No response
Operating System
None
Logs, Errors, Screenshots, and Additional Context
No response
The text was updated successfully, but these errors were encountered: