From b0b0fb308d5bd8ee1620ea02a8cb8da9b79ed0a5 Mon Sep 17 00:00:00 2001 From: Ayaan Zaidi Date: Sat, 11 Apr 2026 08:48:11 +0530 Subject: [PATCH] feat(qa-lab): add telegram mentioned-message scenario --- .../telegram/telegram-live.runtime.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/extensions/qa-lab/src/live-transports/telegram/telegram-live.runtime.ts b/extensions/qa-lab/src/live-transports/telegram/telegram-live.runtime.ts index 9b01cf6822f..10f2373656e 100644 --- a/extensions/qa-lab/src/live-transports/telegram/telegram-live.runtime.ts +++ b/extensions/qa-lab/src/live-transports/telegram/telegram-live.runtime.ts @@ -37,6 +37,7 @@ type TelegramQaScenarioId = | "telegram-tools-compact-command" | "telegram-whoami-command" | "telegram-context-command" + | "telegram-mentioned-message-reply" | "telegram-mention-gating"; type TelegramQaScenarioRun = { @@ -224,6 +225,20 @@ const TELEGRAM_QA_SCENARIOS: TelegramQaScenarioDefinition[] = [ expectedTextIncludes: ["/context list", "Inline shortcut"], }), }, + { + id: "telegram-mentioned-message-reply", + title: "Telegram mentioned message gets a reply", + timeoutMs: 45_000, + buildRun: (sutUsername) => { + const token = `TELEGRAM_QA_REPLY_${randomUUID().slice(0, 8).toUpperCase()}`; + return { + expectReply: true, + input: `@${sutUsername} reply with only this exact marker: ${token}`, + expectedTextIncludes: [token], + matchText: token, + }; + }, + }, { id: "telegram-mention-gating", standardId: "mention-gating",