Repository navigation
fix(qa): harden Mantis Telegram proof harness - #114429
Merged
Merged
Conversation
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 28, 2026
* fix(qa): harden Mantis Telegram proof harness * fix(qa): require explicit Mantis dispatch
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: #114125
What Problem This Solves
Fixes an issue where Mantis Telegram Desktop proof could stop before exercising a PR when the Codex user lacked the repository Node/pnpm toolchain, and where a link-preview scenario required an ad-hoc post-start config rewrite that could drift from the tested worktree.
Why This Change Was Made
The Telegram real-user proof runner now accepts an explicit link-preview setting and a delayed two-delta mock response, so initial sends and later in-place edits are both exercisable before Gateway startup. The workflow prepares exact baseline/candidate worktrees with a pinned toolchain before agent secrets are available; fork builds run as a restricted user with an empty environment and post-build integrity checks. The SUT and cleanup paths also use the pinned executables rather than ambient PATH resolution.
User Impact
Maintainers can obtain honest native Telegram before/after evidence for streamed link-preview behavior instead of receiving a capture-infrastructure failure manifest. This changes QA infrastructure only.
Evidence
node scripts/run-vitest.mjs test/scripts/telegram-user-crabbox-proof.test.ts test/scripts/mantis-telegram-desktop-proof-workflow.test.ts test/scripts/e2e-mock-config-limits.test.ts— 71 tests passed.actionlint .github/workflows/mantis-telegram-desktop-proof.yml— passed.node scripts/check-changed.mjsequivalent under the documented local Node 24 fallback — passed script/root typecheck, lint, formatting, declarations, dependency and tooling guards. Blacksmith Testbox allocation was blocked by an HTTP 429 workflow-fetch failure.NO-ACTIONABLE-OBJECTION.