All-Hands-AI / openhands-resolver

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

Branch title is missing in failed github actions workflows #111

Closed neubig closed 3 hours ago

neubig commented 3 hours ago

Currently, the branch title is missing in the comment from failed github actions workflows. For instance, it results in this:

An attempt was made to automatically fix this issue, but it was unsuccessful. A branch named '' has been created with the attempted changes. You can view the branch here. Manual intervention may be required.

This is probably an issue of the workflow in .github/workflows/openhands-resolver.yml so it should be examined. It seems that there is probably an error in extracting the branch name. Note that the printing of the branch name is specified here, so we need to make sure we're parsing it properly: https://github.com/All-Hands-AI/openhands-resolver/blob/main/openhands_resolver/send_pull_request.py#L227

Once that is fixed, .github/workflows/openhands-resolver-experimental.yml should also be edited to keep them in parity.

It's not easy to add tests for github workflows, so no tests are necessary for this one.

github-actions[bot] commented 3 hours ago

OpenHands started fixing the issue! You can monitor the progress here.

github-actions[bot] commented 3 hours ago

A potential fix has been generated and a draft PR #112 has been created. Please review the changes.

github-actions[bot] commented 3 hours ago

OpenHands started fixing the issue! You can monitor the progress here.

github-actions[bot] commented 3 hours ago

A potential fix has been generated and a draft PR #113 has been created. Please review the changes.