-
Notifications
You must be signed in to change notification settings - Fork 0
✨🧑💻 - Bugbot autofix #296
Copy link
Copy link
Labels
100%Progress: 100%Progress: 100%branchedIndicates that a branch has been created for this issue.Indicates that a branch has been created for this issue.enhancementNew feature or requestNew feature or requestfeatureLabel to manage feature branchesLabel to manage feature branchespriority: lowNot urgent, can be addressed later.Not urgent, can be addressed later.size: XXLIndicates an extremely large task or issue that requires significant time and effort to complete.Indicates an extremely large task or issue that requires significant time and effort to complete.
Metadata
Metadata
Assignees
Labels
100%Progress: 100%Progress: 100%branchedIndicates that a branch has been created for this issue.Indicates that a branch has been created for this issue.enhancementNew feature or requestNew feature or requestfeatureLabel to manage feature branchesLabel to manage feature branchespriority: lowNot urgent, can be addressed later.Not urgent, can be addressed later.size: XXLIndicates an extremely large task or issue that requires significant time and effort to complete.Indicates an extremely large task or issue that requires significant time and effort to complete.
Type
Projects
Status
Done
Is there an existing issue or feature request for this?
What area does this improvement affect?
New Feature
What actions does this improvement affect?
No response
Description of the idea or improvement
This improvement aims to address several minor issues in the current Bugbot, while also introducing a new feature: the ability to reply or send messages directly from issues or pull requests where the Bugbot is asked to fix detected vulnerabilities.
In both issues and pull requests, the user should be able to simply say something like “fix it” or “fix them”. When this request is made in a general way (for example, “fix it” within an issue), OpenCode must interpret which vulnerability or vulnerabilities are still open and need to be addressed.
In the case of pull requests, if the user replies within the same thread that was opened for a specific vulnerability, the Bugbot should fix the exact issue that was detected and discussed in that thread. If, instead, the user adds a new comment in the pull request mentioning the Bugbot, it must interpret which vulnerability or vulnerabilities are being requested to be fixed.
The user may also provide more explicit instructions, such as “fix vulnerability X” or “fix all vulnerabilities you can find”.
In all cases, when the Bugbot receives a request to fix one or more issues, it must analyze the full context, resolve the detected vulnerabilities or potential problems, and execute a series of tasks to ensure everything is correct. This may include running build commands, tests, linters, or any other checks that are available and specified by the user.
Once all checks pass, OpenCode can confirm that the vulnerability has been fixed. If the fix is successful, the same GitHub Action, after OpenCode completes its work, must commit the local changes generated during this OpenCode workflow.
Current limitations or challenges
Detect local changes on the current workflow (where the GitHub Action is executed) and commit those changes.
Expected impact
Speed up the resolution of vulnerabilities.
Alternatives considered
None
Version of copilot
master
Additional context or comments
Good luck! 🤞