chore: enable UI rereview via aireview team#17
Conversation
| @@ -0,0 +1,3 @@ | |||
| review: | |||
| uiRereviewTeam: aireview | |||
There was a problem hiding this comment.
Critical: Configuration mismatch with hardcoded validation
The team name aireview won't work because the handler code (src/handlers/review.ts:62) has a hardcoded set containing only "ai-review" (with hyphen). When a review is requested via this team, the validation at review.ts:201 will fail the match and skip the review.
This means the UI-based rereview via team request will not function as intended.
| uiRereviewTeam: aireview | |
| uiRereviewTeam: ai-review |
Kodiai Review SummaryCritical |
There was a problem hiding this comment.
Pull request overview
Adds repository-level Kodiai configuration to support UI-driven re-review by requesting a reviewer team on PR open/ready-for-review, enabling maintainers to re-trigger reviews via the GitHub “requested reviewers” UI.
Changes:
- Add
.kodiai.ymlreview.uiRereviewTeamconfiguration. - Enable auto-requesting the UI re-review team when PRs are opened (
requestUiRereviewTeamOnOpen: true).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -0,0 +1,3 @@ | |||
| review: | |||
| uiRereviewTeam: aireview | |||
There was a problem hiding this comment.
uiRereviewTeam is set to aireview, but the review handler currently only accepts team-based pull_request.review_requested triggers for the hard-coded team slug/name ai-review (see src/handlers/review.ts where rereviewTeamSlugs = new Set(["ai-review"])). With the current code, re-requesting the aireview team in the UI will be skipped and won’t trigger a re-review. Either change this value to ai-review (if that’s the intended team), or update the handler to treat config.review.uiRereviewTeam as an allowed re-review team.
| uiRereviewTeam: aireview | |
| uiRereviewTeam: ai-review |
Issues
Fix
Notes