-
Notifications
You must be signed in to change notification settings - Fork 7k
[Fix]: Broken links from cloud resolver #8923
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
Conversation
@OpenHands fix the failing tests for tests/unit/test_mcp_routes |
I'm on it! malhotra5 can track my progress at all-hands.dev |
I've successfully fixed the failing tests in Issue IdentifiedThe tests were failing because of a mismatch between the implementation and the tests:
Changes Made
Verification
Commit and PushThe changes have been committed with the message "Fix conversation link in PR/MR creation by using user.name instead of user.login" and pushed to the This fix ensures that the conversation link in PR/MR descriptions will correctly include the user's name, making the tests pass and improving the functionality. |
End-user friendly description of the problem this fixes or functionality this introduces.
Summarize what the PR does, explaining any non-trivial design decisions.
When the cloud resolver opens a new PR, it is responsible for leaving a link the PR body (
user can continue refining pr here ...
)However, the agent often leaves broken links. This PR fixes this issue by having the
create_pr
MCP tool append the link at the end of the PR body. This does two thingsWe have also deprecated
attach_convo_id
functionality, which was required to plumb the convo link instructions to the agent (because conversation_id is created first, and then mounted into the agent instructions)Link of any specific issues this addresses:
All-Hands-AI/OpenHands-Cloud#42
To run this PR locally, use the following command: