Repository navigation
Resolve threads as primary acknowledgement, not replies - #13894
Conversation
Collapsed threads visibly close on the host — this is the acknowledgement. An extra reply only adds noise. Snapshot the resolution target at launch to prevent silent drops if the panel navigates before agent delivery. Only reply for comments without resolution endpoints.
📝 WalkthroughWalkthroughThe comment acknowledgement flow now captures GitHub and GitLab resolution targets at launch. After prompt delivery, it resolves eligible host threads using those snapshots. It posts replies only for comments that the host cannot resolve. The resolver reports failures, preserves bulk processing after rejected host calls, and limits optimistic updates to the active review. Tests cover provider handling, persistence, failures, navigation, batching, and concurrency. Localized prompts and errors describe the updated behavior. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 9a8616f8-521a-4c0b-8818-721a64e5a1d0
📒 Files selected for processing (11)
src/renderer/src/components/pr-comments-resolution-prompt.tssrc/renderer/src/components/right-sidebar/ChecksPanel.tsxsrc/renderer/src/components/right-sidebar/pr-comment-snapshotted-thread-resolver.test.tssrc/renderer/src/components/right-sidebar/pr-comment-snapshotted-thread-resolver.tssrc/renderer/src/components/right-sidebar/pr-comments-ai-launch-ack.test.tssrc/renderer/src/components/right-sidebar/pr-comments-ai-launch-ack.tssrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/zh.json
| "branch": "Sync Branch" | ||
| }, | ||
| "7e4b2a19c0": "No se pudo resolver el PR de GitHub para responder." | ||
| "7e4b2a19c0": "No se pudo resolver el PR de GitHub para responder.", |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Refer to the GitHub review thread, not the pull request.
The text "No se pudo resolver el PR de GitHub para responder." says that Orca could not resolve the pull request itself. Use wording consistent with Line 10167, such as "No se pudo resolver el hilo del PR de GitHub para responder."
Proposed wording
- "7e4b2a19c0": "No se pudo resolver el PR de GitHub para responder.",
+ "7e4b2a19c0": "No se pudo resolver el hilo del PR de GitHub para responder.",📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| "7e4b2a19c0": "No se pudo resolver el PR de GitHub para responder.", | |
| "7e4b2a19c0": "No se pudo resolver el hilo del PR de GitHub para responder.", |
There was a problem hiding this comment.
Fixing. Will be in the next commit
There was a problem hiding this comment.
@AmethystLiang, thanks for confirming. I'll keep this thread open until the fix lands in the next commit.
You are interacting with an AI system.
Collapsed threads visibly close on the host — this is the acknowledgement. An extra reply only adds noise. Snapshot the resolution target at launch to prevent silent drops if the panel navigates before agent delivery. Only reply for comments without resolution endpoints.
Problem
When Orca resolves review comments after launching an AI agent, it posts a "Fixing." reply AND resolves the thread. Since a resolved thread immediately collapses on the host, the reply is redundant noise — the user can already see the thread is handled.
Solution
Resolve open threads without replying to them. The thread resolution itself is the acknowledgement. Only post "Fixing." replies for:
Key changes:
buildSnapshottedThreadResolverto resolve threads against review state captured at launch time (prevents the panel navigating away from dropping the resolve)acknowledgePRCommentsAfterAiLaunchto prioritize resolve over replyTesting
New test file
pr-comment-snapshotted-thread-resolver.test.tscovers:Updated tests in
pr-comments-ai-launch-ack.test.tsvalidate: