Skip to content

fix(test): Telegram loopback rejects compact answered results - #197068

Merged
roboclaw-bot merged 2 commits into
mainfrom
openclaw/plaid-prawn
Nov 11, 2026
Merged

roboclaw-bot merged 2 commits into
mainfrom
openclaw/plaid-prawn

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • Scheduled run 42959288749, job 130322099484 identifies the exact assertion at loopback-ask-user-telegram-channel.test.ts:242: isError is false and status is answered, but compact JSON lacks the expected spaces.
  • Source-extracted execution of the actual answeredResult confirms the old pretty substring fails and the compact substring passes, with readable Choice: Staging and structured answered status preserved. This is renderer-boundary proof, not complete Telegram/MCP E2E.
  • Touched-file formatting and git diff --check pass. Independent isolated Codex autoreview through P2 completed scoped-clean with no findings.
  • Exact-head CI 42969261762 passed at 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.
  • No workflow dispatch, rerun, production-host browser, broad local suite, dependency staging or Gateway changes.

Worked on by

roboclaw-bot and others added 2 commits November 11, 2026 05:58
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
@clawsweeper

clawsweeper Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review in progress

ClawSweeper is reviewing this revision. This supersedes any previous blocked status.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 11, 2026
@roboclaw-bot
roboclaw-bot merged commit 16ab400 into main Nov 11, 2026
87 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/plaid-prawn branch November 11, 2026 06:16
@roboclaw-bot

Copy link
Copy Markdown
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant