Skip to content

[3622 by Claude Opus 5.5] Bot comments: empty failed-review shells, repeated failure and CI comments, internal paths in PR bodies, rate-limit notices that contradict themselves - #3654

Closed
propr-dev[bot] wants to merge 8 commits into
3616-epic-0-9-d8bfrom
3622/claude-opus-5-5-bot-comments-empty-failed-20261117-0706-x1n

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #3622

Branch: 3622/claude-opus-5-5-bot-comments-empty-failed-20261117-0706-x1n
Commits: ✅ Changes committed (f373c86)


AI Processing Completed

Execution Details:

Summary:
I've implemented all six points from #3622. Typecheck and lint are clean for root src/, core and shared. The 7 new test files and about 130 affected existing suites pass.

What caused the #3556 sequence (for the PR description)

I traced this from the issue's label timeline:

  1. 16:57:52 – The weekly-limit message resets Nov 18, 4pm (UTC) didn't match the reset parser, which only handled resets 4pm (UTC). It fell back to "next hour + 2 min", which produced "Reset time: 5:02 PM UTC" next to the weekly limit.
  2. Seconds later (6–50 s) – To mark the wait, ProPR added AI-waiting and removed AI-processing. The webhook handles that label event like any unrelated one: it reads the issue's current labels and admits it unless an exclusion label is present. The exclusion list had -processing, -done and -cancelled, but not -waiting (the poller does exclude it). So ProPR's own label swap started a new task. Each new task hit the limit again and scheduled one more delayed retry.
  3. "approximately 2 hours" then "less than an hour" – The same 6:02 PM reset was rounded with ceil in one notice and as "< 1 hour" in the next.
  4. 18:02, after AI-done and PR [3556 by Claude Opus 5.5] Official plugin: Linear (start work from a ticket, keep the ticket in sync) #3587 – The three delayed retries woke up. Each was a child of the original dispatch, holding a snapshot of the labels from before AI-done. The "a sibling model set AI-done, keep going" exemption let all three start. The later cancel stopped all three, and each posted its own "Execution Cancelled".

Changes by point

  1. Reviews: A failed or invalid review now states one reason, carries error="true", has no /fix block, links the task, and is counted as failed. The summary now reads "Posted 0 reviews, 1 failed".
  2. Failure comments: These now give a one-sentence cause ("Provider authentication failed.", "The agent process stopped unexpectedly.") plus a task link. Container paths, HTML titles, Comment ID: 0 and the <synthetic> model line are gone. An identical failure on the same PR and head within an hour updates the first comment with an occurrence count. This applies to merge-conflict, PR follow-up and issue failures. For follow-ups, the repeat's starting comment shrinks to a one-line pointer so its comment-ID receipts survive.
  3. PR bodies: The "Detailed Logs" paths and "Latest Conversation Messages" block are replaced by [View task details and logs](task page). The log files are still written.
  4. CI failures:
    • Each head commit gets one comment, and later failures of that commit are added to it.
    • An aggregate job such as "Run Full Test Suite" is dropped when one of its own shards is listed. This is matched by name.
    • The "Commit:" link now points to the commit.
    • When ProPR edits that comment, a follow-up already queued or running is no longer aborted and restarted.
  5. Rate limits:
    • -waiting is now in the webhook exclusion list.
    • Dated resets (resets Nov 18, 4pm (UTC)) now parse.
    • The notice shows one reset time tied to the named limit, an exact time remaining, and "Retry: once, at …". It no longer presents an estimate as the provider's reset time.
    • The retry is never scheduled before the stated reset.
    • A second task of the same issue run doesn't schedule another retry or post another notice.
    • A rate-limit retry skips an issue that already has AI-done.
    • Repeated start and cancel notices for the same event within 30 s are posted once.
  6. Labels and ids: PR labels are added only if missing, re-checked on each attempt. The -undefined- task ids came from comments with no updated_at; those ids now omit that part.

