feat(dashboard): retry a failed review call, review the result, then accept or discard it #116
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/dashboard-retry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
An admin who finds a failed review on the dashboard can re-run the call that failed, read what comes back, and then choose whether it replaces the failure. Nothing changes on the record or the PR until the result has been seen and accepted.
What an admin sees
/reviews/{id}): a Retry card with a "Retry this call" button. The comparison page's failed columns link to it.How it works
reviewer.ReplayPrompt) to the same model config, read as it stands at retry time.review_retries(migration000020) is a queue between the binaries;runner.RetryWorkerin the webhook service makes the call and, on accept, writes the PR comment. The dashboard still holds no LLM or forge credentials.tracker.AcceptRetry): the failed row becomescompleted, itsreview_passesrow follows, and the retry row keeps the failure it replaced.openReviewComment, so the one-comment rules apply unchanged.Behavior worth knowing
Deploying
Both binaries need the new version. A retry requested while the webhook service is on the old one sits queued; the page says so after 30s and stops reloading after 10 minutes.
Testing
go test -race ./...passes with Postgres attached and without.internal/tracker), the worker through its real loop against a fake forge and stub backend (internal/runner), and the dashboard routes (internal/dashboard, which gets its own database). The CIintegrationjob now runsinternal/dashboardtoo.Language
The second commit records en-US as the project's language in a new
AGENTS.md(imported fromCLAUDE.md) and respells this change to match.🤖 Generated with Claude Code
The latest review failed.
Jump to the current review
Review history
r-bf4cdb-4b2ea8r-bf4d91-9090aar-bf4ef3-fe6d15r-bf501b-3b9715r-bf6a13-2f5546r-bf7a60-33bfc7r-c03640-2c0107r-c03df3-48a7aa· current@pr-reviewer-bot retry
pr-reviewer v0.52.3 | tracking id
r-bf4e4b-0b0331There's nothing to retry — the most recent review attempt on this PR didn't fail. Try
@pr-reviewer-bot reviewto request a fresh review.@pr-reviewer-bot review
Superseded — a newer review is further down this thread. This pass is kept on the dashboard as
r-bf501b-3b9715.retryaccepts a review that couldn't run, not only one that failed #117@pr-reviewer-bot review
Superseded — a newer review is further down this thread. This pass is kept on the dashboard as
r-bf6a13-2f5546.@pr-reviewer-bot review
Superseded — a newer review is further down this thread. This pass is kept on the dashboard as
r-bf7a60-33bfc7.@pr-reviewer-bot review
Superseded — a newer review is further down this thread. This pass is kept on the dashboard as
r-c03640-2c0107.@pr-reviewer-bot review
Automated review by pr-reviewer v0.53.0 | Safety Check | Nemotron 3 Nano | tracking id
r-c03df3-48a7aaThis is an AI-generated review and may contain mistakes.
Status: ❌ Failed
Review failed. Tracking id
r-c03df3-48a7aa— see logs for details.Comment
@pr-reviewer-bot retryto try again.8fbcad3b4922b156e1ad