Skip to content

Stop the Gemini Code Assist app from reviewing every PR when it opens - #87

Merged
kriszyp merged 1 commit into
mainfrom
chore/gemini-app-no-auto-review
Nov 10, 2026
Merged

kriszyp merged 1 commit into
mainfrom
chore/gemini-app-no-auto-review

Conversation

@kriszyp

@kriszyp kriszyp commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

⊙ Problem

The Gemini Code Assist GitHub App comments on every PR when it opens. Turning off the GEMINI_ALWAYS_ON repo variable did not stop it. That variable only gates the label-opt-in gemini-review.yml workflow, which has been skipped on every run since at least September. With no .gemini/config.yaml, the App falls back to reviewing on open.

💡 Solution

⚖️ Alternatives

  • code_review.disable: true — also turns off /gemini review, which should stay as an opt-in.
  • An org-level App setting — needs admin access, and each repo that should stay quiet still depends on it.

✅ Verification

  • The file parses as YAML, and the three flags load as boolean false.
  • The keys and nesting match the published schema. It has no per-push event, so pull_request_opened is the only trigger to turn off.
  • Not observable until the next PR opens. The App reads this file, and no CI check exercises it. After merge, open a PR and confirm the App posts nothing. Then comment /gemini review and confirm it replies.

🤖 Generated by Anthropic Claude (Sonnet 5.5); posted via @kriszyp.

Related PRs: none found
Complexity: easy

Accepted behavior

Behavior the owner ruled intended, so there is nothing to file.

1 minor or nit
  • e7581a932d685140 nit maintainability — .gemini/config.yaml — Header comments on lines 1-2 narrate the settings below — accepted: task owner kriszyp ruled the file content, header comments included, must be exactly as specified (dispatch task symphony-gemini-app-autoreview-off, "Add .gemini/config.yaml with exactly this content")
Origin — the dispatch brief this PR was written from

Add .gemini/config.yaml with exactly this content, so the gemini-code-assist GitHub App no longer reviews or summarizes every PR when it opens:

Gemini Code Assist (GitHub App) review settings.

Post-push AI review is retired: no automatic review or summary when a PR opens.

Comment /gemini review on a PR to request one.

code_review:
pull_request_opened:
help: false
summary: false
code_review: false

Open a draft PR.

Acceptance

Only .gemini/config.yaml changes (plus any doc sentence that describes gemini auto-review). YAML parses. PR body states the reason above and how to request a review (/gemini review). Verification route: not observable until the next PR opens; say so.

Dispatch: task symphony-gemini-app-autoreview-off · queued by kris-session/dlc-postmortem · ran by claude/sonnet/xhigh · worker kzyp-xps-1

Ready-For-Promotion: 4de2956 urgency=normal late=none

Review-Coverage: authored=claude; ran=cursor-composer,gemini,codex; adjudicated=domain; declined=cursor-grok,muse; rounds=3; full=3 @ 4de2956

Review-Attention: skim ~2m (decisions: per-repo-vs-org-setting, manual-only-review, disable-scope, config-layer) @ 4de2956

Retiring post-push AI review on 2026-10-31 was meant to happen through the
GEMINI_ALWAYS_ON repo variable, but that variable only gates the label-opt-in
gemini-review.yml workflow, which has been skipped on every run since at least
September. The gemini-code-assist[bot] comments come from the GitHub App, which
reviews on pull_request_opened and, with no .gemini/config.yaml, uses its
default of reviewing every PR.

Turning off help, summary and code_review for pull_request_opened keeps
`/gemini review` available as an explicit request.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Dispatch-Task: symphony-gemini-app-autoreview-off
@kriszyp
kriszyp marked this pull request as ready for review November 10, 2026 04:10
@kriszyp
kriszyp merged commit 284c45a into main Nov 10, 2026
22 of 24 checks passed
@dawsontoth
dawsontoth deleted the chore/gemini-app-no-auto-review branch November 20, 2026 17:47
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.

1 participant