What's left

  • Point 5, "retried once": at most one retry is pending at a time per issue. A retry that hits the limit again schedules one more retry after the new reset; there is no hard cap of one in total.
  • Point 6, AI + AI-done: the current completion code already removes AI after adding AI-done, and I added a test for that. The closed issues showing both labels (e.g. Show epic progress in the epic PR's title and status block #3531) have the label order of an older code path. I didn't change behaviour here.
  • Point 4, duplicate follow-up runs: there is no separate queued/running check for CI follow-ups on a different code path. With one comment per head, the comment itself is the guard.
  • Start notice: two genuine restarts of the same agent, model and branch within 30 s would also share one start comment.

Things to know when reviewing

  • I changed six existing tests on purpose:
    • Three reviewCommentFormatter tests checked metadata using reviewer output that was invalid, which now renders as a failure, so they now use valid output.
    • ciFailureFollowup now counts only the per-check claim keys, because the new per-commit lock adds Redis calls.
    • taskSubmissionLifecycle and issueUsageLimitRetry mocks recorded the new comment lookup as a posted comment.
    • redactSecrets checked placeholders in the conversation preview, which is no longer published.
  • The commentEventHandler / followupAssignmentGate suites need GIT_CLONES_BASE_PATH and GIT_WORKTREES_BASE_PATH set here, because /tmp/git-processor is read-only in this container.
  • goalContinuation and processGoalJob failed after my parallel test runs left a half-migrated data/propr.test.sqlite. I moved it to /tmp/staledb, and both passed on rerun.
  • No visual previews: these changes are GitHub comment text, not app UI.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (26 files)
    • packages/core/src/claude/claudeHelpers.ts (+4/−3)
    • packages/core/src/daemon/issueDetection.ts (+8/−2)
    • packages/core/src/utils/github/logFiles.ts (+15/−32)
    • packages/core/src/utils/scheduling.ts (+28/−10)
    • packages/core/src/webhook/ciFailureFollowup.ts (+49/−89)
    • packages/core/src/webhook/ciFailureHeadComment.ts (added, +164/−0)
    • packages/core/src/webhook/ciFailureHeadPublication.ts (added, +146/−0)
    • packages/core/src/webhook/commentEventHandler.ts (+23/−2)
    • packages/shared/src/failureCause.ts (added, +50/−0)
    • packages/shared/src/index.ts (+2/−0)
    • packages/shared/src/usageLimitText.ts (added, +22/−0)
    • src/jobs/errorHandlers.ts (+44/−17)
    • src/jobs/failureCommentDedupe.ts (added, +205/−0)
    • src/jobs/issueJob/github.ts (+3/−1)
    • src/jobs/issueJob/worktree.ts (+5/−2)
    • src/jobs/issueJobHelpers.ts (+8/−23)
    • src/jobs/issueJobPostProcessing.ts (+9/−7)
    • src/jobs/prCommentFailureComment.ts (added, +66/−0)
    • src/jobs/prCommentJobUtils.ts (+6/−6)
    • src/jobs/prCommentReviewJob.ts (+3/−4)
    • src/jobs/prReviewRunner.ts (+7/−2)
    • src/jobs/processMergeConflictJob.ts (+8/−7)
    • src/jobs/pullRequestLabels.ts (added, +41/−0)
    • src/jobs/reviewCommentFormatter.ts (+43/−5)
    • src/jobs/reviewFindingNumberAllocator.ts (+2/−1)
    • src/jobs/reviewOutputParser.ts (+12/−0)
  • Low risk (14 files)
    • packages/shared/test/failureCause.test.ts (added, +43/−0)
    • test/ciFailureFollowup.test.ts (+4/−2)
    • test/ciFailureHeadComment.test.ts (added, +154/−0)
    • test/completionReportTaskLink.test.ts (added, +62/−0)
    • test/failureCommentDedupe.test.ts (added, +132/−0)
    • test/issueJobUnpublishableFailure.test.ts (+7/−5)
    • test/issueRateLimitRetryGuards.test.ts (added, +93/−0)
    • test/issueRestartAndLabelGuards.test.ts (added, +76/−0)
    • test/issueUsageLimitRetry.test.ts (+2/−1)
    • test/processMergeConflictJob.test.ts (+1/−0)
    • test/redactSecrets.test.ts (+3/−3)
    • test/reviewCommentFormatter.test.ts (+3/−3)
    • test/reviewFailureComment.test.ts (added, +80/−0)
    • test/taskSubmissionLifecycle.test.ts (+2/−0)

Validation evidence

  • No repository validation commands ran.

Diff size: 40 files changed, +1,635/−227 lines

Detailed Logs:

  • Conversation: 292 messages
  • Session: 20ecd582-6459-4cc4-93ab-a1471adc994d

Log files stored at:

  • conversation: /usr/src/app/logs/executions/issue-3622-2026-11-17T07-55-19-633Z-conversation.json
  • output: /usr/src/app/logs/executions/issue-3622-2026-11-17T07-55-19-633Z-output.txt
Latest Conversation Messages
ASSISTANT: [content unavailable]

ASSISTANT: I've implemented all six points from #3622. Typecheck and lint are clean for root `src/`, core and shared. The 7 new test files and about 130 affected existing suites pass.

## What caused the #3556 s...


This PR was created automatically by ProPR after processing issue #3622.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!

…ean for root `src/`, core and shared. The 7 new test files and about 130 affected existing suites pass.

What caused the #3556 sequence (for the PR description)
I traced this from the issue's label timeline:
1. 16:57:52 – The weekly-limit message `resets Nov 18, 4pm (UTC)` didn't match the reset parser, which only handled `resets 4pm (UTC)`. It fell back to "next hour + 2 min", which produced "Reset time: 5:02 PM UTC" next to the weekly limit.
2. Seconds later (6–50 s) – To mark the wait, ProPR added `AI-waiting` and removed `AI-processing`. The webhook handles that label event like any unrelated one: it reads the issue's current labels and admits it unless an exclusion label is present. The exclusion list had `-processing`, `-done` and `-cancelled`, but not `-waiting` (the poller does exclude it). So ProPR's own label swap started a new task. Each new task hit the limit again and scheduled one more delayed retry.
3. "approximately 2 hours" then "less than an hour" – The same 6:02 PM reset was rounded with `ceil` in one notice and as "< 1 hour" in the next.
4. 18:02, after `AI-done` and PR #3587 – The three delayed retries woke up. Each was a child of the original dispatch, holding a snapshot of the labels from before `AI-done`. The "a sibling model set AI-done, keep going" exemption let all three start. The later cancel stopped all three, and each posted its own "Execution Cancelled".

Changes by point
1. Reviews: A failed or invalid review now states one reason, carries `error="true"`, has no `/fix` block, links the task, and is counted as failed. The summary now reads "Posted 0 reviews, 1 failed".
2. Failure comments: These now give a one-sentence cause ("Provider authentication failed.", "The agent process stopped unexpectedly.") plus a task link. Container paths, HTML titles, `Comment ID: 0` and the `<synthetic>` model line are gone. An identical failure on the same PR and head within an hour updates the first comment with an occurrence count. This applies to merge-conflict, PR follow-up and issue failures. For follow-ups, the repeat's starting comment shrinks to a one-line pointer so its comment-ID receipts survive.
3. PR bodies: The "Detailed Logs" paths and "Latest Conversation Messages" block are replaced by `[View task details and logs](task page)`. The log files are still written.
4. CI failures:
   - Each head commit gets one comment, and later failures of that commit are added to it.
   - An aggregate job such as "Run Full Test Suite" is dropped when one of its own shards is listed. This is matched by name.
   - The "Commit:" link now points to the commit.
   - When ProPR edits that comment, a follow-up already queued or running is no longer aborted and restarted.
5. Rate limits:
   - `-waiting` is now in the webhook exclusion list.
   - Dated resets (`resets Nov 18, 4pm (UTC)`) now parse.
   - The notice shows one reset time tied to the named limit, an exact time remaining, and "Retry: once, at …". It no longer presents an estimate as the provider's reset time.
   - The retry is never scheduled before the stated reset.
   - A second task of the same issue run doesn't schedule another retry or post another notice.
   - A rate-limit retry skips an issue that already has `AI-done`.
   - Repeated start and cancel notices for the same event within 30 s are posted once.
6. Labels and ids: PR labels are added only if missing, re-checked on each attempt. The `-undefined-` task ids came from comments with no `updated_at`; those ids now omit that part.

What's left
- Point 5, "retried once": at most one retry is pending at a time per issue. A retry that hits the limit again schedules one more retry after the new reset; there is no hard cap of one in total.
- Point 6, `AI` + `AI-done`: the current completion code already removes `AI` after adding `AI-done`, and I added a test for that. The closed issues showing both labels (e.g. #3531) have the label order of an older code path. I didn't change behaviour here.
- Point 4, duplicate follow-up runs: there is no separate queued/running check for CI follow-ups on a different code path. With one comment per head, the comment itself is the guard.
- Start notice: two genuine restarts of the same agent, model and branch within 30 s would also share one start comment.

Things to know when reviewing
- I changed six existing tests on purpose:
  - Three `reviewCommentFormatter` tests checked metadata using reviewer output that was invalid, which now renders as a failure, so they now use valid output.
  - `ciFailureFollowup` now counts only the per-check claim keys, because the new per-commit lock adds Redis calls.
  - `taskSubmissionLifecycle` and `issueUsageLimitRetry` mocks recorded the new comment lookup as a posted comment.
  - `redactSecrets` checked placeholders in the conversation preview, which is no longer published.
- The `commentEventHandler` / `followupAssignmentGate` suites need `GIT_CLONES_BASE_PATH` and `GIT_WORKTREES_BASE_PATH` set here, because `/tmp/git-processor` is read-only in this container.
- `goalContinuation` and `processGoalJob` failed after my parallel test runs left a half-migrated `data/propr.test.sqlite`. I moved it to `/tmp/staledb`, and both passed on rerun.
- No visual previews: these changes are GitHub comment text, not app UI.
@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

/ultrafix goal=8 max=6
Triggered automatically by the requested execution settings.

@propr-dev propr-dev Bot added the ultrafix label Nov 17, 2026
@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

🔄 Ultrafix loop started (goal: 8/10, max cycles: 6)

First action: /review

💡 Tip: Remove the ultrafix label from this PR to stop further ultrafix cycles.

@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR improves failure reporting, review classification, and CI comment consolidation, but needs changes before merge: its new deduplication paths still permit duplicate work or lost updates under concurrent execution.

✅ Invalid reviews become failures — Invalid output receives the error marker, omits /fix instructions, and is counted as failed by runSingleReview.

✅ Retry completion guard — Rate-limit retries no longer use the dispatch-sibling exemption to continue past an existing done label.

✅ Cleaner completion reports — Public log paths and conversation previews are replaced with task links while log creation remains intact.

This assessment uses static analysis of the supplied diff and context; no commands were run. The authoritative check summary reports no failures and five pending checks.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F1: 🔴 Retry deduplication is not atomic

  • Category: correctness

  • Required behavior: Concurrent tasks for the same issue run must not schedule multiple pending rate-limit retries.

  • Evidence: src/jobs/errorHandlers.ts, findOtherPendingIssueRetry and the new guard in handleUsageLimitError.

    1. Two tasks for the same repository, issue, agent, model, and branch encounter a usage limit with different correlation IDs—the same situation modeled sequentially by the new test.
    2. Both await queue.getDelayed() before either has scheduled its retry. Each receives a snapshot without the other's retry.
    3. Both pass the new guard and continue into the existing notice and scheduling path.
    4. Their retry IDs retain distinct attempt suffixes, so both delayed jobs can remain queued, producing duplicate notices and subsequent executions.

    No shared claim surrounds the scan and scheduling operation. Queue job-ID deduplication cannot collapse distinct attempt IDs. The added test awaits the first handler before invoking the second, so it does not exercise this sequence. Verification provenance: static trace.

  • Minimum fix: Atomically claim retry ownership for the intended issue-run identity before posting its notice or scheduling work, with recovery or release when scheduling fails. Add a concurrent regression that holds both callers at the initial lookup.

F2: 🔴 Comment deduplication races across workers

  • Category: correctness

  • Required behavior: Repeated failures and start/cancel notices from concurrent tasks must collapse into the promised single notice with an accurate occurrence count.

  • Evidence: src/jobs/failureCommentDedupe.ts, publishFailureComment and postNoticeOnce.

    1. Cancellation stops several issue tasks, and two tasks call postNoticeOnce for issue-cancelled.
    2. Both await the comments GET before either POST completes. Neither response contains the marker.
    3. Both POST the cancellation notice, leaving the duplicate comments this change is intended to prevent.
    4. The sibling failure path has the same read-before-write problem: two publishFailureComment calls can both find no previous failure and publish separate comments. If both instead read an existing count of one, both PATCH a count of two, losing an occurrence.

    The GitHub marker preserves state across restarts but does not serialize concurrent callers. There is no lock or claim in either helper, and the supplied tests invoke repetitions sequentially. Verification provenance: static trace.

  • Minimum fix: Serialize lookup and publication by repository, issue, and deduplication key across workers. Perform the occurrence-count read inside that serialization boundary, and cover concurrent first publication and concurrent increments.

F3: 🔴 Lock timeout permits concurrent CI publication

  • Category: correctness

  • Required behavior: Publication for a PR head must remain serialized so failures merge into one comment without overwriting each other.

  • Evidence: packages/core/src/webhook/ciFailureHeadPublication.ts, withHeadLock, particularly the unconditional return await work() after acquisition fails.

    1. Publisher A acquires the 30-second head lock and begins an awaited GitHub lookup or publication.
    2. Publisher B handles a different failing check on the same head. Its separate per-source claim succeeds, but its head-lock attempts fail.
    3. At 15 seconds, while A's lock is still valid, B exits the acquisition loop and explicitly executes publication without the lock.
    4. If A's initial POST has not completed, B can also find no comment and POST another. If an existing comment is being updated, both can read the same body and PATCH different merged versions, losing one check's evidence.

    The interruption window is the awaited GitHub operation inside A's protected work. This does not require lease expiry: the configured wait deadline is shorter than the lock TTL, and B deliberately bypasses the still-held lock. Per-source claims protect individual checks, not competing checks on one head. Verification provenance: static trace; the supplied concurrent test does not exercise lock-acquisition timeout.

  • Minimum fix: On lock contention timeout, defer or throw instead of publishing unlocked, allowing the caller's existing error cleanup to release the per-source claim for retry. Ensure ownership remains valid throughout publication, and test contention with an already-held lock.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Consolidate failure sentence formatting

reviewCommentFormatter.ts adds summarizeReviewFailure alongside the new shared describeFailureCause. Their path filtering, length limits, and treatment of provider errors already differ. Sharing the basic sanitization would reduce drift while retaining review-specific fallback wording. This is optional cleanup; separate review wording does not itself prevent merge.

Score

The reporting improvements are useful, but concurrent deduplication remains incorrect in three changed paths. The current checks show no failures, though five remain pending.

Score: 5/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 58s
  • Tokens: 84,583 (82,944 in / 1,639 out)
  • Cost: $0.80

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F1 F2 F3 S1

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 8c6f508

Addressed 1 AI review comment (IDs: 6942328532)

Addressed findings F1, F2, F3

Summary of Changes

I've fixed F1, F2 and F3. Each check-then-write now runs under a lock that also holds across workers. A caller that can't get the lock throws instead of going ahead without it. Typecheck and lint are clean for root and core. The new regressions fail on the old code and pass now, and the related existing suites pass.

Shared lock (new src/jobs/issueCommentLock.ts)

  • One process queues its own callers on the same key. Across workers it holds a Redis lock that expires after 30 s and is renewed while the work runs.
  • Before each GitHub write or queue add, the work confirms it still owns the lock (assertHeld()); if it has lost it, it throws.
  • A waiter gives up after 45 s, longer than the 30 s expiry, so only a holder that is still alive and renewing can make it time out. It then throws.
  • The worker passes the issue-job Redis connection to the lock at startup (src/worker.ts).

F1 – rate-limit retry: handleUsageLimitError now takes the lock for the issue run before it does anything: the pending-retry lookup, the label swap, the notice and the scheduling. A second task of the run waits, then sees the first task's retry and skips. The lock is released when the handler returns or throws. If scheduling fails, no retry is left behind and the next task can claim again.

F2 – failure comments and notices: publishFailureComment and postNoticeOnce now run their lookup, count and publication under the lock. The lock is per repository, issue and dedupe key. The occurrence count is read inside the lock.

F3 – CI head lock: withHeadLock no longer publishes without the lock.

  • If the wait times out, it throws CiFailureHeadLockTimeoutError. The caller's existing cleanup then releases the per-check claim, so that failure can be delivered again.
  • A Redis error while acquiring now throws instead of going ahead unlocked.
  • The wait is now 40 s, longer than the lock's 30 s expiry. The lock is renewed during the work, and both the update and the new-comment post check it is still held first. Each retry of the post checks again.
  • A Redis error while renewing only counts as losing the lock once it has expired, as in pullRequestBodyLock.

Regression tests

  • test/issueRateLimitRetryGuards.test.ts:
    • two tasks hit the limit at once and both reach the lookup before either schedules
    • a claim held by another worker makes the task wait, then see that worker's retry
    • a claim held for the whole wait throws
    • a failed scheduling releases the claim
  • test/failureCommentDedupe.test.ts:
    • concurrent first publication leaves one comment with count 3
    • concurrent repeats add to the count correctly (4)
    • a cancel notice from three tasks at once is posted once
    • a lock held by another worker is waited for, or times out without posting
    • a lock taken over during the lookup stops the post
  • test/ciFailureHeadComment.test.ts:
    • a lock already held makes a different failing check throw with no extra comment or edit; its claim is released and a redelivery merges into the one comment
    • a lock lost before writing means nothing is written

My first concurrent F1 test passed even without the fix, because its fake lookup read the queue after its delay. It now takes the snapshot first, as in the finding.

Limits that remain

  • GitHub writes can't be fenced by Redis. If a lock lapses during a single slow GitHub request, that one write is not protected; this is the same window pullRequestBodyLock documents.
  • GitHub's comment list can briefly lag a POST that just finished; that external race isn't something the lock can close.
  • On a lock timeout, a failure comment or notice is now not posted (callers log the error) rather than posted twice.
  • A rate-limit timeout fails the job, the same way the existing "Unable to persist" error does.
  • Without a Redis connection set, for example in unit tests, the lock only serializes callers in the same process.

Nothing in these changes is visible in a UI, so there are no previews.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (6 files)
    • packages/core/src/webhook/ciFailureFollowup.ts (+1/−1)
    • packages/core/src/webhook/ciFailureHeadPublication.ts (+88/−16)
    • src/jobs/errorHandlers.ts (+22/−1)
    • src/jobs/failureCommentDedupe.ts (+23/−5)
    • src/jobs/issueCommentLock.ts (added, +125/−0)
    • src/worker.ts (+4/−0)
  • Low risk (3 files)
    • test/ciFailureHeadComment.test.ts (+47/−0)
    • test/failureCommentDedupe.test.ts (+118/−4)
    • test/issueRateLimitRetryGuards.test.ts (+89/−1)

Validation evidence

  • No repository validation commands ran.

Diff size: 9 files changed, +517/−28 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-ultrafix
  • Time: 19m 40s
  • Tokens: 4,929,910 (4,892,289 in / 37,621 out)
  • Cost: $2.30
  • Subscription usage: Weekly +1%

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR

…der a lock that also holds across workers. A caller that can't get the lock throws instead of going ahead without it. Typecheck and lint are clean for root and core. The new regressions fail on the old code and pass now, and the related existing suites pass.

I've fixed F1, F2 and F3. Each check-then-write now runs under a lock that also holds across workers. A caller that can't get the lock throws instead of going ahead without it. Typecheck and lint are clean for root and core. The new regressions fail on the old code and pass now, and the related existing suites pass.

**Shared lock (new `src/jobs/issueCommentLock.ts`)**
- One process queues its own callers on the same key. Across workers it holds a Redis lock that expires after 30 s and is renewed while the work runs.
- Before each GitHub write or queue add, the work confirms it still owns the lock (`assertHeld()`); if it has lost it, it throws.
- A waiter gives up after 45 s, longer than the 30 s expiry, so only a holder that is still alive and renewing can make it time out. It then throws.
- The worker passes the issue-job Redis connection to the lock at startup (`src/worker.ts`).

**F1 – rate-limit retry:** `handleUsageLimitError` now takes the lock for the issue run before it does anything: the pending-retry lookup, the label swap, the notice and the scheduling. A second task of the run waits, then sees the first task's retry and skips. The lock is released when the handler returns or throws. If scheduling fails, no retry is left behind and the next task can claim again.

**F2 – failure comments and notices:** `publishFailureComment` and `postNoticeOnce` now run their lookup, count and publication under the lock. The lock is per repository, issue and dedupe key. The occurrence count is read inside the lock.

**F3 – CI head lock:** `withHeadLock` no longer publishes without the lock.
- If the wait times out, it throws `CiFailureHeadLockTimeoutError`. The caller's existing cleanup then releases the per-check claim, so that failure can be delivered again.
- A Redis error while acquiring now throws instead of going ahead unlocked.
- The wait is now 40 s, longer than the lock's 30 s expiry. The lock is renewed during the work, and both the update and the new-comment post check it is still held first. Each retry of the post checks again.
- A Redis error while renewing only counts as losing the lock once it has expired, as in `pullRequestBodyLock`.

**Regression tests**
- `test/issueRateLimitRetryGuards.test.ts`:
  - two tasks hit the limit at once and both reach the lookup before either schedules
  - a claim held by another worker makes the task wait, then see that worker's retry
  - a claim held for the whole wait throws
  - a failed scheduling releases the claim
- `test/failureCommentDedupe.test.ts`:
  - concurrent first publication leaves one comment with count 3
  - concurrent repeats add to the count correctly (4)
  - a cancel notice from three tasks at once is posted once
  - a lock held by another worker is waited for, or times out without posting
  - a lock taken over during the lookup stops the post
- `test/ciFailureHeadComment.test.ts`:
  - a lock already held makes a different failing check throw with no extra comment or edit; its claim is released and a redelivery merges into the one comment
  - a lock lost before writing means nothing is written

My first concurrent F1 test passed even without the fix, because its fake lookup read the queue after its delay. It now takes the snapshot first, as in the finding.

**Limits that remain**
- GitHub writes can't be fenced by Redis. If a lock lapses during a single slow GitHub request, that one write is not protected; this is the same window `pullRequestBodyLock` documents.
- GitHub's comment list can briefly lag a POST that just finished; that external race isn't something the lock can close.
- On a lock timeout, a failure comment or notice is now not posted (callers log the error) rather than posted twice.
- A rate-limit timeout fails the job, the same way the existing "Unable to persist" error does.
- Without a Redis connection set, for example in unit tests, the lock only serializes callers in the same process.

Nothing in these changes is visible in a UI, so there are no previews.

PR: #3654
Comment by: @propr-ultrafix (ID: 0)
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR improves failure reporting and adds meaningful deduplication guards, but needs changes before merge: comment lookup failures can still produce duplicate CI follow-ups, and failure deduplication trusts markers in comments without verifying their author.

✅ Invalid reviews become failures — Invalid output receives an error marker, omits /fix instructions, and is counted as failed by the review runner.

✅ Retry admission guards — Waiting labels now prevent fresh admission, and delayed rate-limit retries cannot use the sibling exemption to bypass AI-done.

✅ Task links replace internal logs — Completion reports preserve log creation while removing public filesystem paths and conversation previews.

This was a static review of the supplied code; no commands were run. Current checks show 23 passed, none failed, and one pending.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F4: 🔴 Verify authors before trusting deduplication markers

  • Category: correctness

  • Required behavior: Failure and notice deduplication must recognize ProPR’s own publications without allowing unrelated comments to suppress or break reporting.

  • Evidence: src/jobs/failureCommentDedupe.ts, findRecentFailureComment, publishFailureCommentLocked, and postNoticeOnceLocked.

    1. A person copies an earlier failure comment’s Markdown, including its hidden marker, into a new comment—for example, when reporting the repeated failure.
    2. Another failure with the same key occurs within the window. findRecentFailureComment searches comments in reverse order and selects the copied comment without checking its author.
    3. publishFailureCommentLocked attempts to edit that person’s comment. GitHub rejects editing another author’s comment, and this function neither selects the genuine bot comment nor falls back to publishing the failure.
    4. The follow-up and merge-conflict callers catch the publication error and only log it, leaving the new starting comment without its failure result.

    The notice path has the same trust gap: any recent comment containing a copied notice marker suppresses the actual notice. Locks serialize these decisions but do not authenticate the selected comment.

    static trace: both lookup predicates inspect marker content and timestamps only; IssueCommentSummary does not even retain author information. The CI comment scanner in ciFailureHeadPublication.ts already demonstrates an author-filtered lookup.

  • Minimum fix: Retain comment author identity and accept deduplication markers only from trusted ProPR bot authors in both lookup paths. Add regression coverage for a copied marker in a human-authored comment.

F5: 🔴 Do not treat failed CI lookup as absence

  • Category: correctness

  • Required behavior: Failures belonging to one head commit must accumulate in one comment, preventing additional follow-up tasks for that head.

  • Evidence: packages/core/src/webhook/ciFailureHeadPublication.ts, findHeadComment and publishHeadFailure.

    1. Check A fails and creates the head’s CI-failure comment; its follow-up is queued.
    2. Check B fails on the same head. Its distinct per-source claim succeeds, and it acquires the head lock.
    3. Reading the remembered comment fails transiently, and the fallback comment scan also fails. publishHeadFailure catches the lookup error and leaves existing as null.
    4. The subsequent POST succeeds, creating a second CI-failure comment for the same head.

    That second comment can initiate another follow-up: the edit guard applies to edits of the original comment, not creation of a new comment. The head lock prevents concurrent publication but cannot make an unsuccessful lookup prove absence; the per-source claim distinguishes A from B and therefore does not prevent this sequence.

    static trace: findHeadComment falls through after a remembered-ID read error, and publishHeadFailure explicitly continues to creation after the scan throws.

  • Minimum fix: Distinguish confirmed absence from lookup failure. Propagate or retry lookup failures without posting, allowing the existing outer error handling to release the per-source claim for recovery. Test an existing head comment followed by failed reads and a later successful recovery.

Suggestions

These are optional follow-ups and are not sent to /fix.

S2: 🟢 Consolidate lease implementation

src/jobs/issueCommentLock.ts and packages/core/src/webhook/ciFailureHeadPublication.ts independently implement acquisition, renewal, ownership checks, deadlines, and conditional release. A shared internal lease helper could reduce maintenance drift. This is optional cleanup: both publication domains need serialization, and consolidation is not necessary to fix the findings above.

S3: 🟢 Exercise queued CI comment updates

Add an integration test where a second failure edits the CI comment while its original JSON remains in the pending batch. The new edit guard returns without updating that JSON, while the supplied pending consumer reads stored entries. Verify that the eventual agent request receives the latest failure evidence. The supplied excerpts do not establish whether another stage refreshes the comment, so this remains a verification follow-up rather than a proven blocker.

Score

The implementation has useful focused coverage and passing current checks, but two publication defects undermine its central deduplication behavior. Both admit localized corrections.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 38s
  • Tokens: 92,619 (90,955 in / 1,664 out)
  • Cost: $0.86

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F4 F5 S2 S3

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

❌ ProPR could not start on /fix

The job failed 3 times before processing began:

API rate limit exceeded for installation ID 68212616. If you reach out to GitHub Support for help, please include the request ID C5D6:12810E:7984C:CD3D0:6AFC14A4 and timestamp 2026-11-17 08:47:35 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) - https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api#rate-limiting

Post the command again once the cause is resolved.

@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR improves failure reporting, review accounting, and retry coordination, but needs changes before merge: CI comment aggregation can still create duplicate comments during lookup failures and discard updates to queued work.

✅ Failed-review accounting — Invalid output receives an error marker, omits /fix instructions, and returns success: false to completion reporting.

✅ Retry admission guards — Waiting issues are excluded from admission, and delayed rate-limit retries cannot bypass an existing done label.

✅ Concurrency coverage — New tests exercise concurrent publication, lock contention, and ownership loss. Current-head checks report 24 passed, none failed or pending.

This is a static review of the supplied code; no commands were run.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F6: 🔴 Preserve queued CI comment updates

  • Category: correctness

  • Required behavior: Aggregating later failures must preserve their evidence for queued follow-up work while avoiding unnecessary restarts.

  • Evidence: packages/core/src/webhook/commentEventHandler.ts:handleCommentEdited, newly added isPendingBatchComment early return.

    1. A CI failure comment is stored in the pending-comments Redis list.
    2. Another check fails on the same head; publishHeadFailure edits the GitHub comment to include that failure.
    3. The edit handler finds the comment ID in the pending list and returns without updating its stored contents.
    4. pickUpPendingCommentsWithClaim subsequently claims that existing JSON and passes it to processPendingComments.

    The pending batch retains the original evidence even though GitHub now contains additional failures. The new guard suppresses the event that would deliver the revised comment. Serialization of GitHub publication does not update this separate Redis snapshot.

    static trace: The changed early return and supplied prPendingComments.ts:37–56 establish that the pending record is left unchanged and then consumed. proposed regression: Queue a one-check comment, edit it to contain a second check, and verify the claimed pending record contains both.

  • Minimum fix: Update the matching pending record with the latest body and revision before suppressing the edit, coordinating with pending-list claiming so an update cannot be silently lost.

F7: 🔴 Do not publish after inconclusive lookup

  • Category: correctness

  • Required behavior: Later CI failures on the same head must update its existing comment instead of creating additional comments and follow-up triggers.

  • Evidence: packages/core/src/webhook/ciFailureHeadPublication.ts:publishHeadFailure, lookup-error catch before the new-comment branch.

    1. Check A creates the head’s CI-failure comment.
    2. Check B fails on the same head and successfully obtains its distinct per-source claim and the head lock.
    3. Reading the remembered comment fails transiently; the fallback comment scan also fails.
    4. publishHeadFailure catches the lookup error, leaves existing as null, and posts a second comment when the subsequent write succeeds.

    The second comment independently triggers follow-up processing. The head lock serializes publishers but cannot distinguish an absent comment from an unreadable one. The per-source claim also does not help because A and B are different sources. The edit-handler guard cannot prevent this outcome because the operation creates a comment.

    static trace: findHeadComment falls back after a failed remembered-ID read, its scan error reaches the catch in publishHeadFailure, and execution proceeds directly to POST. proposed regression: Seed an existing head comment, fail both lookup routes for the next source, and assert no second POST occurs.

  • Minimum fix: Propagate an inconclusive lookup failure so the per-source claim is released for recovery. Create a comment only after a successful lookup establishes absence.

Suggestions

These are optional follow-ups and are not sent to /fix.

S4: 🟢 Consolidate lease implementations

issueCommentLock.ts and ciFailureHeadPublication.ts implement similar acquisition, renewal, ownership checking, and release logic. A later cleanup could share the lease mechanics to reduce maintenance drift. This is optional because their duplication does not itself establish an additional correctness failure.

Score

The reporting improvements and passing checks are valuable, but two CI aggregation failure paths remain merge blockers. Both admit localized corrections.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 20s
  • Tokens: 92,062 (90,588 in / 1,474 out)
  • Cost: $0.87

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F6 F7 S4

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 292f212

Addressed 2 AI review comments (IDs: 6943211556, 6943387776)

Addressed findings F4, F5, F6, F7

Summary of Changes

I've fixed F4, F5, F6 and F7. Typecheck and zero-warning lint are clean for root src/ and core. About 45 affected suites pass. Each new regression for a failure path fails on the old code and passes now.

F4 – markers only count on ProPR's own comments (src/jobs/failureCommentDedupe.ts)

  • Comment summaries now keep the author. Both lookups (the failure count and the start/cancel notice) skip comments not written by one of ProPR's bot accounts, compared without case. This uses the same login set as the CI comment scan.
  • @propr/core is imported as a namespace. Eleven root test suites mock that module with a fixed list of exports, and a plain named import stopped them loading. If the function is missing they fall back to GITHUB_BOT_USERNAME and propr-dev[bot].
  • New tests cover three cases:
    • A person's copy of the failure comment doesn't take the count, and the real bot comment is updated. The test fake now rejects edits to another author's comment, as GitHub does.
    • A copied marker on its own doesn't stop a new failure comment from being posted.
    • A copied notice marker doesn't suppress the notice.

F5 / F7 – a failed lookup is not treated as "no comment" (packages/core/src/webhook/ciFailureHeadPublication.ts)

  • findHeadComment now returns null only when absence is confirmed: the remembered comment returned 404 or 410, and the full comment scan finished.
  • If the scan fails, or the remembered comment can't be read and no scan is possible, it throws CiFailureHeadLookupError. publishHeadFailure no longer catches that error. The existing outer handler releases the per-source claim, so the failure is delivered again, and nothing is posted.
  • If only the remembered read fails, a completed scan still decides.
  • New tests: a comment exists, both reads then fail, and no second comment is posted while the claim is released; the redelivery then merges into the one comment. Two more cover a failed remembered read with a working scan, and a failed read with no scan available.

F6 – queued CI comments pick up later failures (new packages/core/src/webhook/pendingCommentRefresh.ts, used from handleCommentEdited)

  • When ProPR edits a CI-failure comment that is waiting in the pending list, the waiting record is updated before the edit is dropped. It gets the new body with the marker and trigger keywords stripped, the admission proof and parent hint, and updated_at.
  • The write only succeeds if the record hasn't changed since it was read, checked in a Redis script, and it retries up to 5 times.
  • If the batch has already claimed the record, or the list can't be read, the edit is processed normally, so the new failure isn't lost.
  • An older edit that arrives late doesn't overwrite a newer one.
  • New tests: a one-check comment edited to two checks is picked up with both, and a stale edit doesn't undo a newer one. A record claimed just before the edit leads to the edit being processed normally rather than dropped.

Found separately, not changed: the same early return also applies when the CI comment belongs to a BullMQ job that is still queued and hasn't started. That job keeps the comment body from when it was queued. Updating it would mean changing the job's data, which can race with a worker picking the job up, so I left it. The worker does swap in the current GitHub body when the comment's updated_at changed after queueing, but only for records that carry updated_at.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (4 files)
    • packages/core/src/webhook/ciFailureHeadPublication.ts (+65/−24)
    • packages/core/src/webhook/commentEventHandler.ts (+23/−5)
    • packages/core/src/webhook/pendingCommentRefresh.ts (added, +97/−0)
    • src/jobs/failureCommentDedupe.ts (+28/−4)
  • Low risk (3 files)
    • test/ciFailureHeadComment.test.ts (+57/−1)
    • test/commentEventHandler.switch-use.test.ts (+93/−1)
    • test/failureCommentDedupe.test.ts (+53/−3)

Validation evidence

  • No repository validation commands ran.

Diff size: 7 files changed, +416/−38 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-ultrafix
  • Time: 29m 3s
  • Tokens: 4,984,417 (4,950,769 in / 33,648 out)
  • Cost: $2.26
  • Subscription usage: Weekly +2%, Fable +3%

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR

…nt are clean for root `src/` and core. About 45 affected suites pass. Each new regression for a failure path fails on the old code and passes now.

I've fixed F4, F5, F6 and F7. Typecheck and zero-warning lint are clean for root `src/` and core. About 45 affected suites pass. Each new regression for a failure path fails on the old code and passes now.

**F4 – markers only count on ProPR's own comments** (`src/jobs/failureCommentDedupe.ts`)
- Comment summaries now keep the author. Both lookups (the failure count and the start/cancel notice) skip comments not written by one of ProPR's bot accounts, compared without case. This uses the same login set as the CI comment scan.
- `@propr/core` is imported as a namespace. Eleven root test suites mock that module with a fixed list of exports, and a plain named import stopped them loading. If the function is missing they fall back to `GITHUB_BOT_USERNAME` and `propr-dev[bot]`.
- New tests cover three cases:
  - A person's copy of the failure comment doesn't take the count, and the real bot comment is updated. The test fake now rejects edits to another author's comment, as GitHub does.
  - A copied marker on its own doesn't stop a new failure comment from being posted.
  - A copied notice marker doesn't suppress the notice.

**F5 / F7 – a failed lookup is not treated as "no comment"** (`packages/core/src/webhook/ciFailureHeadPublication.ts`)
- `findHeadComment` now returns `null` only when absence is confirmed: the remembered comment returned 404 or 410, and the full comment scan finished.
- If the scan fails, or the remembered comment can't be read and no scan is possible, it throws `CiFailureHeadLookupError`. `publishHeadFailure` no longer catches that error. The existing outer handler releases the per-source claim, so the failure is delivered again, and nothing is posted.
- If only the remembered read fails, a completed scan still decides.
- New tests: a comment exists, both reads then fail, and no second comment is posted while the claim is released; the redelivery then merges into the one comment. Two more cover a failed remembered read with a working scan, and a failed read with no scan available.

**F6 – queued CI comments pick up later failures** (new `packages/core/src/webhook/pendingCommentRefresh.ts`, used from `handleCommentEdited`)
- When ProPR edits a CI-failure comment that is waiting in the pending list, the waiting record is updated before the edit is dropped. It gets the new body with the marker and trigger keywords stripped, the admission proof and parent hint, and `updated_at`.
- The write only succeeds if the record hasn't changed since it was read, checked in a Redis script, and it retries up to 5 times.
- If the batch has already claimed the record, or the list can't be read, the edit is processed normally, so the new failure isn't lost.
- An older edit that arrives late doesn't overwrite a newer one.
- New tests: a one-check comment edited to two checks is picked up with both, and a stale edit doesn't undo a newer one. A record claimed just before the edit leads to the edit being processed normally rather than dropped.

**Found separately, not changed:** the same early return also applies when the CI comment belongs to a BullMQ job that is still queued and hasn't started. That job keeps the comment body from when it was queued. Updating it would mean changing the job's data, which can race with a worker picking the job up, so I left it. The worker does swap in the current GitHub body when the comment's `updated_at` changed after queueing, but only for records that carry `updated_at`.

PR: #3654
Comment by: @propr-ultrafix (ID: 0)
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Full Test Suite Shard 1/4

Please investigate and fix this CI failure.

  • Check: Full Test Suite Shard 1/4
  • Result: failure
  • Commit: 292f212a81e9 (292f212a81e9e2cb4c85c2af8ebd1a8a80679266)
  • Details: View CI failure

Failure evidence

.github:11
Process completed with exit code 1.

.github:38618
Process completed with exit code 1.

.github:2
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@11d5960. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

@github-actions

Copy link
Copy Markdown

Full Test Suite Results

Validation failed during: Test shard (shard 1).

  • Dependency install: success
  • Workspace build: success
  • Docs validation: success
  • Shard coverage verification: success
  • Hosted native Electron units: skipped (classifier decision: false)
  • Shard 1/4: failed during Test shard in 804.8s on GitHub Actions 1000125704
    • packages/api/test/mcpTunnelMode.test.ts: exit 1
  • Shard 2/4: passed in 1274.1s on GitHub Actions 1000125705
  • Shard 3/4: passed in 918.7s on GitHub Actions 1000125702
  • Shard 4/4: passed in 881.0s on GitHub Actions 1000125703
View shard 1/4 output
...(truncated)

91�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m opens the highlighted task on GitHub with Cmd+Enter�[33m 327�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m previews a plan with its objective, the owner-stripped repo, and a status pill�[33m 333�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m puts a long repository name on its own truncating line under the title, keeping the full slug in a tooltip�[33m 336�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m shows a failure reason as a finding with the file path as code�[33m 330�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m closes when the backdrop is clicked�[33m 321�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m labels the footer link for the active scope�[33m 362�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m keeps a full plan search reachable from the All scope�[33m 329�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m runs the active scope's full search with Shift+Enter�[33m 335�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m opens the full plan search with Shift+Enter in the Plans scope�[33m 336�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m hangs the palette left-aligned under the search input�[33m 318�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useSystemReadiness.test.tsx �[2m(�[22m�[2m14 tests�[22m�[2m)�[22m�[33m 642�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentsListSection.test.tsx �[2m(�[22m�[2m13 tests�[22m�[2m)�[22m�[33m 2674�[2mms�[22m�[39m
   �[33m�[2m✓�[22m�[39m automatically refreshes preparation and displays worker failures separately�[33m 2027�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/McpLogsPage.test.tsx �[2m(�[22m�[2m15 tests�[22m�[2m)�[22m�[33m 831�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentCard.test.tsx �[2m(�[22m�[2m17 tests�[22m�[2m)�[22m�[33m 880�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/DesktopNotificationSettingsSection.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 500�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/TaskList/Filters.test.tsx�[2m > �[22m�[2mFilters�[2m > �[22m�[2mshows the selected repository in the stacked owner-over-name format
�[22m�[39mAn update to RepoFilter inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/TaskList/Filters.test.tsx�[2m > �[22m�[2mFilters�[2m > �[22m�[2mlists All Repos first, above starred repositories, in a menu wide enough for long names
�[22m�[39mAn update to RepoFilter inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/TaskList/Filters.test.tsx�[2m > �[22m�[2mFilters�[2m > �[22m�[2mleaves the filter dropdowns to do the filtering, with no separate filter icon
�[22m�[39mAn update to RepoFilter inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/TaskList/Filters.test.tsx�[2m > �[22m�[2mFilters�[2m > �[22m�[2moffers everyone, me, nobody and the people seen, and reports a single choice
�[22m�[39mAn update to RepoFilter inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/TaskList/Filters.test.tsx�[2m > �[22m�[2mFilters�[2m > �[22m�[2madds a second person to the selection instead of replacing the first
�[22m�[39mAn update to RepoFilter inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/TaskList/Filters.test.tsx�[2m > �[22m�[2mFilters�[2m > �[22m�[2mnames a multi-person filter by its first login and how many more, and unticks one
�[22m�[39mAn update to RepoFilter inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/TaskList/Filters.test.tsx�[2m > �[22m�[2mFilters�[2m > �[22m�[2munticking the last person goes back to all assignees
�[22m�[39mAn update to RepoFilter inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/TaskList/Filters.test.tsx�[2m > �[22m�[2mFilters�[2m > �[22m�[2madds a login nobody on the page is assigned to, and refuses an invalid one
�[22m�[39mAn update to RepoFilter inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/TaskList/Filters.test.tsx�[2m > �[22m�[2mFilters�[2m > �[22m�[2mstops adding people at the filter's limit without calling a valid login invalid
�[22m�[39mAn update to RepoFilter inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/TaskList/Filters.test.tsx�[2m > �[22m�[2mFilters�[2m > �[22m�[2mEnter in the field ticks a listed person it matches exactly
�[22m�[39mAn update to RepoFilter inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/TaskList/Filters.test.tsx�[2m > �[22m�[2mFilters�[2m > �[22m�[2mkeeps a login that reads as a keyword or a default distinct from it
�[22m�[39mAn update to RepoFilter inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/TaskList/Filters.test.tsx�[2m > �[22m�[2mFilters�[2m > �[22m�[2moffers only All and Unassigned without a signed-in user
�[22m�[39mAn update to RepoFilter inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/TaskList/Filters.test.tsx�[2m > �[22m�[2mFilters�[2m > �[22m�[2mkeeps logins from the URL ticked when the page does not list them
�[22m�[39mAn update to RepoFilter inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/TaskList/Filters.test.tsx�[2m > �[22m�[2mFilters�[2m > �[22m�[2mcloses on Escape and hands focus back to the trigger
�[22m�[39mAn update to RepoFilter inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/components/TaskList/Filters.test.tsx �[2m(�[22m�[2m15 tests�[22m�[2m)�[22m�[33m 734�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/PlanIssuesManager.batch.test.tsx �[2m(�[22m�[2m14 tests�[22m�[2m)�[22m�[32m 275�[2mms�[22m�[39m
 �[32m✓�[39m src/api/proprApi.sharedReads.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 184�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopGitHubAuthorizationRecovery.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 342�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Agents/AgentEditor.runNow.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[33m 1232�[2mms�[22m�[39m
   �[32m✓�[39m AgentEditor Run now �[2m(8)�[22m
     �[33m�[2m✓�[22m�[39m starts the run and opens it when the subscription has room�[33m 337�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/HappeningNowSection.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 568�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2momits tab and requests for disabled/legacy repositories (false)
�[22m�[39mAn update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2momits tab and requests for disabled/legacy repositories (false)
�[22m�[39mFailed to load indexed repositories: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
�[90m    at processTicksAndRejections (node:internal/process/task_queues:103:5)�[39m
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
    at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
    at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/repositories/indexing-status
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
  �[90m    at processTicksAndRejections (node:internal/process/task_queues:103:5)�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
      at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
      at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:54�[90m)�[39m
        at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:26�[90m)�[39m {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/repositories/indexing-status'�[39m
    }
  }
}

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2momits tab and requests for disabled/legacy repositories (undefined)
�[22m�[39mAn update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2momits tab and requests for disabled/legacy repositories (undefined)
�[22m�[39mFailed to load indexed repositories: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
�[90m    at processTicksAndRejections (node:internal/process/task_queues:103:5)�[39m
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
    at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
    at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/repositories/indexing-status
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
  �[90m    at processTicksAndRejections (node:internal/process/task_queues:103:5)�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
      at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
      at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:54�[90m)�[39m
        at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:26�[90m)�[39m {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/repositories/indexing-status'�[39m
    }
  }
}

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2mshows loading then empty state only for enabled repositories
�[22m�[39mFailed to load indexed repositories: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
�[90m    at processTicksAndRejections (node:internal/process/task_queues:103:5)�[39m
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
    at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
    at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/repositories/indexing-status
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
  �[90m    at processTicksAndRejections (node:internal/process/task_queues:103:5)�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
      at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
      at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:54�[90m)�[39m
        at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:26�[90m)�[39m {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/repositories/indexing-status'�[39m
    }
  }
}

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2mshows failure, retries, and renders accessible images and non-autoplay videos
�[22m�[39mFailed to load indexed repositories: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
    at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
    at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/repositories/indexing-status
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
      at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
      at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:54�[90m)�[39m
        at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:26�[90m)�[39m {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/repositories/indexing-status'�[39m
    }
  }
}

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2mclears media on repository change and disabling, ignoring stale requests
�[22m�[39mFailed to load indexed repositories: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
    at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
    at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/repositories/indexing-status
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
      at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
      at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:54�[90m)�[39m
        at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:26�[90m)�[39m {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/repositories/indexing-status'�[39m
    }
  }
}

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2mclears media on repository change and disabling, ignoring stale requests
�[22m�[39mFailed to load indexed repositories: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
    at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
    at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/repositories/indexing-status
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
      at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
      at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:54�[90m)�[39m
        at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:26�[90m)�[39m {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/repositories/indexing-status'�[39m
    }
  }
}

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2mclears media on repository change and disabling, ignoring stale requests
�[22m�[39mAn update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RepoActionContainer inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2mclears media on repository change and disabling, ignoring stale requests
�[22m�[39mFailed to load indexed repositories: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
    at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
    at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/repositories/indexing-status
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
      at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
      at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:54�[90m)�[39m
        at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:26�[90m)�[39m {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/repositories/indexing-status'�[39m
    }
  }
}

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media tab�[2m > �[22m�[2mloads additional pages and deduplicates media, preserving partial results on failure
�[22m�[39mFailed to load indexed repositories: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
    at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
    at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/repositories/indexing-status
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
      at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
      at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:54�[90m)�[39m
        at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:26�[90m)�[39m {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/repositories/indexing-status'�[39m
    }
  }
}

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media lightbox�[2m > �[22m�[2mopens media in an in-app modal dialog instead of a new tab
�[22m�[39mFailed to load indexed repositories: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
    at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
    at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/repositories/indexing-status
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
      at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
      at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:54�[90m)�[39m
        at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:26�[90m)�[39m {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/repositories/indexing-status'�[39m
    }
  }
}

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media lightbox�[2m > �[22m�[2mplays a video inline in the dialog with its native controls
�[22m�[39mFailed to load indexed repositories: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
    at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
    at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/repositories/indexing-status
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
      at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
      at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:54�[90m)�[39m
        at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:26�[90m)�[39m {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/repositories/indexing-status'�[39m
    }
  }
}

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media lightbox�[2m > �[22m�[2mcloses on the close button and restores focus to the tile that opened it
�[22m�[39mFailed to load indexed repositories: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
    at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
    at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/repositories/indexing-status
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
      at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
      at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:54�[90m)�[39m
        at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:26�[90m)�[39m {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/repositories/indexing-status'�[39m
    }
  }
}

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media lightbox�[2m > �[22m�[2mcloses on the backdrop and restores focus to the tile that opened it
�[22m�[39mFailed to load indexed repositories: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
    at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
    at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/repositories/indexing-status
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
      at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
      at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:54�[90m)�[39m
        at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:26�[90m)�[39m {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/repositories/indexing-status'�[39m
    }
  }
}

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media lightbox�[2m > �[22m�[2mcloses on Escape and restores focus to the tile that opened it
�[22m�[39mFailed to load indexed repositories: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
    at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
    at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/repositories/indexing-status
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
      at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
      at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:54�[90m)�[39m
        at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:26�[90m)�[39m {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/repositories/indexing-status'�[39m
    }
  }
}

�[90mstderr�[2m | src/components/Repositories/RepoMediaPanel.test.tsx�[2m > �[22m�[2mrepository Media lightbox�[2m > �[22m�[2mnavigates the whole collection with controls and arrow keys, wrapping at both ends
�[22m�[39mFailed to load indexed repositories: ProprClientError: The ProPR API could not be reached.
    at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:293:13)
    at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
    at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
    at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
  kind: �[32m'network'�[39m,
  status: �[90mundefined�[39m,
  code: �[90mundefined�[39m,
  body: �[90mundefined�[39m,
  cause: TypeError: Failed to parse URL from /api/repositories/indexing-status
  �[90m    at node:internal/deps/undici/undici:15456:13�[39m
      at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:14)
      at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:34�[90m)�[39m
      at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:20�[90m)�[39m
      at loadIndexedRepositories �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/setupWizardHooks.ts:67:16�[90m)�[39m {
    [cause]: TypeError: Invalid URL
    �[90m    at new URL (node:internal/url:818:25)�[39m
        at new URL (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/index.CK-t0WMg.js:1415:2)
    �[90m    at new Request (node:internal/deps/undici/undici:10034:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:10763:25)�[39m
    �[90m    at fetch (node:internal/deps/undici/undici:15454:10)�[39m
    �[90m    at fetch (node:internal/bootstrap/web/exposed-window-or-worker:75:12)�[39m
        at ProprClient.fetchImplementation (/home/runner/work/propr/propr/packages/client/src/client.ts:244:78)
        at ProprClient.fetch (/home/runner/work/propr/propr/packages/client/src/client.ts:282:25)
        at apiFetch �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/apiClient.ts:417:54�[90m)�[39m
        at getRepositoriesIndexingStatus �[90m(/home/runner/work/propr/propr/propr-ui/�[39msrc/api/repoIndexingApi.ts:32:26�[90m)�[39m {
      code: �[32m'ERR_INVALID_URL'�[39m,
      input: �[32m'/api/repositories/indexing-status'�[39m
    }
  }
}

 �[32m✓�[39m src/components/Repositories/RepoMediaPanel.test.tsx �[2m(�[22m�[2m12 tests�[22m�[2m)�[22m�[33m 861�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/electronAdapters.selectionFence.test.ts �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[32m 13�[2mms�[22m�[39m
 �[32m✓�[39m src/App.hostedFlow.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 1604�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/ReviewContextSettings.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[32m 245�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/demoViewer.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 335�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useLiveRefreshScheduler.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 49�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useHeaderStats.status.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 297�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/AddRepositoryModal.test.tsx�[2m > �[22m�[2mAddRepositoryModal�[2m > �[22m�[2mkeeps branch selection in the scroll-owned form and submits through one form path
�[22m�[39mIn HTML, <button> cannot be a descendant of <button>.
This will cause a hydration error.

  <AddRepositoryModal isOpen={true} newRepo="integry/propr" newAlias="Production" newBaseBranch="release/20..." ...>
    <div className="fixed inse..." onClick={function handleBackdropClick}>
      <div ref={{...}} role="dialog" aria-modal="true" aria-labelledby="_r_9_" tabIndex={-1} className="bg-white r...">
        <div>
        <form onSubmit={function handleSubmit} className="flex min-h...">
          <div data-testid="add-reposi..." className="min-h-0 fl...">
            <div>
            <div>
            <div>
              <label>
              <BaseBranchSelector repoName="integry/propr" value="release/20..." onChange={function Mock} ...>
                <div className="relative" ref={{...}}>
>                 <button
>                   id="_r_d_"
>                   type="button"
>                   onClick={function handleOpen}
>                   disabled={false}
>                   aria-labelledby="_r_e_ _r_h_"
>                   aria-describedby="_r_f_"
>                   aria-haspopup="listbox"
>                   aria-expanded={false}
>                   className="w-full px-3 py-2 text-left bg-white border border-gray-300 rounded-md font-mono text-sm..."
>                 >
                    <span>
                    <div className="flex items...">
>                     <button
>                       type="button"
>                       onClick={function handleClear}
>                       className="p-0.5 hover:bg-gray-200 rounded text-gray-400 hover:text-gray-600"
>                       title="Clear selection"
>                     >
                      ...
              ...
            ...
          ...

<button> cannot contain a nested <button>.
See this log for the ancestor stack trace.

 �[32m✓�[39m src/components/AddRepositoryModal.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[33m 374�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/SetupWizardHeaders.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 227�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/VisualPreviewAuthSection.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 312�[2mms�[22m�[39m
 �[32m✓�[39m src/components/SystemHealthPush.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 428�[2mms�[22m�[39m
 �[32m✓�[39m src/components/SummaryBrowser/index.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 129�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/extensions/ExtensionOAuthServerName.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[33m 313�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/AiAgentsPlaygroundSession.test.tsx �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[33m 589�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/PlanEditorHeader.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 290�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopWindowControls.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 236�[2mms�[22m�[39m
 �[32m✓�[39m src/components/GlobalHeader.nativeCreation.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 311�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Analytics/activityAxis.test.ts �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[32m 24�[2mms�[22m�[39m
 �[32m✓�[39m src/api/extensionSelectionHeaders.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 15�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Goals/goalTimeline.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/WorkflowSettingsSection.test.tsx �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 290�[2mms�[22m�[39m
�[90mstderr�[2m | src/components/TaskPlanner/usePlanQueueActions.test.ts�[2m > �[22m�[2mPlanner Studio queue actions�[2m > �[22m�[2ma refused action surfaces its error and rereads the queue
�[22m�[39mFailed to skip issue #1: Error: Issue #1 is in flight; wait for its run to finish or block.
    at �[90m/home/runner/work/propr/propr/propr-ui/�[39msrc/components/TaskPlanner/usePlanQueueActions.test.ts:52:32
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.BPv-BBRv.js:1632:35
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.BPv-BBRv.js:2801:26
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.BPv-BBRv.js:3338:20
    at new Promise (<anonymous>)
    at runWithCancel (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.BPv-BBRv.js:3333:10)
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.BPv-BBRv.js:3318:20
    at new Promise (<anonymous>)
    at runWithTimeout (file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.BPv-BBRv.js:3276:10)
    at file:///home/runner/work/propr/propr/node_modules/�[4mvitest�[24m/dist/chunks/run.BPv-BBRv.js:3904:64

 �[32m✓�[39m src/components/TaskPlanner/usePlanQueueActions.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 29�[2mms�[22m�[39m
 �[32m✓�[39m src/api/triggerWhitelistApi.test.ts �[2m(�[22m�[2m9 tests�[22m�[2m)�[22m�[32m 10�[2mms�[22m�[39m
 �[32m✓�[39m src/components/AgentChat/ModelSelector.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[33m 362�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/McpServerSection.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 200�[2mms�[22m�[39m
 �[32m✓�[39m src/api/apiClient.accounts.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 16�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopExperience.shortcut-readiness.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 182�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Agents/AgentEditor.deleteWhileSaving.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[33m 346�[2mms�[22m�[39m
 �[32m✓�[39m src/api/compatibility.test.ts �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[33m 449�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/PlanEditor.responsive.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 41�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Dashboard/workTitle.test.ts �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 7�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/browserAdapters.test.ts �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 17�[2mms�[22m�[39m
 �[32m✓�[39m src/App.hostedCompletion.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 142�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/PlansPageUtils.test.tsx �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[32m 6�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/PushFailureDetails.test.tsx �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 202�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/LoginPage.authError.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 209�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SummaryBrowserPage.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 49�[2mms�[22m�[39m
 �[32m✓�[39m src/desktop/DesktopPresentationBoundary.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 208�[2mms�[22m�[39m
 �[32m✓�[39m src/components/Analytics/activityPairs.test.ts �[2m(�[22m�[2m23 tests�[22m�[2m)�[22m�[32m 8�[2mms�[22m�[39m
 �[32m✓�[39m src/components/ActivitySparkline.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 167�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/ThinkingLog.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 177�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/AgentTankSection.test.tsx �[2m(�[22m�[2m6 tests�[22m�[2m)�[22m�[32m 188�[2mms�[22m�[39m
 �[32m✓�[39m src/api/usageTipsApi.test.ts �[2m(�[22m�[2m4 tests�[22m�[2m)�[22m�[32m 8�[2mms�[22m�[39m
 �[32m✓�[39m src/components/GlobalSearch.scrollbar.test.ts �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 5�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskPlanner/useAnchoredPopover.test.ts �[2m(�[22m�[2m8 tests�[22m�[2m)�[22m�[32m 8�[2mms�[22m�[39m
 �[32m✓�[39m src/contexts/SystemStatusContext.push.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 20�[2mms�[22m�[39m
 �[32m✓�[39m src/utils/modalBackground.test.ts �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 22�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositoryListItem.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 143�[2mms�[22m�[39m
�[90mstderr�[2m | src/hooks/useDecoratedRepoOptions.test.tsx�[2m > �[22m�[2museDecoratedRepoOptions�[2m > �[22m�[2mpasses through undefined options
�[22m�[39mAn update to TestComponent inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act

 �[32m✓�[39m src/hooks/useDecoratedRepoOptions.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 70�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useAgentTankSuggestion.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 74�[2mms�[22m�[39m
 �[32m✓�[39m src/components/TaskDetails/SectionLabelHeader.test.tsx �[2m(�[22m�[2m5 tests�[22m�[2m)�[22m�[32m 163�[2mms�[22m�[39m
 �[32m✓�[39m src/components/workflowSelectionInput.test.ts �[2m(�[22m�[2m3 tests�[22m�[2m)�[22m�[32m 4�[2mms�[22m�[39m
 �[32m✓�[39m src/components/RepositoryPrTitleStatusControl.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 174�[2mms�[22m�[39m
 �[32m✓�[39m src/hooks/useInboxSelection.test.tsx �[2m(�[22m�[2m1 test�[22m�[2m)�[22m�[32m 22�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/PlansPageComponents.owner.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 69�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/UsageTipsSettingsSection.test.tsx �[2m(�[22m�[2m2 tests�[22m�[2m)�[22m�[32m 47�[2mms�[22m�[39m
 �[32m✓�[39m src/utils/notificationIntents.test.ts �[2m(�[22m�[2m7 tests�[22m�[2m)�[22m�[32m 6�[2mms�[22m�[39m
 �[32m✓�[39m src/pages/SettingsPage/settingsCategoryGuides.test.ts �[2m(�[22m�[2m21 tests�[22m�[2m)�[22m�[32m 11�[2mms�[22m�[39m

�[2m Test Files �[22m �[1m�[32m88 passed�[39m�[22m�[90m (88)�[39m
�[2m      Tests �[22m �[1m�[32m820 passed�[39m�[22m�[90m (820)�[39m
�[2m   Start at �[22m 09:39:29
�[2m   Duration �[22m 66.82s�[2m (tests 38%, environment 35%, import 15%, setup 7%, transform 5%)�[22m

�[2mEnvironment �[22m �[33mjsdom was created 88 times�[39m�[2m · 43.95s total, 35% of tracked time�[22m
�[2m            �[22m �[2mcreate it once per worker with �[22m�[33mpool: 'vmThreads'�[39m�[2m (keeps per-file isolation) or �[22m�[33misolate: false�[39m�[2m (shares it across files)�[22m
�[2m            �[22m �[2mlearn more: https://vitest.dev/guide/improving-performance#test-environments�[22m


> [email protected] posttest
> npm run test:docker-context


> [email protected] test:docker-context
> node --test scripts/docker-context-inputs.test.mjs

TAP version 13
# Subtest: focused UI selectors are forwarded only to Vitest
ok 1 - focused UI selectors are forwarded only to Vitest
  ---
  duration_ms: 0.634178
  type: 'test'
  ...
# Subtest: the UI Docker context contains its complete non-type external source import closure
ok 2 - the UI Docker context contains its complete non-type external source import closure
  ---
  duration_ms: 41.812404
  type: 'test'
  ...
1..2
# tests 2
# suites 0
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 83.199335
[275/275] passed propr-ui#3/4 (workspace test script) in 67.4s

### Shard 1/4: 274/275 passed in 804.8s

Assigned 275 of 1098 discovered units.

| Duration | Status | Unit |
| ---: | --- | --- |
| 67.4s | passed | `propr-ui#3/4` (workspace) |
| 61.9s | passed | `test/routingDeliveryInterest.test.ts` |
| 44.7s | passed | `test/agentRunUnproductiveStreakRecovery.test.ts` |
| 33.5s | passed | `test/agentRunProductivity.test.ts` |
| 29.8s | passed | `test/agentAutonomy.test.ts` |
| 24.9s | passed | `test/agentRunStore.test.ts` |
| 22.5s | passed | `packages/api/test/mcpBrowser.test.ts` |
| 16.6s | passed | `packages/api/test/goalBlockerNotifications.test.ts` |
| 15.8s | passed | `packages/api/test/mcpRecentActivity.test.ts` |
| 12.2s | passed | `apps/desktop/src/saved-accounts.test.ts` |
| 11.8s | passed | `packages/api/test/mcpActivity.test.ts` |
| 11.1s | passed | `packages/core/test/pullRequestStatusEpicSync.test.ts` |
| 11.0s | passed | `packages/api/test/mcpPublishPlanDependencyLinks.test.ts` |
| 10.2s | passed | `packages/core/test/repositoryWorkflow.test.ts` |
| 9.9s | passed | `test/tokenSampleBackfillMigration.test.ts` |


1/275 test runs failed in shard 1/4 after 804.8s:
- packages/api/test/mcpTunnelMode.test.ts: exit 1

Details truncated; see the uploaded artifacts for complete failure rows and logs.

View Workflow
View uploaded artifacts

@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 23f371e

Summary of Changes

I fixed shard 1. The only failing test was a timing race in packages/api/test/mcpTunnelMode.test.ts, and it had nothing to do with this PR's code.

What failed: Test 12, "a 409 keeps forcing registration through transient failures until one succeeds", expected 5 registrations and saw 4. This branch doesn't change anything under packages/api.

Cause: Near the end, the test fires a fake retry timer, then waits a fixed 100 event-loop turns for that registration to land. That registration includes database work, so on a busy runner it can take longer than 100 turns and the count is checked too early. The same 16 other tests in the file passed.

Fix: The test now waits for the registration to finish instead of counting turns. An earlier step in the same test already waits this way. The 5-registration check is unchanged, so the test would still fail if the retry stopped registering again.

Verification:

  • Old file: 4 of 8 parallel runs failed on a loaded CPU.
  • New file: 0 of 8 failed under the same conditions.
  • Single runs: five runs of the new test alone all passed.
  • Lint: zero-warning lint on the file is clean.

There are no visual previews because this only changes a test.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk: none
  • Low risk (1 file)
    • packages/api/test/mcpTunnelMode.test.ts (+2/−2)

Validation evidence

  • No repository validation commands ran.

Diff size: 1 file changed, +2/−2 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-dev[bot]
  • Time: 9m 21s
  • Tokens: 677,579 (673,422 in / 4,157 out)
  • Cost: $0.45
  • Subscription usage: Weekly +1%, Fable +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6944358100✓

@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Run Full Test Suite

Please investigate and fix this CI failure.

Failure evidence

.github:68
Process completed with exit code 1.

.github:66
Full test suite shards finished with result 'failure'.

.github:4
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@11d5960, actions/download-artifact@018cc2c. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

… `packages/api/test/mcpTunnelMode.test.ts`, and it had nothing to do with this PR's code.

I fixed shard 1. The only failing test was a timing race in `packages/api/test/mcpTunnelMode.test.ts`, and it had nothing to do with this PR's code.

**What failed:** Test 12, "a 409 keeps forcing registration through transient failures until one succeeds", expected 5 registrations and saw 4. This branch doesn't change anything under `packages/api`.

**Cause:** Near the end, the test fires a fake retry timer, then waits a fixed 100 event-loop turns for that registration to land. That registration includes database work, so on a busy runner it can take longer than 100 turns and the count is checked too early. The same 16 other tests in the file passed.

**Fix:** The test now waits for the registration to finish instead of counting turns. An earlier step in the same test already waits this way. The 5-registration check is unchanged, so the test would still fail if the retry stopped registering again.

**Verification:**
- **Old file:** 4 of 8 parallel runs failed on a loaded CPU.
- **New file:** 0 of 8 failed under the same conditions.
- **Single runs:** five runs of the new test alone all passed.
- **Lint:** zero-warning lint on the file is clean.

There are no visual previews because this only changes a test.

PR: #3654
Comment by: @propr-dev[bot] (ID: 6944358100)
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @propr-dev[bot]

Analysis Summary

I made no code changes: the failure you reported is already fixed on this branch.

What failed: The failing run was on commit 292f212a. Its only failure was in shard 1, in packages/api/test/mcpTunnelMode.test.ts. One test, "a 409 keeps forcing registration through transient failures until one succeeds", expected 5 registrations and saw 4. The other three shards passed, and this PR changes nothing under packages/api.

Already fixed: The latest commit on the branch, 23f371e04, came after the failing run. In that test, the code waited a fixed 100 event-loop turns for the registration to land, which can be too short on a busy runner. It now waits for the registration to actually finish. The test still checks for 5 registrations, so it would fail if the retry stopped working.

Checked here: I ran the whole test file 4 times, 3 of them at the same time to load the CPU. All 17 tests passed every time, with exit code 0.

The next CI run on 23f371e04 should confirm the fix.

No visual previews, because this only touches a test.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: Claude Opus 5.5 (medium)
  • Time: 7m 54s
  • Tokens: 292,883 (291,413 in / 1,470 out)
  • Cost: $0.28
  • Subscription usage: Weekly +1%, Fable +1%

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6944613791✓

@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR improves failure reporting and consolidates repeated notifications, but needs changes before merge because queued CI follow-ups can lose newly reported failures.

✅ Failure review accounting — Invalid review output now produces an error-marked diagnostic without /fix instructions and is counted as failed.

✅ Serialized comment updates — Failure-comment publication uses shared Redis leases, and deduplication verifies bot authorship before updating an earlier comment.

✅ Clearer task reports — Completion reports replace container log paths and conversation excerpts with task links while retaining log generation.

The authoritative checks show 24 passed, none failed or pending, and 17 neutral/skipped. This review uses static analysis of the supplied code; no commands were run.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F8: 🔴 Refresh queued CI follow-up bodies

  • Category: correctness

  • Required behavior: Later failures merged into a head commit’s CI comment must reach the follow-up responsible for that comment, without aborting and restarting existing work.

  • Evidence: packages/core/src/webhook/commentEventHandler.ts:handleCommentEdited — the new foundJob || await refreshPendingCiFailureComment(...) guard.

    1. The first failed check creates the head’s CI comment and queues a follow-up containing that comment’s initial body.
    2. Before the queued job starts, another check fails. publishHeadFailure edits the same GitHub comment to include the additional failure.
    3. handleCommentEdited finds the queued job by comment ID. Because foundJob is truthy, the condition short-circuits: neither the pending-record refresh nor normal edit processing runs.
    4. The queued job retains the initial comment body, so the additional failure is absent from its assigned request even though the public comment now asks it to address both.

    The interruption point is the interval between queue submission and worker pickup; the competing publisher updates GitHub during that interval. The head-publication lease serializes GitHub comment writes but does not update queued job data. The added tests exercise Redis pending-list records, not a queued job containing this comment. Static trace: the new branch returns without any job-data mutation or retained revision obligation. Proposed regression: queue a follow-up for Lint, deliver a Typecheck edit before pickup, and assert the eventual job input includes both failures.

  • Minimum fix: Refresh the queued job’s comment revision before suppressing the edit, with handling for a concurrent worker claim that preserves the new revision for processing. Keep the existing prohibition on aborting and restarting the follow-up.

Suggestions

These are optional follow-ups and are not sent to /fix.

S5: 🟢 Consolidate lease maintenance

src/jobs/issueCommentLock.ts and packages/core/src/webhook/ciFailureHeadPublication.ts independently implement token-based acquisition, renewal, ownership checks, and release. A shared internal lease utility could reduce maintenance drift. This is optional cleanup: separate implementations do not themselves demonstrate incorrect behavior, and consolidation need not expand this fix.

Score

The reporting improvements and passing checks provide useful confidence, but the queued-comment revision loss leaves a correctness blocker in the CI consolidation path.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 9m 39s
  • Tokens: 97,059 (95,809 in / 1,250 out)
  • Cost: $0.89

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F8 S5

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 1414a88

Addressed 1 AI review comment (IDs: 6946280870)

Addressed finding F8

Summary of Changes

I fixed F8. When a check fails after a CI follow-up is queued, the follow-up now runs with every failure listed on the comment, and the queued job is still not aborted or restarted. The new regression fails on the old code at "the run input lists both failures" and passes now.

What I changed instead of the proposed fix: the review suggested writing the edited body into the queued job's data from handleCommentEdited. I didn't, because that write can race a worker claiming the job. And once the worker has the job, it can write its own stale copy back (ensurePRProcessingLockToken calls job.updateData(job.data)) and undo the refresh. GitHub already holds the current body before the edit webhook fires. So I made the worker's own read of the PR's comments the place where the update is picked up. That read happens after the worker claims the job and after it takes the PR lock, just before it builds the request.

  • Worker (src/jobs/prCommentJobHelpers.ts, validateAndFilterComments): if the queued comment is a ProPR CI-failure comment, it takes the comment's current GitHub body, with markers and trigger keywords stripped the same way as when it was queued. This covers a job that is still delayed or waiting, one claimed but not yet at that read, and retries. It only applies when both the queued record and the GitHub comment are by ProPR's bot account, so a copy of the marker under another author changes nothing. The logic lives in the new small file src/jobs/ciFailureCommentPickup.ts, which keeps the helpers file under the 400-line lint limit.
  • Core: the new packages/core/src/webhook/ciFailureCommentRevision.ts turns a raw CI comment body into the request body. The worker and the existing pending-list refresh in handleCommentEdited both use it. The edit handler's early return is otherwise unchanged; only its comment now says where the update is picked up.

Regression: the new test in test/commentEventHandler.switch-use.test.ts follows the scenario from the review:

  • A follow-up is queued for Lint, then a Lint+Typecheck edit arrives before the worker picks it up.
  • The job is not removed, aborted or reprocessed, and the worker's input contains both failures with no marker.
  • An unedited comment gives exactly the queued body.
  • A comment by another author is ignored.

Checks: root and core typecheck pass, and zero-warning lint is clean on the changed files. I rebuilt core, and 19 related suites pass, including the edit-handler, PR comment job, publication and CI-failure suites.

Found separately, not changed:

  • Edit while the follow-up is already running: if the edit lands after the worker has read the comments, the run doesn't get the new failure. Resubmitting it wouldn't help: the "already processed" check matches the comment ID, not its content, so the new failure would be filtered out. Fixing that means changing how processed comments are tracked, which is outside F8.
  • Bot-name matching differs: the webhook matches ProPR's bot account name with exact case. The new worker check, like the existing CI comment scan, ignores case.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (5 files)
    • packages/core/src/index.ts (+1/−0)
    • packages/core/src/webhook/ciFailureCommentRevision.ts (added, +48/−0)
    • packages/core/src/webhook/commentEventHandler.ts (+8/−6)
    • src/jobs/ciFailureCommentPickup.ts (added, +30/−0)
    • src/jobs/prCommentJobHelpers.ts (+5/−4)
  • Low risk (1 file)
    • test/commentEventHandler.switch-use.test.ts (+47/−0)

Validation evidence

  • No repository validation commands ran.

Diff size: 6 files changed, +139/−10 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (high)
  • Requested By: @propr-ultrafix
  • Time: 19m 53s
  • Tokens: 4,730,693 (4,693,816 in / 36,877 out)
  • Cost: $2.34
  • Subscription usage: Weekly +1%

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR

…ed, the follow-up now runs with every failure listed on the comment, and the queued job is still not aborted or restarted. The new regression fails on the old code at "the run input lists both failures" and passes now.

I fixed F8. When a check fails after a CI follow-up is queued, the follow-up now runs with every failure listed on the comment, and the queued job is still not aborted or restarted. The new regression fails on the old code at "the run input lists both failures" and passes now.

**What I changed instead of the proposed fix:** the review suggested writing the edited body into the queued job's data from `handleCommentEdited`. I didn't, because that write can race a worker claiming the job. And once the worker has the job, it can write its own stale copy back (`ensurePRProcessingLockToken` calls `job.updateData(job.data)`) and undo the refresh. GitHub already holds the current body before the edit webhook fires. So I made the worker's own read of the PR's comments the place where the update is picked up. That read happens after the worker claims the job and after it takes the PR lock, just before it builds the request.
- **Worker** (`src/jobs/prCommentJobHelpers.ts`, `validateAndFilterComments`): if the queued comment is a ProPR CI-failure comment, it takes the comment's current GitHub body, with markers and trigger keywords stripped the same way as when it was queued. This covers a job that is still delayed or waiting, one claimed but not yet at that read, and retries. It only applies when both the queued record and the GitHub comment are by ProPR's bot account, so a copy of the marker under another author changes nothing. The logic lives in the new small file `src/jobs/ciFailureCommentPickup.ts`, which keeps the helpers file under the 400-line lint limit.
- **Core:** the new `packages/core/src/webhook/ciFailureCommentRevision.ts` turns a raw CI comment body into the request body. The worker and the existing pending-list refresh in `handleCommentEdited` both use it. The edit handler's early return is otherwise unchanged; only its comment now says where the update is picked up.

**Regression:** the new test in `test/commentEventHandler.switch-use.test.ts` follows the scenario from the review:
- A follow-up is queued for Lint, then a Lint+Typecheck edit arrives before the worker picks it up.
- The job is not removed, aborted or reprocessed, and the worker's input contains both failures with no marker.
- An unedited comment gives exactly the queued body.
- A comment by another author is ignored.

**Checks:** root and core typecheck pass, and zero-warning lint is clean on the changed files. I rebuilt core, and 19 related suites pass, including the edit-handler, PR comment job, publication and CI-failure suites.

**Found separately, not changed:**
- **Edit while the follow-up is already running:** if the edit lands after the worker has read the comments, the run doesn't get the new failure. Resubmitting it wouldn't help: the "already processed" check matches the comment ID, not its content, so the new failure would be filtered out. Fixing that means changing how processed comments are tracked, which is outside F8.
- **Bot-name matching differs:** the webhook matches ProPR's bot account name with exact case. The new worker check, like the existing CI comment scan, ignores case.

PR: #3654
Comment by: @propr-ultrafix (ID: 0)
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

This PR improves failure reporting and consolidates repeated comments, but needs changes before merge: CI failures arriving during an active follow-up can be lost, and comment deduplication stops after one page.

✅ Clear review failures — Invalid review output becomes an error-marked diagnostic without fix instructions, and the runner counts it as failed.

✅ Safer retry admission — Waiting labels block fresh issue admission, and rate-limit retries no longer bypass an existing done label.

✅ Guarded comment publication — The new locks serialize publication and explicitly reject detected ownership loss before writing.

The supplied current-head status shows 23 passed checks, no failures, and one pending check. This review uses static analysis only; no commands were run.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F9: 🔴 Preserve CI additions after worker pickup

  • Category: correctness

  • Required behavior: Consolidating CI failures must preserve later failures without aborting and restarting the active follow-up.

  • Evidence: packages/core/src/webhook/commentEventHandler.ts, handleCommentEdited; src/jobs/prCommentJobHelpers.ts, validateAndFilterComments.

    1. A CI comment containing a lint failure starts a follow-up. The worker awaits fetchAllComments, validates that snapshot, and builds its request.
    2. While the agent is running, a second check fails on the same head. publishHeadFailure appends that failure to the existing GitHub comment.
    3. The edit handler finds the active job containing that comment ID and immediately returns through the new foundJob branch. It neither refreshes pending work nor records another obligation.
    4. The active agent continues with its already-built request containing only the lint failure. The later failure has been published and claimed, but has no corresponding execution request.

    The pickup refresh protects edits occurring before the worker’s GitHub read; it cannot update an agent request already in flight. Publication locks protect the comment write, not delivery of that revision to the active worker. The added regression test covers edits before pickup only. static trace: the supplied worker validation caller and changed edit handler demonstrate this ordering; no execution was performed.

  • Minimum fix: Record revisions arriving during active execution as pending work, then reconcile them against the revision actually consumed before completing the follow-up. Preserve the current execution rather than aborting it.

F10: 🔴 Search all eligible comments for deduplication

  • Category: correctness

  • Required behavior: An identical failure within the deduplication window must update its existing comment, and repeated start/cancel notices must be suppressed.

  • Evidence: src/jobs/failureCommentDedupe.ts, findRecentFailureComment and postNoticeOnceLocked.

    1. An issue has more than 100 comments eligible for the supplied since window, with the matching bot comment beyond the first response page.
    2. A repeated failure or notice calls the new lookup, which requests per_page: 100 without following subsequent pages.
    3. No marker matches in the returned page, so the publisher creates another comment instead of updating or suppressing the existing one.

    Reversing the returned array only searches that page. The lock serializes callers but does not make the incomplete lookup complete; repeated calls can therefore keep creating duplicates. The fake GitHub tests return every matching comment and do not exercise pagination. static trace: both changed lookup functions consume one response only.

  • Minimum fix: Paginate both lookups until a qualifying match is found or all eligible comments have been examined; add coverage with the matching comment beyond page one.

Suggestions

These are optional follow-ups and are not sent to /fix.

S6: 🟢 Consolidate lease maintenance

issueCommentLock.ts and ciFailureHeadPublication.ts implement similar acquisition, renewal, ownership checks, and release logic. A later shared internal helper could reduce maintenance drift. This is optional because their duplication alone does not establish incorrect behavior or justify expanding this fix.

Score

The implementation has useful regression coverage and passing current checks, but two changed paths still undermine the intended consolidation behavior. Both can be corrected locally.
Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 13s
  • Tokens: 94,517 (93,242 in / 1,275 out)
  • Cost: $0.87

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F9 F10 S6

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit ce0440c

Addressed 1 AI review comment (IDs: 6947276607)

Addressed findings F9, F10

Summary of Changes

That last notice was only my wait loop ending; the suite results were already in, so the summary above still holds.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (5 files)
    • packages/core/src/webhook/commentEventHandler.ts (+70/−11)
    • src/jobs/ciFailureCommentPickup.ts (+81/−0)
    • src/jobs/failureCommentDedupe.ts (+46/−18)
    • src/jobs/prCommentJobHelpers.ts (+3/−5)
    • src/jobs/processPullRequestCommentJob.ts (+6/−1)
  • Low risk (2 files)
    • test/commentEventHandler.switch-use.test.ts (+85/−1)
    • test/failureCommentDedupe.test.ts (+51/−1)

Validation evidence

  • No repository validation commands ran.

Diff size: 7 files changed, +342/−37 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (high)
  • Requested By: @propr-ultrafix
  • Time: 22m 6s
  • Tokens: 8,515,936 (8,515,158 in / 778 out)
  • Cost: $2.50
  • Subscription usage: Weekly +2%, Fable +1%

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR

…sults were already in, so the summary above still holds.

That last notice was only my wait loop ending; the suite results were already in, so the summary above still holds.

PR: #3654
Comment by: @propr-ultrafix (ID: 0)
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR improves failure reporting and reduces duplicate comments, but needs changes before merge: CI revision tracking can silently discard unhandled failures.

✅ Invalid reviews become failures — Invalid output receives an error marker, omits fix instructions, and is counted as failed.

✅ Comment ownership is checked — Failure deduplication ignores copied markers in comments from other authors.

✅ Queued CI requests refresh correctly — Pending records use compare-and-set updates, and queued jobs read the current GitHub comment at pickup.

This review is a static trace of the supplied code; no commands were run. Current checks show 23 passed, none failed, and one pending.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F11: 🔴 Retry skips an unfinished CI revision

  • Category: correctness

  • Required behavior: A CI revision must remain retryable until that revision has been handled; completion receipts for an earlier revision cannot consume it.

  • Evidence: src/jobs/processPullRequestCommentJob.ts, validatePRAndComments; src/jobs/ciFailureCommentPickup.ts, recordConsumedCiFailureRevisions

    1. A follow-up handles revision A and publishes a completion receipt naming the CI comment ID.
    2. Another failure edits that comment into revision B. The next job correctly bypasses A’s receipt because the stored digest differs.
    3. Before executing B, recordConsumedCiFailureRevisions overwrites the digest with B.
    4. That run reaches a usage limit and schedules a retry without completing B.
    5. The retry finds the stored digest equal to B, so unconsumedCiFailureRevisions returns no override. filterUnprocessedComments then accepts A’s old completion receipt and skips B as already processed.

    The PR lease prevents concurrent execution but does not distinguish an earlier revision’s completion from the current revision’s unfinished attempt. The existing tests explicitly establish that recording a revision makes an earlier receipt sufficient to suppress another job, but do not cover interrupted execution. static trace: the supplied digest-write ordering, receipt filter, and documented usage-limit retry behavior demonstrate the lost-work sequence.

  • Minimum fix: Distinguish revisions merely picked up from revisions terminally handled, or bind completion receipts to their revision. Preserve retry eligibility for B until B has its own terminal outcome.

F12: 🔴 Redis read failure discards new work

  • Category: correctness

  • Required behavior: Failure to read revision bookkeeping must not classify a newly edited CI request as already handled.

  • Evidence: src/jobs/ciFailureCommentPickup.ts, unconsumedCiFailureRevisions

    1. Revision A has a completion receipt, and GitHub now holds revision B with additional failures.
    2. B’s queued follow-up reads the current comment successfully.
    3. The awaited redis.get(consumedCiFailureRevisionKey(...)) throws a transient error.
    4. The catch logs a warning and continues without adding the comment ID to unconsumed.
    5. filterUnprocessedComments consequently accepts A’s receipt, and validation returns already_processed, discarding B without executing its added failures.

    The exception is swallowed, so normal job error recovery cannot retry this lookup. Neither the PR lease nor the current-body refresh establishes which revision the old receipt handled. static trace: the catch-and-continue path feeds directly into the changed receipt filter and its empty-work return.

  • Minimum fix: Propagate or explicitly defer revision lookup failures so the job retries validation instead of treating the request as consumed.

Suggestions

These are optional follow-ups and are not sent to /fix.

No suggestions.

Score

The reporting improvements and targeted tests are useful, and current checks have no failures. However, two recovery paths can silently lose newly reported CI failures and require correction.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 42s
  • Tokens: 100,070 (98,414 in / 1,656 out)
  • Cost: $0.94

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F11 F12

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 00dfdbc

Addressed 1 AI review comment (IDs: 6948280710)

Addressed findings F11, F12

Summary of Changes

I fixed F11 and F12. The three new regressions fail on the old code and pass now, and the 21 related suites all pass.

F11: a retry no longer skips an unfinished CI revision. When a run takes a revision, ProPR now also records which receipts already named that comment at that moment. Those receipts belong to earlier revisions. The revision counts as done only once a receipt not on that list ends it: the completion or failure notice of the run that took it. So a run that stops before posting one leaves the revision to run again. That covers a usage-limit retry, a capacity or workflow deferral (these happen after the record is written), and a lost worker. In your scenario, A's completion receipt no longer hides B on the retry, and B is done once its own run completes or fails. The change is in src/jobs/ciFailureCommentPickup.ts, and validatePRAndComments now passes the PR's comments in. Nothing new has to be written after the receipt is posted, so a crash after posting can't make it look unfinished. No other code reads this record or makes this "already processed" decision.

F12: a failed Redis read now fails validation instead of being ignored. The error goes through the normal job failure path. No starting comment exists yet, so nothing is posted. The queue then retries the job (3 attempts with backoff), the same way a failed write of the record already did. A failed read can no longer let A's receipt discard B. I checked the related pending-batch refresh: it already treats a read failure as "handle the edit normally", so it doesn't have this bug.

Changes you'd notice:

  • Record format: the record is now JSON with the digest and the earlier receipt ids. A record that doesn't match that shape, such as one written by earlier commits on this branch, counts as an unknown revision, so that comment runs once more rather than being skipped.
  • Changed F9 tests: two existing F9 tests in test/commentEventHandler.switch-use.test.ts now use the new signatures. One of them asserted that once a run took a revision, an earlier receipt was enough to skip it. That is the F11 bug, so it now expects the revision to run until the taking run's own receipt exists. The other now includes the running follow-up's completion receipt, which is what makes the later revision job skip.
  • Comment update: I updated one comment in packages/core/src/webhook/commentEventHandler.ts to match.

Verification:

  • New suite: test/ciFailureRevisionRetry.test.ts runs the same steps as validatePRAndComments and has 6 tests. The three for the usage-limit retry, the deferral and the Redis read failure fail on HEAD's ciFailureCommentPickup.ts and pass now. The other three check behaviour that must stay the same: a failure notice ends a revision, a comment with no earlier receipts works as before, and an unreadable record runs the comment.
  • Checks: root typecheck is clean and lint has zero warnings for root src/ and core. In the edited switch-use test file, the test-only typecheck shows no errors in the edited region and fewer in total than HEAD (135 vs 142).
  • Suites: the 68 switch-use tests pass, as do the other 20 related suites, including prCommentJob.integration, taskIntentWithdrawal, prPublicationRecoveryJob, ciFailureFollowup and followupAssignmentGate.

I found nothing else outside F11 and F12. There are no visual previews, because nothing here changes what a user sees.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (4 files)
    • packages/core/src/webhook/commentEventHandler.ts (+1/−1)
    • src/jobs/ciFailureCommentPickup.ts (+52/−23)
    • src/jobs/prCommentJobHelpers.ts (+1/−1)
    • src/jobs/processPullRequestCommentJob.ts (+5/−3)
  • Low risk (2 files)
    • test/ciFailureRevisionRetry.test.ts (added, +151/−0)
    • test/commentEventHandler.switch-use.test.ts (+23/−11)

Validation evidence

  • No repository validation commands ran.

Diff size: 6 files changed, +233/−39 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (xhigh)
  • Requested By: @propr-ultrafix
  • Time: 17m 25s
  • Tokens: 5,466,752 (5,466,230 in / 522 out)
  • Cost: $1.79
  • Subscription usage: Weekly +1%, Fable +1%

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR

…old code and pass now, and the 21 related suites all pass.

I fixed F11 and F12. The three new regressions fail on the old code and pass now, and the 21 related suites all pass.

**F11: a retry no longer skips an unfinished CI revision.** When a run takes a revision, ProPR now also records which receipts already named that comment at that moment. Those receipts belong to earlier revisions. The revision counts as done only once a receipt not on that list ends it: the completion or failure notice of the run that took it. So a run that stops before posting one leaves the revision to run again. That covers a usage-limit retry, a capacity or workflow deferral (these happen after the record is written), and a lost worker. In your scenario, A's completion receipt no longer hides B on the retry, and B is done once its own run completes or fails. The change is in `src/jobs/ciFailureCommentPickup.ts`, and `validatePRAndComments` now passes the PR's comments in. Nothing new has to be written after the receipt is posted, so a crash after posting can't make it look unfinished. No other code reads this record or makes this "already processed" decision.

**F12: a failed Redis read now fails validation instead of being ignored.** The error goes through the normal job failure path. No starting comment exists yet, so nothing is posted. The queue then retries the job (3 attempts with backoff), the same way a failed write of the record already did. A failed read can no longer let A's receipt discard B. I checked the related pending-batch refresh: it already treats a read failure as "handle the edit normally", so it doesn't have this bug.

**Changes you'd notice:**
- **Record format:** the record is now JSON with the digest and the earlier receipt ids. A record that doesn't match that shape, such as one written by earlier commits on this branch, counts as an unknown revision, so that comment runs once more rather than being skipped.
- **Changed F9 tests:** two existing F9 tests in `test/commentEventHandler.switch-use.test.ts` now use the new signatures. One of them asserted that once a run took a revision, an earlier receipt was enough to skip it. That is the F11 bug, so it now expects the revision to run until the taking run's own receipt exists. The other now includes the running follow-up's completion receipt, which is what makes the later revision job skip.
- **Comment update:** I updated one comment in `packages/core/src/webhook/commentEventHandler.ts` to match.

**Verification:**
- **New suite:** `test/ciFailureRevisionRetry.test.ts` runs the same steps as `validatePRAndComments` and has 6 tests. The three for the usage-limit retry, the deferral and the Redis read failure fail on HEAD's `ciFailureCommentPickup.ts` and pass now. The other three check behaviour that must stay the same: a failure notice ends a revision, a comment with no earlier receipts works as before, and an unreadable record runs the comment.
- **Checks:** root typecheck is clean and lint has zero warnings for root `src/` and core. In the edited switch-use test file, the test-only typecheck shows no errors in the edited region and fewer in total than HEAD (135 vs 142).
- **Suites:** the 68 switch-use tests pass, as do the other 20 related suites, including `prCommentJob.integration`, `taskIntentWithdrawal`, `prPublicationRecoveryJob`, `ciFailureFollowup` and `followupAssignmentGate`.

I found nothing else outside F11 and F12. There are no visual previews, because nothing here changes what a user sees.

PR: #3654
Comment by: @propr-ultrafix (ID: 0)
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Ultrafix stopped before reaching its goal. Requested goal: 8/10. Last score: unknown. Max cycles were exhausted, so manual review and merge are now required.

@propr-dev propr-dev Bot changed the title 🔨 [3622 by Claude Opus 5.5] Bot comments: empty failed-review shells, repeated failure and CI comments, internal paths in PR bodies, rate-limit notices that contradict themselves ⚠️⑥ [3622 by Claude Opus 5.5] Bot comments: empty failed-review shells, repeated failure and CI comments, internal paths in PR bodies, rate-limit notices that contradict themselves Nov 17, 2026

integry commented Nov 17, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev propr-dev Bot changed the title ⚠️⑥ [3622 by Claude Opus 5.5] Bot comments: empty failed-review shells, repeated failure and CI comments, internal paths in PR bodies, rate-limit notices that contradict themselves 🔨 [3622 by Claude Opus 5.5] Bot comments: empty failed-review shells, repeated failure and CI comments, internal paths in PR bodies, rate-limit notices that contradict themselves Nov 17, 2026
@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR improves failure messages, comment deduplication, and CI follow-up handling, but needs changes before merge. Three gaps remain in retry lifecycle management and delivery of accumulated CI failures.

✅ Review failures are explicit — Invalid output now produces an error-marked diagnostic with a task link and is counted as failed.

✅ Concurrent publication is guarded — Comment publication uses renewing leases, and CI publication refuses to treat failed lookups as confirmed absence.

✅ Delayed retries respect completion — Rate-limit retries can no longer use the sibling exemption to continue past AI-done.

This assessment is based on static inspection of the supplied code; no commands were run. The authoritative checks show no failures and four pending checks.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F13: 🔴 Retire superseded rate-limit tasks

  • Category: correctness

  • Required behavior: Suppressing a duplicate retry must leave its task in an accurate lifecycle state, with no task reported as awaiting work that will never resume.

  • Evidence: src/jobs/errorHandlers.ts: scheduleUsageLimitRetry, pending-retry branch.

    1. Task A hits a usage limit and schedules a delayed retry carrying A’s correlation identity.
    2. Task B for the same issue, agent, model, and branch hits the limit before that retry starts.
    3. The new guard finds A’s retry, explicitly writes B’s state as processing, and returns without scheduling any continuation for B.
    4. The supplied caller in processGitHubIssueJob returns requeued; A’s eventual retry continues A, leaving B recorded as processing without its own continuation.

    The lock prevents duplicate scheduling but does not transfer task ownership or settle B. supersededByRetryJob is written only as history metadata in this branch. Users retain an unfinished task even though its execution has ended.

    static trace: the new early return, task-state update, retry identity comparison, and supplied caller establish this sequence.

  • Minimum fix: Settle B with an appropriate terminal superseded outcome and propagate that outcome to the caller instead of reporting it as requeued.

F14: 🔴 Preserve revisions after Redis expiry

  • Category: correctness

  • Required behavior: A later failure added to an existing CI comment must remain actionable despite receipts for earlier revisions.

  • Evidence: src/jobs/ciFailureCommentPickup.ts: unconsumedCiFailureRevisions, CONSUMED_REVISION_TTL_SECONDS; packages/core/src/webhook/ciFailureHeadPublication.ts: findHeadComment.

    1. A follow-up consumes revision A of a head’s CI comment and publishes a completion receipt naming that comment ID.
    2. The PR remains on that head for more than 30 days, allowing its consumed-revision record to expire.
    3. A different check fails. Publication finds the durable GitHub comment through its marker scan and edits it into revision B.
    4. When B’s follow-up validates, Redis returns null. The new revision helper executes continue, leaving the old ID-based receipt authoritative.
    5. filterUnprocessedComments therefore drops B as already processed, although its additional failure has never been handled.

    GitHub comments and receipts outlive the Redis TTL. Publication deliberately recovers the original comment after Redis expiry, but consumption has no corresponding recovery of revision identity.

    static trace: the explicit 30-day expiry, null-record branch, durable marker lookup, and supplied receipt consumer demonstrate the mismatch.

  • Minimum fix: Treat a missing revision record as insufficient evidence that the current CI revision was consumed, or persist revision-bound consumption evidence durably.

F15: 🔴 Retain evidence beyond ten checks

  • Category: requirement

  • Required behavior: Later failures of a head commit must be added to its consolidated CI comment so follow-ups can investigate them.

  • Evidence: packages/core/src/webhook/ciFailureHeadComment.ts: MAX_CI_FAILURE_ENTRIES, renderCiFailureHeadComment; packages/core/src/webhook/ciFailureHeadPublication.ts: publishHeadFailure.

    1. Ten distinct failures populate the head’s comment.
    2. An eleventh distinct failure is merged into the entry array.
    3. Rendering slices that array to ten entries and replaces the eleventh failure with an anonymous omitted count.
    4. Publication succeeds, retaining the per-source deduplication claim, but the comment and subsequent agent request contain none of that failure’s name, URL, or evidence.

    The concrete requirement gap is the arbitrary ten-check cutoff: later failures are counted rather than added as actionable information. Revision tracking cannot recover information that rendering discarded, and redelivery is suppressed by the retained claim.

    static trace: entry merging, slicing, omitted-count rendering, and successful publication establish the loss.

  • Minimum fix: Preserve identifying information and links for every accumulated failure. Bound excerpts or use compact overflow entries before discarding whole checks.

Suggestions

These are optional follow-ups and are not sent to /fix.

S7: 🟢 Consolidate lease implementations

issueCommentLock.ts and ciFailureHeadPublication.ts implement closely related acquisition, renewal, ownership checks, and release logic. Sharing the small lease primitive would reduce maintenance drift. This is optional cleanup; the different publication workflows can remain separate.

Score

The implementation has substantial targeted coverage and useful safeguards, but task settlement and CI evidence retention still need correction. Pending checks alone do not affect this rating.

Score: 5/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 2m 3s
  • Tokens: 103,633 (101,351 in / 2,282 out)
  • Cost: $1.02

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F13 F14 F15 S7

🤖 Review by ProPR

@propr-dev propr-dev Bot changed the title 🔨 [3622 by Claude Opus 5.5] Bot comments: empty failed-review shells, repeated failure and CI comments, internal paths in PR bodies, rate-limit notices that contradict themselves ⚠️⑤ [3622 by Claude Opus 5.5] Bot comments: empty failed-review shells, repeated failure and CI comments, internal paths in PR bodies, rate-limit notices that contradict themselves Nov 17, 2026
@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

🔀 Resolved merge conflicts from 3616-epic-0-9-d8b into 3622/claude-opus-5-5-bot-comments-empty-failed-20261117-0706-x1n in commit 6c1b0c2

Conflicting Files

  • packages/core/src/utils/github/logFiles.ts
  • packages/core/src/webhook/ciFailureFollowup.ts
  • packages/core/src/webhook/commentEventHandler.ts
  • src/jobs/errorHandlers.ts
  • src/jobs/issueJobHelpers.ts
  • src/jobs/issueJobPostProcessing.ts
  • src/jobs/prCommentFailureComment.ts
  • src/jobs/prCommentJobUtils.ts
  • src/jobs/prCommentReviewJob.ts
  • src/jobs/reviewCommentFormatter.ts
  • test/redactSecrets.test.ts
  • test/reviewCommentFormatter.test.ts

Resolution Summary

All 12 conflicted files are resolved and no conflict markers are left in the repository. Root and core typecheck are clean except one error from the unbuilt @propr/local-setup package, which this merge doesn't touch. Zero-warning lint passes for root src/ and core.

Tests: 68 suites that import the merged code pass, plus the 3 below.

  • Main set: 7 suites, 176/176 pass, including the epic's new test/botCommentText.test.ts.
  • Wider set: 61 suites pass. Three of them first failed with EROFS on /tmp/git-processor, which is read-only in this container. With writable clone paths set (GIT_CLONES_BASE_PATH/GIT_WORKTREES_BASE_PATH) they pass 31/31, 68/68 and 54/54.

What the conflicts were about

The epic had just merged #3676, a text-only fix for the same bot-comment problems as this PR. Both branches added helpers for the same jobs: a failure-cause sentence, the task link, the follow-up failure comment, the review error comment and the CI comment. So I kept the PR's version where both overlap, and kept the epic's changes where the PR had no equivalent.

Per file

  • ciFailureFollowup.ts: kept the PR's shared renderer for the CI comment. It already links the commit and puts a "View CI failure" run link on each entry, which is what the epic added.
  • commentEventHandler.ts: took the epic's getCommentRevisionIdentity. It does the same as the PR's, but also accepts updated_at being absent or null, and is documented.
  • errorHandlers.ts: kept both import groups. The PR's usage-limit helpers and comment lock stay; the epic's import of the shared sanitizeErrorMessage replaces the local copy it removed.
  • issueJobHelpers.ts, issueJobPostProcessing.ts, prCommentJobUtils.ts, prCommentFailureComment.ts: kept the PR's code. That is taskLinkOption, the deduplicated publishFailureComment/publishFollowupFailureComment, and the shared describeFailureCause.
    • I removed the epic duplicates that came in outside the conflict blocks: a second describeFailureCause import, formatFailureCause, buildFollowupFailureCommentBody and unused taskPageUrl imports.
    • I kept two epic additions: page-title stripping in formatErrorBlock, and a task link on the post-processing failure report.
  • prCommentReviewJob.ts: took the epic's buildReviewCompletionCommentBody/countReviewOutcomes. They do what the PR did ("(failed)" links, "Posted 0 reviews") and also stop counting invalid-output reviews as posted, which the PR's formatter already intends.
  • reviewCommentFormatter.ts: kept the PR's wording and logic for invalid and failed reviews.
    • Removed a dead block that the merge brought in from the epic.
    • Dropped the epic's isErrorReviewComment, which duplicated the PR's isReviewErrorComment; reviewCompletionComment.ts now uses the PR's function.
    • One integration fix: the probe showed that the PR's summarizeReviewFailure still printed "403 Attention Required! | Cloudflare". It now runs the epic's stripUpstreamPageTitles first, so the comment reads "API Error: HTTP 403."
  • logFiles.ts: the five conflicts were comment wording plus the task-link text. I kept the PR's "View task details and logs" link.
  • test/redactSecrets.test.ts, test/reviewCommentFormatter.test.ts: kept the PR's versions. I reverted the epic's changes to two existing assertions to the PR's wording, but kept its new checks ("no Next step", error marker), which the PR's output also satisfies.

Other changes outside the conflict blocks

  • Deleted src/jobs/failureCause.ts (added by the epic). Nothing imports it any more, since describeFailureCause from @propr/shared replaces it.
  • Adapted test/botCommentText.test.ts (added by the epic) to the PR's helpers and wording. Every case still checks its original behaviour. Three expectations changed because the PR behaves differently on purpose:
    • A follow-up failure shows only the cause, not the raw error text.
    • An unrecognised error becomes a cleaned sentence rather than null.
    • The CI run link sits on each entry rather than on a separate "Run:" line.

Two near-duplicates remain, from the epic: src/jobs/taskPageUrl.ts (still used by the review job) and src/jobs/upstreamPageTitle.ts (used by the error sanitizer and formatter). The PR also has a taskPageUrl in failureCommentDedupe.ts. The two default to different hosts (gitfix.dev vs localhost:5173), so merging them would change link output; I left both as they are.


🤖 Resolution Details

  • Model: Claude Opus 5.5
  • Time: 11m 40s

View Task Execution


System-triggered merge conflict resolution

@propr-dev propr-dev Bot changed the title ⚠️⑤ [3622 by Claude Opus 5.5] Bot comments: empty failed-review shells, repeated failure and CI comments, internal paths in PR bodies, rate-limit notices that contradict themselves 🔨 [3622 by Claude Opus 5.5] Bot comments: empty failed-review shells, repeated failure and CI comments, internal paths in PR bodies, rate-limit notices that contradict themselves Nov 17, 2026
…-5-5-bot-comments-empty-failed-20261117-0706-x1n

Automatically resolved merge conflicts after merging target branch into PR branch.
Resolved conflicts in:
- packages/core/src/utils/github/logFiles.ts
- packages/core/src/webhook/ciFailureFollowup.ts
- packages/core/src/webhook/commentEventHandler.ts
- src/jobs/errorHandlers.ts
- src/jobs/issueJobHelpers.ts
- src/jobs/issueJobPostProcessing.ts
- src/jobs/prCommentFailureComment.ts
- src/jobs/prCommentJobUtils.ts
- src/jobs/prCommentReviewJob.ts
- src/jobs/reviewCommentFormatter.ts
- test/redactSecrets.test.ts
- test/reviewCommentFormatter.test.ts

PR: #3654
Model: Claude Opus 5.5
@propr-dev propr-dev Bot changed the title 🔨 [3622 by Claude Opus 5.5] Bot comments: empty failed-review shells, repeated failure and CI comments, internal paths in PR bodies, rate-limit notices that contradict themselves ⚠️⑤ [3622 by Claude Opus 5.5] Bot comments: empty failed-review shells, repeated failure and CI comments, internal paths in PR bodies, rate-limit notices that contradict themselves Nov 17, 2026
@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

❌ Failed to resolve merge conflicts from 3616-epic-0-9-d8b into 3622/claude-opus-5-5-bot-comments-empty-failed-20261117-0706-x1n

Agent execution failed during conflict resolution: Agent execution was cancelled.

System-triggered merge conflict resolution

@integry integry closed this Nov 17, 2026
@propr-dev propr-dev Bot changed the title ⚠️⑤ [3622 by Claude Opus 5.5] Bot comments: empty failed-review shells, repeated failure and CI comments, internal paths in PR bodies, rate-limit notices that contradict themselves [3622 by Claude Opus 5.5] Bot comments: empty failed-review shells, repeated failure and CI comments, internal paths in PR bodies, rate-limit notices that contradict themselves Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant