Repository navigation
improve(ui): show one recovery button on failed replies - #205084
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR shows one recovery action per failed reply, reuses Rewind for editing, and removes the row’s built-in report link. Example: OpenAI reports a billing problem after “Summarize the launch checklist.”
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is worth merging: the earlier documentation-anchor finding is resolved, and no actionable defect remains in the reviewed head; CI is still pending. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherControl UI turns recorded run-failure facts into transcript notices whose actions navigate to provider settings, start a recovery session, or continue the conversation; message editing uses the existing session rewind owner. flowchart TD
A[Recorded run failure] --> B[Chat notice projection]
B --> C[Failure notice]
C --> D[One recovery action]
C --> E[Optional plugin feedback]
F[Original message actions] --> G[Session rewind]
G --> H[Restored composer]
Technical reviewBest possible solution: Merge the existing focused cutover after required CI passes, retaining the documented Rewind flow and optional feedback slot. Do we have a high-confidence way to reproduce the issue? This is an intentional presentation change rather than an unresolved bug report; source and supplied production-UI screenshots establish the before/after behavior. Is this the best way to solve the issue? The patch is a small complete cutover: one existing renderer selects recovery, existing Rewind owns editing, and obsolete editor plumbing is removed. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5635bd05b2cc. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource -172, Tests -224, Docs -2, Other -3. Total -401 across 19 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed November 25, 2026, 12:23 AM ET / 05:23 UTC (Revision 2). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
Follow-up to #204303.
What Problem This Solves
A failed reply can show several controls in its error row. Edit message duplicates the Rewind action on the original message.
User Impact
A failed reply offers Open Models for credential or billing problems, Start a new session when the harness needs an update, or Try again for ordinary failures.
To edit and resend the original message, hover over your own message and click the Rewind icon, or right-click it and choose Rewind to here. Edit message refused to overwrite text already typed in the message box. Rewind replaces that draft.
Report a bug is available from the sidebar’s Help menu. Feedback plugins can still add their own action to the row.
Why This Change Was Made
Use one recovery action per failure and reuse the existing Rewind flow. This removes the separate failed-message editor, its draft guard, and the row’s built-in report link.
Evidence
d70931d757b3and passed with the repair. Targeted typechecks, lint, format and translation checks passed. Both revisions compiled and hit the same local Control UI asset-budget limits. The aggregate changed-files check flagged a release changelog attribution and an unused export in the upgrade-survivor tooling. Both are present on the base.#edit-a-failed-messageand#rewind-and-forkat the Rewind instructions. MDX validation passed. The full anchor audit returned the same eight existing failures.Clean comparison
Before
After
Annotated comparison
Before
After
Same failed five-image reply in production Control UI builds using base source
5750fb88fe02and PR sourced70931d757b3, using synthetic Gateway responses.Credentials or billing
Before
After
Annotated before
Annotated after
Harness update
Before
After
Annotated before
Annotated after
The two comparisons above use production Control UI builds from main
08a2c551318and PR head21830d87a15, with identical synthetic Gateway responses per scenario. The billing example shows the same Open Models action used for rejected credentials. In Chromium, both provider failures opened the affected provider in Models. The harness action requested a fresh OpenClaw session with the failure summary.