Skip to content

fix(logbook): clear obsolete errors when retrying actions - #199459

Closed
roboclaw-bot wants to merge 45 commits into
mainfrom
openclaw/calm-lobster-6
Closed

roboclaw-bot wants to merge 45 commits into
mainfrom
openclaw/calm-lobster-6

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes: Logbook retains an earlier failure while showing a successful Ask or Daily standup retry.

User Impact

Retrying an action removes its obsolete failure without hiding an independent timeline-read error. Questions and expanded activity details remain intact.

Why This Change Was Made

The existing Logbook owner records which operation owns its single error and retires only the retried operation’s feedback. Request admission, permissions, capture behavior, and durable state are unchanged. The existing single-error, last-writer presentation remains unchanged.

Evidence

  • Compiled Control UI regression fails on pinned main b9036d4f002d4a5a2d7146fe5b79766d550820e8 and passes with the fix, including held retries and successful Ask/Standup responses.
  • An independent timeline failure remains visible after Ask succeeds, even when its text matches the earlier Ask failure.
  • 25 existing sibling tests pass; production UI and changed-test typechecks, scoped lint, formatting, and diff checks pass.
  • Fresh coordinator review inspected the complete changed owner, action caller, regression, original history, test receipts, and actual screenshots. No actionable patch findings. Automated review and remote CI are not claimed complete.
  • Synthetic Gateway fixtures in the actual compiled app, not live model or capture calls. Browser proof: 13.65 seconds including the production build. Screenshots are cropped from a 1280×1000 viewport.

Work sessions

Linked for team reference; these sessions aren’t public.

Worked on by

roboclaw-bot and others added 30 commits November 14, 2026 17:57
Keep unknown desktop availability distinct from a confirmed missing desktop. Preserve setup guidance after a successful catalog read and existing pairing and permission controls.

Co-authored-by: vyctorbrzezowski <[email protected]>
Treat a matching complete tool result as available even when it contains only an image. Hide text export actions when there is no text to export, while retaining captured text and recovery for genuinely unavailable results.

Co-authored-by: vyctorbrzezowski <[email protected]>
Keep membership failures visible without claiming that no people are paired. Preserve accepted rosters and the existing reopen recovery on desktop and phone.

Co-authored-by: vyctorbrzezowski <[email protected]>
Use the existing dirty state so read errors and reverted edits do not ask users to copy a nonexistent draft. Preserve conflict recovery for meaningful edits, including deletion.

Co-authored-by: vyctorbrzezowski <[email protected]>
Keep the selected memory engine neutral while its catalog is loading. Preserve actual disconnected recovery and the current engine selection.

Co-authored-by: vyctorbrzezowski <[email protected]>
Retain accepted status after refresh failures while letting a failed first read reach the existing error boundary. Preserve actual empty results and Refresh recovery.

Co-authored-by: vyctorbrzezowski <[email protected]>
Use the existing provider-read error to suppress unsupported empty-inventory guidance. Preserve the real failure, Retry, successful empty reads and separately failed usage reporting.

Co-authored-by: vyctorbrzezowski <[email protected]>
Use the existing model catalog readiness in installed-agent rows before falling back to sign-in advice. Retain real rejected credentials, unavailable models, confirmed no-model guidance and the neutral installed status.

Co-authored-by: vyctorbrzezowski <[email protected]>
Share the Models page distinction between routine OAuth expiry and actual credential failure with the Inbox. Preserve missing credentials, failed refreshes, static-token warnings, mixed inventory and agent-scoped dismissal behavior.

Co-authored-by: vyctorbrzezowski <[email protected]>
Keep the existing loading or failed directory state instead of claiming no matching people. Preserve real no-match results, known owners, and retry in desktop and mobile session assignment.

Co-authored-by: vyctorbrzezowski <[email protected]>
Keep the known Labs preference after a confirmed validation refusal. Preserve failed-read, stale-connection and uncertain-write recovery, and retain the actual save error.

Co-authored-by: vyctorbrzezowski <[email protected]>
Keep the remote catalog warning and retry instead of claiming an incomplete search found no plugins. Preserve partial local matches and successful empty searches.

Co-authored-by: vyctorbrzezowski <[email protected]>
Do not color an undefined cache hit rate as poor performance when no input tokens exist. Preserve measured low, moderate and high cache-rate tones.

Co-authored-by: vyctorbrzezowski <[email protected]>
Keep date-scoped unknown inventories distinct from accepted empty choices on desktop and phone. Preserve selected values, search input, genuine no-match results, errors and recovery.

Co-authored-by: vyctorbrzezowski <[email protected]>
Keep missing status snapshots distinct from accepted unconfigured channels. Preserve actual status failures, Check connection and known configured/running/attention states.

Co-authored-by: vyctorbrzezowski <[email protected]>
Let accepted snapshots own pairing empty states. Read feedback keeps real errors and loading without inventing an empty inventory; retain cached rows, Refresh and pairing permissions.

Co-authored-by: vyctorbrzezowski <[email protected]>
Preserve unreported linkage and runtime facts in the packaged Settings view, including stabilizing auth. Keep observed false values, real errors and login/logout actions; hide only an empty facts disclosure.

Co-authored-by: vyctorbrzezowski <[email protected]>
roboclaw-bot and others added 15 commits November 14, 2026 23:53
Preserve an unknown Everyone count at the existing Activity projection owner. Keep accepted zero and populated counts, page fallbacks, filters and real error recovery unchanged.

Co-authored-by: vyctorbrzezowski <[email protected]>
Project unknown snapshot discovery without hiding accepted worker facts or changing rebuild/recovery admission. Retain real cold states, optional-plugin behavior, error recovery and existing ready timestamps.

Co-authored-by: vyctorbrzezowski <[email protected]>
Preserve pending and failed health as unknown while retaining accepted provider guidance through refresh. Keep source admission and recovery unchanged.

Co-authored-by: vyctorbrzezowski <[email protected]>
Keep card results and filter counts unknown until inventory has been accepted, while preserving retained cards and existing recovery controls.

Co-authored-by: vyctorbrzezowski <[email protected]>
Track accepted session results separately from retained board metadata, preserving known results during refresh and genuine error recovery.

Co-authored-by: vyctorbrzezowski <[email protected]>
Use the existing inline error for Sessions-board edits instead of also mounting the Cards-board toast. Preserve page errors, failed drafts and correction/retry.

Co-authored-by: vyctorbrzezowski <[email protected]>
Keep the current assignment neutral when no agent roster is available. Retain confirmed missing-agent labels, default choices and real refresh recovery.

Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: bea9793e-fedc-4e3c-90a4-86af1da33bf9
@clawsweeper

clawsweeper Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant