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

Add Reviewer agent to summarize PR. #54

Merged
merged 17 commits into from
Dec 5, 2023
Merged

Conversation

arihanv
Copy link
Contributor

@arihanv arihanv commented Dec 1, 2023

  • New agent called reviewer that uses git diff file to generate a summary of the PR

Copy link

vercel bot commented Dec 1, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
maige ✅ Ready (Inspect) Visit Preview Dec 5, 2023 8:44pm

@@ -344,7 +363,7 @@ ${isComment ? `Comment by @${comment.user.login}: ${comment?.body}.` : ''}
octokit,
prisma,
customerId,
repoName: name
repoName: `${owner}/${name}`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking to understand what effects this has

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Me and dexter added it so that we could inject it in the script to clone the repo in the sandbox. Since you need to recreate the https://github/owner/name.git url

@@ -344,7 +378,8 @@ ${isComment ? `Comment by @${comment.user.login}: ${comment?.body}.` : ''}
octokit,
prisma,
customerId,
repoName: name
repoName: `${owner}/${name}`,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only downstream effect was in prisma.project.update({ where: { ... name: repoName } ... }) in the updateInstructions tool


const cloneName = `maige-${repoName.split('/')[1]}`

const repoSetup = preCmdCallback(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these changes be in the scope of this PR?

Copy link
Collaborator

@tedspare tedspare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tedspare tedspare deleted the arihan/mar-6-code-review-bot branch January 30, 2024 20:37
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

Successfully merging this pull request may close these issues.

3 participants