Repository navigation
Show queued and no-op tool results as outcomes, not failures - #303
Merged
Merged
Conversation
The run timeline marked every tool status other than "ok" as failed, so a draw_image call that queued its job rendered in the failure tone. Tool results use five statuses (ok, executed, queued, noop, failed); only "failed" is a failure. The badge now takes its tone from the status.
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.
Problem
After #302 was deployed, the LLM run timeline showed a
draw_imagecall that had queued its job in the failure tone: a red step, a redqueuedbadge and a red waterfall bar. Both renderers treated any tool status other thanokas a failure.Change
Tool results use five statuses, defined in
openplotva-dialog(TOOL_RESULT_STATUS_*):ok,executed,queued,noopandfailed. Onlyfailednow sets the failure tone. The status badge takes its tone from the status:ok,executedqueuednoopand unknown statusesfailedVerification
cargo test -p openplotva-web: 21 passed. Theindex.htmlsha256 is updated.node --checkon every inline script: no errors.draw_imagerun. The step has no failure tone, the badge isbadge-info, and the waterfall bar uses the tool colour.