Repository navigation
Closed
Description
Problem (observed on integry/propr, 2026-11-11 to 2026-11-17)
- Failed or invalid reviews are empty shells. [3548 by Claude Opus 5.5] Plugin handlers: SDK types, scoped ProPR client, outbound HTTP, plugin state and the core-import lint rule #3573 (comment): "
⚠️ Review output was invalid and could not be displayed safely." with no reason, still followed by the "Next step: Comment/fix…" block, no error marker, and the parent comment counts it as "Posted 2 reviews". [3442 by Claude Opus 5.5] Flag automation runs that repeat the same report or act without changing anything #3454 (comment): "❌ Review failed: " followed by nothing. - Failure comments leak internals and repeat. [3475 by Claude Opus 5.5] Let an automation run when an epic queue issue becomes blocked #3523: "Agent execution failed: Failed to authenticate. API Error: 403 Attention Required! | Cloudflare" then "Comment ID: 0✓ / Please check the logs for more details." Issue Compute one PR status and show it live at the top of the PR body #3529: "LLM Model: ", "Tokens used: 17.94M … API cost: $0.00", log paths under
/usr/src/app/logs/executions/…. Issue Defer jobs whose agent is at its ceiling instead of holding a worker, and charge the actual direct agent #3479: "Claude process exited with code 132 after reporting a successful result". [Epic] Integration signals #3495: four identical "❌ Failed to resolve merge conflicts …" comments in 16 minutes with no task link. - Every ProPR PR body permanently carries a debug block (66 of 77 bodies): "Detailed Logs: Conversation: 85 messages / Session:
<uuid>/ Log files stored at:/usr/src/app/logs/executions/issue-3582-…-conversation.json" plus a "Latest Conversation Messages" block that beginsASSISTANT: [content unavailable](65 of 77) and repeats the start of the summary. - CI-failure comments fan out. 101 "CI failed" comments on 36 PRs; 19 of 65 failing commits got more than one, up to 8 in 66 seconds ([3431 by Claude Opus 5.5] Add a "blocked" run outcome so a run that stops to report a blocker is not reported as done #3434, commit 91f89c3). The aggregate job "Run Full Test Suite" is reported next to its own failing shard. In the comment the "Commit:" link text is a SHA but points to the job run. 29 follow-up runs triggered by these comments changed nothing ("ℹ️ Analyzed the follow-up request by @propr-dev[bot]").
- Rate-limit notices contradict themselves and retries fire at once (issue Official plugin: Linear (start work from a ticket, keep the ticket in sync) #3556, 2026-11-16 16:57–18:02 UTC): four "⌛ Rate Limit Reached" comments in 11 minutes, each saying "The task will automatically resume after the rate limit resets" while the task restarted 6–50 seconds later; "weekly limit · resets Nov 18, 4pm (UTC)" next to "Reset time: 5:02 PM UTC"; "6:02 PM UTC (in approximately 2 hours)" then "6:02 PM UTC (in less than an hour)" four minutes later. After PR [3556 by Claude Opus 5.5] Official plugin: Linear (start work from a ticket, keep the ticket in sync) #3587 was created and the issue labelled
AI-done, three more "AI processing has started" comments appeared within 8 seconds for the finished issue, and one cancel produced three identical "🛑 Execution Cancelled" comments in 5 seconds. - Labels and ids.
AIandllm-*labels are applied twice at creation on 22 of 77 PRs; closed issues keep bothAIandAI-done; 19 of the latest 200 task ids contain the literal-undefined-(e.g.pr-comments-batch-integry-propr-3611-6935101767-undefined-8fd6c7a5d56d).
Expected / acceptance criteria
- 1: a failed or invalid review comment states the reason in one sentence, carries the error marker, has no "Next step: /fix" block, and is not counted as a posted review.
- 2: failure comments give a one-sentence cause in plain words (provider authentication failed; the agent process stopped unexpectedly) and a link to the task; no "Comment ID: 0", no container log paths, no
<synthetic>model line, no upstream HTML titles. An identical failure comment is not posted again on the same PR for the same head within an hour; later identical failures update the existing comment with a count. - 3: PR bodies no longer contain the "Detailed Logs" paths or the "Latest Conversation Messages" block; a link to the task page replaces them.
- 4: at most one CI-failure comment per head commit (later failures of the same commit are added to it); an aggregate job is not listed when one of its own shards is listed; the "Commit:" link points to the commit; a CI-failure follow-up is not started when one for the same head is already queued or running.
- 5: a rate-limited task is retried once, not before the stated reset time; the notice shows one reset time, consistent with the limit named (weekly limit → the weekly reset); no start is issued for an issue that already has its PR and
AI-done; duplicate start/cancel comments within the same event are suppressed. Include a short account of the Official plugin: Linear (start work from a ticket, keep the ticket in sync) #3556 sequence in the PR description (what caused the concurrent retries) so the fix can be judged. - 6: labels are applied once;
AIis removed whenAI-doneis added; task ids never containundefined. - Tests for each point.
Implementation
Comment builders and posting are in src/jobs and packages/core/src/services (search for the quoted strings: Review output was invalid, Review failed, Detailed Logs, Latest Conversation Messages, CI failed, Rate Limit Reached, Execution Cancelled). The rate-limit retry scheduling is in the usage-limit retry job. For the -undefined- task ids find the id builder for PR comment batches.
Notes
ProPR runs on SQLite only: do not add code or tests for other databases. Ordinary task runs are one-shot: do not add mid-run interaction. If point 5 turns out to need a larger change than a guarded retry, implement the guards (no start after AI-done, single retry, consistent notice) and describe what is left.
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-53622/claude-opus-5-5-bot-comments-empty-failed-20261117-0706-x1n3616-epic-0-9-d8bissue-3622-20261117-0706-claude-opus-5-5-x1n🔍 Track Task Execution
I've implemented all six points from #3622. Typecheck and lint are cl…