Skip to content

Fix review handler rejecting dashboard-triggered PR reviews#2329

Merged
hiroshinishio merged 1 commit intomainfrom
wes
Feb 26, 2026
Merged

Fix review handler rejecting dashboard-triggered PR reviews#2329
hiroshinishio merged 1 commit intomainfrom
wes

Conversation

@hiroshinishio
Copy link
Collaborator

Summary

  • The review comment handler checked pr_creator != GITHUB_APP_USER_NAME to filter out non-GitAuto PRs, but dashboard-triggered PRs have the human user as creator, not the app
  • Replaced with head_branch.startswith(PRODUCT_ID + "/") check which correctly identifies GitAuto PRs regardless of who created them
  • Added logger statements on all early returns so silent rejections are visible in CloudWatch

@hiroshinishio hiroshinishio self-assigned this Feb 26, 2026
@hiroshinishio hiroshinishio merged commit e4c6cc9 into main Feb 26, 2026
1 check failed
@hiroshinishio hiroshinishio deleted the wes branch February 26, 2026 20:48
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