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

Feature Request / Idea: PR reviews that can use JIRA tickets as context #64

Open
KalleV opened this issue Jul 16, 2023 · 6 comments
Open

Comments

@KalleV
Copy link

KalleV commented Jul 16, 2023

Thanks for publishing this tool. It's very fun to try! The PR descriptions and summaries are impressive.

Feature idea

I was curious about the possibility of including the original project-tracking ticket in the context of the reviews. That could open up an even more accurate AI-generated review that could evaluate whether the changes meet the ticket's requirements.

Possible implementation

For JIRA, I was picturing a system that looks for configured project ID(s) in the commits (i.e. MYPROJ) and then performs a GET request to retrieve relevant fields to augment the context.

References

Roadmap item:

Add additional context to the prompt. For example, repo (or relevant files) summarization, with tools such a ctags

@okotek
Copy link
Contributor

okotek commented Jul 16, 2023

Thanks for the idea!
Maybe as a first step we can peek into associated GitHub issues and GitHub project tickets.
Cc @mrT23 @hussam789 @DedyKredo

@wwzeng1
Copy link

wwzeng1 commented Jul 18, 2023

@KalleV @okotek Happy to help with this using Sweep, our bot that writes PRs from Github Issues. let me know if you'd like to install it at https://github.com/sweepai/sweep/blob/main/README.md#-getting-started

@esauser
Copy link

esauser commented Jul 29, 2023

Similar to this, we use Azure DevOps and always link the tickets. Could pull the same context from there.

@KalleV
Copy link
Author

KalleV commented Aug 5, 2023

@KalleV @okotek Happy to help with this using Sweep, our bot that writes PRs from Github Issues. let me know if you'd like to install it at sweepai/sweep@main/README.md#-getting-started

@wwzeng1 Wow, the interaction between Sweep + PR Agent has some amazing potential. There's some accuracy issues but it's awesome to see PR Agent auto-review a PR submitted by Sweep, and then Sweep automatically tries to address the PR feedback.

@coditamar
Copy link
Contributor

@KalleV @okotek Happy to help with this using Sweep, our bot that writes PRs from Github Issues. let me know if you'd like to install it at https://github.com/sweepai/sweep/blob/main/README.md#-getting-started

sweep license could be an issue
https://github.com/sweepai/sweep/blob/main/LICENSE

@wwzeng1
Copy link

wwzeng1 commented Aug 5, 2023

We have a ToS available, but no worries! We can just use Sweep directly instead of building this into Codium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@okotek @KalleV @esauser @wwzeng1 @coditamar and others