Skip to content

fix(qa): harden Mantis Telegram proof harness - #114429

Merged
steipete merged 2 commits into
mainfrom
codex/mantis-telegram-link-preview-harness
Jul 27, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/mantis-telegram-link-preview-harness

Conversation

@steipete

Copy link
Copy Markdown
Contributor

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

  • Current-main defect repro for the linked PR: the focused Telegram draft-stream test showed both sendMessage and editMessageText omit link_preview_options.
  • 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.mjs equivalent 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.
  • Codex autoreview — clean, no accepted/actionable findings.
  • Independent adversarial refuter — NO-ACTIONABLE-OBJECTION.

@steipete steipete self-assigned this Jul 27, 2026
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: M maintainer Maintainer-authored PR labels Jul 27, 2026
@steipete
steipete merged commit 45bad50 into main Jul 27, 2026
112 of 119 checks passed
@steipete
steipete deleted the codex/mantis-telegram-link-preview-harness branch July 27, 2026 08:33
@steipete

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

Labels

maintainer Maintainer-authored PR scripts Repository scripts size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant