Repository navigation
fix(test): Telegram loopback rejects compact answered results - #197068
Merged
Merged
Conversation
Preserve #196756 compact model-visible JSON contract and all prompt, answer, authority and cleanup assertions. Co-authored-by: steipete <[email protected]> Co-authored-by: obviyus <[email protected]>
Worked on by: - @obviyus - @steipete Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 3f8789e0-6718-835f-ac55-cf477b2e0a92
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. |
Collaborator
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 12, 2026
…aw#197068) Align the Telegram loopback assertion with the compact answered-result text intentionally introduced by openclaw#196756. Preserve the exact answered status, successful text result, Bot API prompt and authority/cleanup assertions. No production, retry or timeout changes. Co-authored-by: steipete <[email protected]> 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.
Related: #196756
What Problem This Solves
Fixes the Telegram loopback check rejecting a successful answered result because it expects pretty-printed JSON whitespace.
User Impact
No product behavior changes. The existing test retains its answered-status, success, prompt-delivery, authority and cleanup guarantees.
Why This Change Was Made
#196756 intentionally changed model-visible tool JSON to compact text while preserving payload data and readable answer lines. Match that exact compact answered-status substring; keep every surrounding assertion intact. One test line replaced, zero net test growth. No retries, timeouts, skips, baselines, production or configuration changes.
Contributor credit: @obviyus and @steipete.
Work sessions
Linked for team reference; these sessions aren’t public.
Evidence
loopback-ask-user-telegram-channel.test.ts:242:isErroris false and status is answered, but compact JSON lacks the expected spaces.answeredResultconfirms the old pretty substring fails and the compact substring passes, with readableChoice: Stagingand structured answered status preserved. This is renderer-boundary proof, not complete Telegram/MCP E2E.git diff --checkpass. Independent isolated Codex autoreview through P2 completed scoped-clean with no findings.20078d7b50c43b4d3caca19e39d5db3c77a3f111, including selected changed-file and boundary tests, test types, lint and baseline ratchets. Local full integration could not collect because this independent checkout lacks dependencies; no guard bypass or local integration-pass claim.Worked on by