fix(qa-lab): disable Telegram token URL capture · openclaw/openclaw@819b1a3
vincentkoc
·
2026-06-20
·
via Recent Commits to openclaw:main
File tree
extensions/qa-lab/src/live-transports/telegram
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1198,6 +1198,9 @@ describe("telegram live qa runtime", () => {
|
1198 | 1198 | id: 42, |
1199 | 1199 | }); |
1200 | 1200 | expect(timeoutSpy).toHaveBeenCalledWith(25); |
| 1201 | +expect(fetchWithSsrFGuardMock.mock.calls.at(-1)?.[0]).toMatchObject({ |
| 1202 | +capture: false, |
| 1203 | +}); |
1201 | 1204 | expect(signal).toBe(controller.signal); |
1202 | 1205 | expect(signal?.aborted).toBe(false); |
1203 | 1206 | controller.abort(); |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -936,6 +936,7 @@ async function callTelegramApi<T>(
|
936 | 936 | timeoutMs: requestTimeoutMs, |
937 | 937 | policy: { hostnameAllowlist: ["api.telegram.org"] }, |
938 | 938 | auditContext: "qa-lab-telegram-live", |
| 939 | +capture: false, |
939 | 940 | }); |
940 | 941 | try { |
941 | 942 | const payload = (await response.json()) as TelegramApiEnvelope<T>; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。