All-Hands-AI / openhands-resolver

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

Fix issue #321: [Enhancement]: Enabling caching for macro invocations #322

Closed openhands-agent closed 4 days ago

openhands-agent commented 4 days ago

This pull request fixes #321.

The issue has been successfully resolved. The AI agent modified the workflow configuration to enable caching in two scenarios:

  1. When the fix-me label is applied to an issue
  2. When a comment is created by an authorized user (OWNER, COLLABORATOR, or MEMBER) containing the macro invocation

This directly addresses the original request to perform the cache action when triggered by comment creation, while maintaining the existing functionality for the fix-me label. Since this was a workflow configuration change and not an application code change, no additional tests were required.

This would make an appropriate pull request message to a reviewer: "Updated the workflow configuration to enable caching when triggered either by the fix-me label or by comment creation from authorized users. This enhancement improves performance in both trigger scenarios while maintaining existing security controls by limiting comment triggers to authorized users only. As this is a workflow configuration change, no additional tests were required."

Automatic fix generated by OpenHands 🙌