🔍 Is there already an issue for your problem?
📝 Description
When using the search filter with author:somebot as an exclude term, notifications with reason review_requested are hidden if the bot is resolved as the notification's subject.user during enrichment, even when the bot did not open the PR.
I have org:myorg as an include filter and author:coderabbitai as an exclude filter. A coworker requests my review on a human-authored PR. CodeRabbit automatically comments on the PR (as bots do). Since the enrichment handler fetches only the last comment (LAST_COMMENTS: 1 in constants.ts), and pullRequest.ts prioritizes the last comment's author over the PR author when setting subject.user:
const prComment = pr.comments?.nodes?.[0];
const prUser = getNotificationAuthor([prComment?.author, pr.author]);
...subject.user.login becomes coderabbitai. The exclude filter then matches and the notification is filtered out, even though:
- The PR was opened by a human
- The notification reason is
review_requested (someone directly asked for my review)
- CodeRabbit's only involvement was leaving an automated comment
The author: qualifier in search.ts extracts n.subject?.user?.login unconditionally, and filter.ts applies the exclude without considering notification.reason. This means you can't filter out bot comment noise without also losing actionable review requests, assignments, and mentions on any PR where the bot happened to leave the last comment.
🪜 Steps To Reproduce
- Enable detailed notifications in settings
- Add an include search filter:
org:<your-org>
- Add an exclude search filter:
author:<some-bot> (e.g. author:coderabbitai)
- Have a human open a PR in the org where the bot automatically comments
- Have someone request your review on that PR
- The "review requested" notification appears on github.com/notifications but not in Gitify
🪵 Log Excerpts
No response
Gitify Version
6.17.0
Operating System
macOS
GitHub Account
GitHub Cloud
📸 Screenshots
No response
🔍 Is there already an issue for your problem?
📝 Description
When using the search filter with
author:somebotas an exclude term, notifications with reasonreview_requestedare hidden if the bot is resolved as the notification'ssubject.userduring enrichment, even when the bot did not open the PR.I have
org:myorgas an include filter andauthor:coderabbitaias an exclude filter. A coworker requests my review on a human-authored PR. CodeRabbit automatically comments on the PR (as bots do). Since the enrichment handler fetches only the last comment (LAST_COMMENTS: 1inconstants.ts), andpullRequest.tsprioritizes the last comment's author over the PR author when settingsubject.user:...
subject.user.loginbecomescoderabbitai. The exclude filter then matches and the notification is filtered out, even though:review_requested(someone directly asked for my review)The
author:qualifier insearch.tsextractsn.subject?.user?.loginunconditionally, andfilter.tsapplies the exclude without consideringnotification.reason. This means you can't filter out bot comment noise without also losing actionable review requests, assignments, and mentions on any PR where the bot happened to leave the last comment.🪜 Steps To Reproduce
org:<your-org>author:<some-bot>(e.g.author:coderabbitai)🪵 Log Excerpts
No response
Gitify Version
6.17.0
Operating System
macOS
GitHub Account
GitHub Cloud
📸 Screenshots
No response