Skip to content

feat: Move baz reviewer to a separate category from other reviewers#99

Merged
nimrodkor merged 7 commits intomainfrom
feat/skip-baz-reviewer
Jan 27, 2026
Merged

feat: Move baz reviewer to a separate category from other reviewers#99
nimrodkor merged 7 commits intomainfrom
feat/skip-baz-reviewer

Conversation

@nimrodkor
Copy link
Contributor

@nimrodkor nimrodkor commented Jan 25, 2026

Generated description

Below is a concise technical summary of the changes proposed in this PR:

graph LR
PullRequestCard_("PullRequestCard"):::modified
getCIIcon_("getCIIcon"):::modified
getReviewStatus_("getReviewStatus"):::modified
getReviewStatusDisplay_("getReviewStatusDisplay"):::modified
getBazReviewerStatus_("getBazReviewerStatus"):::added
getBazBadge_("getBazBadge"):::added
isBazReviewer_("isBazReviewer"):::added
PullRequestCard_ -- "Unchanged call; CI badge usage remains same." --> getCIIcon_
PullRequestCard_ -- "Now excludes baz reviewers when computing human review status." --> getReviewStatus_
PullRequestCard_ -- "Displays human review status possibly altered by baz exclusion." --> getReviewStatusDisplay_
PullRequestCard_ -- "Newly added call to compute baz-reviewer approval/review state." --> getBazReviewerStatus_
PullRequestCard_ -- "Newly added call to render baz reviewer badge." --> getBazBadge_
getReviewStatus_ -- "Uses isBazReviewer to filter out bot baz-reviewer entries." --> isBazReviewer_
getBazReviewerStatus_ -- "Identifies baz-reviewer reviews to summarize baz approval status." --> isBazReviewer_
classDef added stroke:#15AA7A
classDef removed stroke:#CD5270
classDef modified stroke:#EDAC4C
linkStyle default stroke:#CBD5E1,font-size:13px
Loading

Separates 'baz-reviewer' from human reviewers by introducing a dedicated status badge and filtering logic in the pull request card. Implements a regex-based identification utility and integrates vitest for automated testing of the new reviewer logic.

TopicDetails
Test Infrastructure Add vitest as the testing framework, configure the test environment, and update the CI/CD pipeline to include a test execution step.
Modified files (3)
  • package-lock.json
  • package.json
  • vitest.config.ts
Latest Contributors(2)
UserCommitDate
internal-baz-ci-app[bot]chore-main-release-0.3...December 28, 2025
anton.gruebel@gmail.comfeat-add-option-to-Cha...December 14, 2025
Reviewer Separation Introduce isBazReviewer to identify specific bot accounts and update PullRequestCard to display a separate status badge for these reviews.
Modified files (3)
  • src/lib/reviewer.spec.ts
  • src/lib/reviewer.ts
  • src/pages/PRSelector/PullRequestCard.tsx
Latest Contributors(1)
UserCommitDate
yuvalyacobyfeat-Ready-to-merge-94December 28, 2025
This pull request is reviewed by Baz. Review like a pro on (Baz).

@nimrodkor nimrodkor merged commit 594ce8f into main Jan 27, 2026
6 checks passed
@nimrodkor nimrodkor deleted the feat/skip-baz-reviewer branch January 27, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants