-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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]: Resolver fails at the "Create draft PR or push branch" step due to openhands.resolver.patching.exceptions.HunkApplyException #6140
Comments
CC @neubig and @malhotra5 |
Seeing this as well. |
@openhands-agent please investigate this by trying to write a test that fails with this error, and then fix the underlying problem. |
Note, I was able to reproduce here: https://github.com/All-Hands-AI/OpenHands/actions/runs/12680801514/job/35343278815 |
OK, I have examined this and it's confusing. For some reason the resolver is trying to apply a patch to a file that differs from the actual source file that was used to generate the patch. I'm not sure why this is happening, or what might have changed in our code to cause this to break now, given that the underlying code has not changed in several weeks. This needs further investigation. I'll assign to @malhotra5 but if I have time to take a look myself I will as well. |
Thank you @neubig and @malhotra5! |
Is there an existing issue for the same bug?
Describe the bug and reproduction steps
The resolver fails at the "Create draft PR or push branch" step due to the following error:
All of the previous steps appear to run succesfully. The action ran quickly in <4mins. Attached below are the entirety of the logs.
OpenHands Installation
Docker command in README
OpenHands Version
0.19.0
Operating System
None
Logs, Errors, Screenshots, and Additional Context
logs_32793611898.zip
The text was updated successfully, but these errors were encountered: