Repository navigation
fix(ui): running tools show unknown after history refresh - #185261
Merged
Merged
Conversation
Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 343e43c6-bb05-4c28-88e6-d160639d4550
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
roboclaw-bot
marked this pull request as ready for review
October 27, 2026 00:49
Use a recorded result for live-card retirement and keep unpaired calls out of unknown-outcome counts. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 84c9c8b5-f46a-4a61-910d-4567d2708192
Collaborator
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 27, 2026
…85261) * fix(ui): keep running tools active through history refresh Co-authored-by: steipete <[email protected]> * fix(ui): running tools show unknown after history refresh Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 343e43c6-bb05-4c28-88e6-d160639d4550 * test(ui): reconcile remaining tool outcome fixtures Use a recorded result for live-card retirement and keep unpaired calls out of unknown-outcome counts. Co-authored-by: steipete <[email protected]> * Publish openclaw/grand-crab-2 Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 84c9c8b5-f46a-4a61-910d-4567d2708192 --------- Co-authored-by: steipete <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #185254
What Problem This Solves
Fixes running tools showing “Outcome unknown” after chat history refresh, and call-only history being counted as an unknown execution outcome.
User Impact
Known tool activity keeps its purpose and Running state until an outcome receipt. Incomplete history says “No result available” without inventing success, failure, or an unknown outcome. Backing-session replacement still clears the previous session’s live facts.
Why This Change Was Made
A saved invocation was incorrectly sufficient to retire live execution state. Retirement now requires a result or terminal prepared receipt; provisional history remains distinct from execution outcomes across chat, completed-work summaries, and subagent activity.
Server replay-budget retention is unchanged. Missing replay facts do not establish whether a call is running or finished.
Evidence
scripts/perf/; no changed path was reported. A separate baseline scan was not run. This aggregate failure is retained, not marked green or hidden with an ignore/baseline.Before
Same fixture, with the bounded replay deliberately omitted: incomplete history is incorrectly labeled as an unknown outcome.
After
The same view preserves purpose and correctly reports unavailable result data. Known Running facts are separately verified through refresh and reload.
Restored active call and simplification
The change removes premature live-state retirement and the conflation of missing-page results with execution uncertainty. A shared card-to-activity adapter replaces duplicated conversion policy. Production delta: +70/−26 lines. No new registry, configuration, protocol version, persistence schema, or retention limit.
Worked on by
Work sessions