Skip to content
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: Error finding issue with empty description #5086

Closed
1 task done
SanderVocke opened this issue Nov 16, 2024 · 12 comments · Fixed by #5357
Closed
1 task done

[Bug]: resolver: Error finding issue with empty description #5086

SanderVocke opened this issue Nov 16, 2024 · 12 comments · Fixed by #5357
Assignees
Labels
bug Something isn't working fix-me Attempt to fix this issue with OpenHands resolver Related to OpenHands Resolver

Comments

@SanderVocke
Copy link

SanderVocke commented Nov 16, 2024

Is there an existing issue for the same bug?

  • I have checked the existing issues. (searched "issue not found")

Describe the bug and reproduction steps

I attempted to do a test run of openhands-resolver on my repo.

I installed the workflow .yml, set the necessary secrets and attempted a fix using @openhands-agent.

The result: https://github.com/SanderVocke/shoopdaloop/actions/runs/11871097079

  • the auto-fix step says "issue not found", even though an earlier step of the same run successfully commented on the same issue. To me that seems to mean it is not a permissions/visibility issue, otherwise it couldn't have commented.
  • the final commenting step encounters some kind of javascript error, but this could be a side-effect of the earlier error.

Sorry if I missed something obvious. Do you have any idea what could be going on here?

OpenHands Installation

Other

OpenHands Version

main

Operating System

None

Logs, Errors, Screenshots, and Additional Context

https://github.com/SanderVocke/shoopdaloop/actions/runs/11871097079

@SanderVocke SanderVocke added the bug Something isn't working label Nov 16, 2024
@neubig neubig added the fix-me Attempt to fix this issue with OpenHands label Nov 16, 2024
@neubig
Copy link
Contributor

neubig commented Nov 16, 2024

Sorry about this, I'll take a look!

@neubig neubig self-assigned this Nov 16, 2024
Copy link
Contributor

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

Copy link
Contributor

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

@SanderVocke
Copy link
Author

Sorry about this, I'll take a look!

Thanks! And no need to be sorry or hurry. Your project looks great and I'm just taking it for a spin out of curiosity!

@SanderVocke
Copy link
Author

SanderVocke commented Nov 17, 2024

I tried making a new issue and the resolver did its thing just fine. Maybe this is a problem with older issues only? If so, feel free to close.

@SanderVocke
Copy link
Author

Ah, no. Opened another fresh issue and this time, again OpenHands couldn't find it. It's not just an age thing.

@mamoodi mamoodi added the resolver Related to OpenHands Resolver label Nov 18, 2024
@SanderVocke
Copy link
Author

Any idea what might be going on? Would it be useful for me to try to switch to an earlier release of the resolver?

@enyst
Copy link
Collaborator

enyst commented Nov 29, 2024

@SanderVocke Please take the following with a grain of salt, since I'm not familiar with the resolver, but looking at the log you posted above, it seems that:

Could you perhaps add some text in the top post on that issue, and try again?

@SanderVocke
Copy link
Author

@enyst it seems you are right, that is the cause. Thanks!

I still think this could be improved: a better error message as opposed to an internal error. Or even better: just work with the title even if no description is there. Many small tasks can be described just fine with only the title.

@SanderVocke SanderVocke changed the title [Bug]: resolver: Issue not found [Bug]: resolver: Error finding issue with empty description Dec 1, 2024
@neubig neubig added fix-me Attempt to fix this issue with OpenHands and removed fix-me Attempt to fix this issue with OpenHands labels Dec 1, 2024
Copy link
Contributor

github-actions bot commented Dec 1, 2024

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

@enyst enyst added fix-me Attempt to fix this issue with OpenHands and removed fix-me Attempt to fix this issue with OpenHands labels Dec 2, 2024
Copy link
Contributor

github-actions bot commented Dec 2, 2024

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

Copy link
Contributor

github-actions bot commented Dec 2, 2024

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

malhotra5 pushed a commit that referenced this issue Dec 2, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
…ription (#5357)

Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix-me Attempt to fix this issue with OpenHands resolver Related to OpenHands Resolver
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants