orca/src/main/codex-accounts
Dzmitry Bachko 7fe6742b8b
fix(pr-comments): let users mark comment authors as bots for the Humans/Bots filter (#7598)
* fix(pr-comments): let users mark comment authors as bots for the Humans/Bots filter

Some review bots post from regular user accounts that defeat both provider
bot metadata and login heuristics, so their comments were misclassified as
human. Adds a persisted prBotAuthorOverrides setting with a "Mark author as
bot" comment action, applied consistently across desktop and mobile.

Fixes #7597

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(pr-comments): address review feedback on bot-author overrides

- Cap sanitized prBotAuthorOverrides at 500 entries so malformed payloads
  can't bloat GlobalSettings or slow comment classification
- Reuse the shared normalizePRCommentAuthorLogin in isBotPRComment on
  desktop and mobile instead of duplicating the normalization inline
- Pass botAuthorOverrides from CommentRow to CommentMoreMenu instead of
  re-subscribing per menu instance
- Re-fetch mobile bot-author overrides alongside each PR refetch so they
  don't stay a stale one-shot snapshot for the whole session

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* fix(pr-comments): harden bot author override sync

* fix(pr-comments): bound and recover override updates

* fix(pr-comments): merge overrides from canonical settings

* fix(pr-comments): make bot override updates atomic

* fix(pr-comments): surface rejected bot overrides

* fix(i18n): translate bot override warning

* fix(i18n): translate bot author actions

---------

Co-authored-by: Dzmitry Bachko <dbachko@users.noreply.github.com>
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Brennan Benson <brennanbenson@Brennans-MacBook-Pro.local>
2026-07-12 14:09:15 -07:00
..
fs-utils.test.ts Retry Codex trust config writes on Windows locks (#4710) 2026-06-05 15:43:13 -04:00
fs-utils.ts Retry Codex trust config writes on Windows locks (#4710) 2026-06-05 15:43:13 -04:00
runtime-home-service.test.ts fix(pr-comments): let users mark comment authors as bots for the Humans/Bots filter (#7598) 2026-07-12 14:09:15 -07:00
runtime-home-service.ts fix(codex): share the user's global AGENTS.md into the managed Codex runtime home (#7927) 2026-07-12 01:30:22 -07:00
runtime-selection.test.ts Make WSL first-class for local agents and provider accounts (#2649) 2026-05-29 16:06:33 -07:00
runtime-selection.ts Make WSL first-class for local agents and provider accounts (#2649) 2026-05-29 16:06:33 -07:00
service.test.ts fix(pr-comments): let users mark comment authors as bots for the Humans/Bots filter (#7598) 2026-07-12 14:09:15 -07:00
service.ts fix(codex): use WSL login shell for account setup (#7993) 2026-07-09 19:40:11 -07:00
wsl-codex-command.test.ts fix(codex): use WSL login shell for account setup (#7993) 2026-07-09 19:40:11 -07:00
wsl-codex-command.ts fix(codex): use WSL login shell for account setup (#7993) 2026-07-09 19:40:11 -07:00