Repository navigation
fix(test): expect compact JSON from declared tool plugins - #197222
Merged
Merged
Conversation
Complete the consumer expectation cutover from #196756. Keep full result equality, original typed details and all registration/config assertions. Actual affected test fails before correction; both helper and plugin files pass all six tests after correction. Co-authored-by: steipete <[email protected]> Co-authored-by: obviyus <[email protected]>
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review endedClawSweeper stopped reviewing this revision because the pull request closed. |
Collaborator
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 12, 2026
…97222) Complete the consumer expectation cutover from openclaw#196756. Keep full result equality, original typed details and all registration/config assertions. Actual affected test fails before correction; both helper and plugin files pass all six tests after correction. Co-authored-by: obviyus <[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.
What Problem This Solves
Fixes declared-tool plugin CI still expecting indented JSON after #196756 intentionally made model-facing tool results compact.
User Impact
No production change. Preserve compact model-facing text and unchanged structured details.
Why This Change Was Made
The shared serializer and SDK documentation explicitly require compact JSON. Update only the independent expected text literal; retain full-result equality, typed details, schema, configuration and tool-registration assertions. Do not restore indentation or add a plugin-specific serializer.
Contributor credit: Peter Steinberger and Ayaan (obviyus).
Work sessions
Linked for team reference; these sessions aren’t public.
Evidence