Skip to content

Commit 9ade171

Browse files
committed
fix(telegram): keep isolated-ingress readiness marker on the runtime log
test/e2e/qa-lab telegram-bot-token-runtime waits for this line via the injected RuntimeEnv.log; verbose-only logging would deterministically time out that live proof. Comment the contract at the call site.
1 parent 0bce4b6 commit 9ade171

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎extensions/telegram/src/polling-session.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
import {
1212
computeBackoff,
1313
formatDurationPrecise,
14-
logVerbose,
1514
sleepWithAbort,
1615
} from "openclaw/plugin-sdk/runtime-env";
1716
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
@@ -1232,8 +1231,9 @@ export class TelegramPollingSession {
12321231
.catch(() => undefined);
12331232
return stopWorkerPromise;
12341233
};
1235-
// Routine startup detail; only failures/stops below warrant info-level output.
1236-
logVerbose(`[telegram][diag] isolated polling ingress started spool=${spoolDir}`);
1234+
// Readiness contract: test/e2e/qa-lab telegram-bot-token-runtime waits for
1235+
// this marker on the injected runtime log; do not demote it to verbose.
1236+
this.opts.log(`[telegram][diag] isolated polling ingress started spool=${spoolDir}`);
12371237
const pollState: {
12381238
startedAt: number | null;
12391239
offset: number | null;

0 commit comments

Comments
 (0)