Review
Filtering comments and bots
3 min read
In a busy merge request, the timeline gathers dozens of threads: the ones already resolved, the ones from analysis bots, the ones from each reviewer. The comment filter shows only what matters now, for example "the unresolved ones, without the bots". It applies to the Overview timeline and to the comments inside the diff.
- MR review › Overview tab › Activity section › filter bar, right below the title.
- MR review › Changes tab › filter bar above the file list.
| Control | What it does |
|---|---|
| All / Unresolved / Resolved | Filters by the thread's state. Each button shows how many there are. |
| Author (or "2 authors") | Opens the "Threads with comments by" menu: check the people whose threads you want to see. Any author unchecks them all. |
| Hide bots | "Hide threads started by bots (GitLab Duo, Copilot, automations)", with the count next to it. |
| "Showing 3 of 10" and Clear filter | The summary of what is visible and the button that shows everything again. |
The state buttons are disabled when "None of these threads can be resolved" and, on GitHub, because "GitHub's API doesn't say whether a thread was resolved".
With a filter on, the Changes tab also hides the threads that don't pass it, and a bar warns "Filter on: 2 threads hidden" (or "Comment filter on"), with Clear filter.
- Open the review and go to the Overview tab.
- In the filter bar, click Unresolved.
- Check Hide bots.
- To see only one person's threads, click Author and check their name.
- To see everything again, click Clear filter.
The state and the authors apply to the open review. Hide bots is remembered and applies to all reviews.
Comments from automation accounts carry the bot badge ("Written by a bot account (automation)"), in the timeline, in the diff and in the Reviewers box.
The APIs don't say, in the comments, whether the author is a bot. Versora recognizes them by the account name ("Recognized as a bot by the account name"):
- GitHub app accounts, which end in
[bot](such asdependabot[bot]), andCopilot; GitLabDuoand the Duo service accounts (duo-…);- GitLab project and group tokens (
project_123_bot…,group_45_bot…) andservice_account_…accounts; - names that start or end with
botseparated by a hyphen, underscore or period (ci-bot,bot.deploy); - known services that don't follow that format, such as
renovate,mergify,codecov,sonarcloud,sonarqubeandsnyk.
- In the filter bar, click Author.
- In the menu, click the robot button next to the account ("Treat @deploy-svc as a bot").
- The account gets the bot badge and counts in Hide bots.
To undo it, click again ("Stop treating @deploy-svc as a bot"). Accounts recognized by name have the button locked. Your bot list is kept in Versora, on this computer, and applies to all reviews.
Nothing. The filter only changes what the screen shows.
Clear filter shows everything again. To take an account off your bot list, use "Stop treating @… as a bot".
- Threads hidden by the filter still count in the number on the Overview tab.
- "No comments yet." may appear because the filter hid everything: check the "Showing 0 of 10" summary.
None in Preferences: Hide bots and the bot list are kept by the app itself.