Repository navigation
Closed
Description
Replaces part of PR #3654 (issue #3622), which grew to 3,100 lines because it also tried to deduplicate comments across workers. This issue is the text-only part. Start from the epic branch, not from that PR. No deduplication, locking, Redis state, retries or scheduling changes here.
Changes
- Failed or invalid review comments. Today: "
⚠️ Review output was invalid and could not be displayed safely." with no reason and a "Next step: Comment/fix…" block (PR [3548 by Claude Opus 5.5] Plugin handlers: SDK types, scoped ProPR client, outbound HTTP, plugin state and the core-import lint rule #3573), or "❌ Review failed: " followed by nothing (PR [3442 by Claude Opus 5.5] Flag automation runs that repeat the same report or act without changing anything #3454). Expected: one sentence saying why (the review output could not be parsed; the reviewer returned no text; the provider call failed), the error marker, no "Next step" block, and the parent "Posted N reviews" comment does not count it as a posted review. - Failure comments. Expected: a one-sentence cause in plain words (provider authentication failed; the agent process stopped unexpectedly) and a link to the task. Remove "Comment ID: 0", container log paths (
/usr/src/app/logs/…), the<synthetic>model line, zero-cost lines for runs that never called a model, and upstream HTML page titles such as "403 Attention Required! | Cloudflare" (keep the status code). - PR bodies. Remove the "Detailed Logs" block (conversation count, session id, log file paths) and the "Latest Conversation Messages" block that begins
ASSISTANT: [content unavailable]. Put one link to the task page in their place. Existing PR bodies are not rewritten. - CI-failure comment link. The "Commit:" link text is a SHA but points to the job run; make it point to the commit, and keep a separate link to the run.
- Labels and ids.
AIandllm-*labels are applied twice at PR creation (22 of 77 PRs): apply once. WhenAI-doneis added, removeAI. Task ids for PR comment batches never contain the literal-undefined-(find the id builder; omit the missing part).
Non-goals
- Suppressing or merging repeated comments (separate issue for CI comments; the rest is deferred to after 0.9.2).
- Rate-limit notices and retry timing (deferred to after 0.9.2).
- Any change to when a comment is posted or to job scheduling.
Acceptance
- A unit test per item on the comment or body builder output, using the quoted examples as inputs.
- No file under
src/jobsgains locking, Redis keys or new queue logic in this PR. - Keep it small: builders and their tests. If an item turns out to need more than a builder change, leave it out and name it in the PR description.
Implementation
Search for the quoted strings: Review output was invalid, Review failed, Detailed Logs, Latest Conversation Messages, Comment ID, CI failed. Comment builders are in src/jobs and packages/core/src/services.
Activity
propr-dev commentedon Nov 17, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53673/claude-opus-5-5-bot-comments-and-pr-bodie-20261117-1404-xif3616-epic-0-9-d8bissue-3673-20261117-1404-claude-opus-5-5-xif🔍 Track Task Execution
I've prepared the 0.9.2 release metadata on top of upstream `main`. I…