-
Notifications
You must be signed in to change notification settings - Fork 168
bug(/review): Fix agent not posting feedback in GitHub #141
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
bug(/review): Fix agent not posting feedback in GitHub #141
Conversation
abcf83d to
ad366fa
Compare
|
Can you rebase? |
ad366fa to
48e28fc
Compare
|
@gemini-cli /review |
48e28fc to
d1dc939
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good change that improves the clarity of the instructions for the agent. I have a couple of minor nits, but overall this is a good improvement.
d1dc939 to
16922fb
Compare
16922fb to
40df6a1
Compare
## What's Changed * Broken links by @kulaone in #129 * chore: mention user to confirm who run by @Marukome0743 in #131 * bug(#109): Support triggering PR review with issue comment by @leehagoodjames in #138 * feat(setup): enable setup script to automatically set repository variables by @leehagoodjames in #140 * Add `echo` to core tools for automated issue triage by @jerop in #143 * chore: simply GitHub Actions permissions by @sethvargo in #144 * Simplify the workflow triggers by @jerop in #146 * bug(/review): Fix agent not posting feedback in GitHub by @leehagoodjames in #141 ## New Contributors * @kulaone made their first contribution in #129 **Full Changelog**: v0.1.6...v0.1.7
| 2. Run: echo "${CHANGED_FILES}" to get the list of changed files | ||
| 3. Run: echo "${PR_NUMBER}" to get the PR number | ||
| 4. Run: echo "${ADDITIONAL_INSTRUCTIONS}" to see any specific review | ||
| 1. Run: echo $"{REPOSITORY}" to get the github repository in <OWNER>/<REPO> format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bug.
| 1. Run: echo $"{REPOSITORY}" to get the github repository in <OWNER>/<REPO> format | |
| 1. Run: echo "${REPOSITORY}" to get the github repository in <OWNER>/<REPO> format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change modifies the prompt to constrain the agent on how the review must be submitted to GitHub. This aims to improve what is seen in #134 where "more than 50% of the time PR review fails due to tool problems posting the review."
Since this is occurring intermittently - this is a probabilistic issue, not a permissions issue, which is why the prompt is being changed.
Primary changes:
ownerto make tool calls. The change instructs the agent to list the repository owner.ownerand made tool calls with this, our logs show that these calls were successful (so the agent thought things were working), which is why workflow errors did not surface. I have filed a bug with GitHub MCP to ensure they are returning failures, and will ensure thatgemini-clilogs/telemetry is properly capturing and recording tool call failures.Fixes #134