openclaw/src/telegram
Frank Yang e33d7fcd13
fix(telegram): prevent update offset skipping queued updates (#23284)
Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: 92efaf956b
Co-authored-by: frankekn <4488090+frankekn@users.noreply.github.com>
Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com>
Reviewed-by: @obviyus
2026-02-22 15:50:33 +05:30
..
bot test(core): use lightweight clear in cron, claude runner, and telegram delivery specs 2026-02-22 08:35:38 +00:00
accounts.test.ts test(core): trim redundant test resets and use mockClear 2026-02-22 08:12:55 +00:00
accounts.ts refactor(logging): migrate non-agent internal console calls to subsystem logger (#22964) 2026-02-21 17:44:00 -05:00
allowed-updates.ts feat(telegram): add channel_post support for bot-to-bot communication (#17857) 2026-02-17 14:44:18 +05:30
api-logging.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
audit.test.ts refactor(channels): dedupe message routing and telegram helpers 2026-02-22 07:44:57 +00:00
audit.ts perf(telegram): lazy import proxy + timeout deps in audit 2026-02-15 19:29:27 +00:00
bot-access.ts fix: enforce strict allowlist across pairing stores (#23017) 2026-02-22 00:00:23 +01:00
bot-handlers.ts fix: enforce strict allowlist across pairing stores (#23017) 2026-02-22 00:00:23 +01:00
bot-message-context.audio-transcript.test.ts refactor(channels): dedupe message routing and telegram helpers 2026-02-22 07:44:57 +00:00
bot-message-context.dm-threads.test.ts refactor(channels): dedupe transport and gateway test scaffolds 2026-02-16 14:59:31 +00:00
bot-message-context.dm-topic-threadid.test.ts Fix Telegram DM last-route metadata leakage (#19491) 2026-02-22 11:29:59 +05:30
bot-message-context.sender-prefix.test.ts refactor(channels): dedupe message routing and telegram helpers 2026-02-22 07:44:57 +00:00
bot-message-context.test-harness.ts fix: align draft/outbound typings and tests 2026-02-22 08:03:29 +00:00
bot-message-context.ts refactor(channels): dedupe message routing and telegram helpers 2026-02-22 07:44:57 +00:00
bot-message-dispatch.test.ts test(core): use lightweight clears in command and dispatch setup 2026-02-22 08:06:06 +00:00
bot-message-dispatch.ts fix: prevent Telegram preview stream cross-edit race (#23202) 2026-02-22 10:04:33 +05:30
bot-message.test.ts test(telegram): dedupe bot message processor call setup 2026-02-22 07:35:54 +00:00
bot-message.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
bot-native-command-menu.test.ts test: harden Telegram command menu sanitization coverage (#19703) 2026-02-18 09:16:31 +05:30
bot-native-command-menu.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
bot-native-commands.plugin-auth.test.ts test(telegram): drop redundant plugin auth mock resets 2026-02-22 07:35:54 +00:00
bot-native-commands.session-meta.test.ts test(telegram): centralize native command session-meta mock setup 2026-02-22 08:01:15 +00:00
bot-native-commands.test-helpers.ts test(telegram): dedupe native-command test setup 2026-02-22 07:48:43 +00:00
bot-native-commands.test.ts test(telegram): dedupe native-command test setup 2026-02-22 07:48:43 +00:00
bot-native-commands.ts refactor(channels): dedupe message routing and telegram helpers 2026-02-22 07:44:57 +00:00
bot-updates.ts fix(telegram): unify inbound handling for message-like updates (#20591) 2026-02-19 09:54:47 +05:30
bot.create-telegram-bot.test-harness.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
bot.create-telegram-bot.test.ts fix(telegram): prevent update offset skipping queued updates (#23284) 2026-02-22 15:50:33 +05:30
bot.helpers.test.ts refactor(config): unify streaming config across channels 2026-02-21 19:53:42 +01:00
bot.media.downloads-media-file-path-no-file-download.e2e.test.ts test(core): use lightweight clears in runtime and telegram setup 2026-02-22 08:09:14 +00:00
bot.media.e2e-harness.ts Tests: annotate exported vitest mocks 2026-02-14 15:22:11 -05:00
bot.media.includes-location-text-ctx-fields-pins.e2e.test.ts test(core): use lightweight clears in subagent and browser setup 2026-02-22 08:07:41 +00:00
bot.test.ts test(telegram): trim setup resets and table-drive edit fallback cases 2026-02-22 07:35:54 +00:00
bot.ts fix(telegram): prevent update offset skipping queued updates (#23284) 2026-02-22 15:50:33 +05:30
button-types.ts refactor(test): stabilize case tables and readonly helper inputs 2026-02-22 00:10:07 +01:00
caption.ts
draft-chunking.test.ts chore: Fix types in tests 24/N. 2026-02-17 14:30:36 +09:00
draft-chunking.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
draft-stream.test.ts test: dedupe telegram draft stream setup and extend state-dir env coverage 2026-02-22 07:46:17 +00:00
draft-stream.ts fix: align draft/outbound typings and tests 2026-02-22 08:03:29 +00:00
fetch.test.ts test(channels): use lightweight clears in probe and reaction setup 2026-02-22 07:35:55 +00:00
fetch.ts test: update tests and comments to reflect new autoSelectFamily default 2026-02-16 23:53:44 +01:00
format.test.ts test: dedupe channel and transport adapters 2026-02-21 21:44:01 +00:00
format.ts refactor(telegram): streamline file-ref wrapping and hoist regexes 2026-02-14 01:03:50 +01:00
format.wrap-md.test.ts refactor(test): stabilize case tables and readonly helper inputs 2026-02-22 00:10:07 +01:00
group-access.ts refactor(telegram): simplify send/dispatch/target handling (#17819) 2026-02-16 14:00:34 +05:30
group-config-helpers.ts refactor(channels): dedupe message routing and telegram helpers 2026-02-22 07:44:57 +00:00
group-migration.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
group-migration.ts refactor(telegram): simplify send/dispatch/target handling (#17819) 2026-02-16 14:00:34 +05:30
inline-buttons.test.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
inline-buttons.ts refactor(telegram): simplify send/dispatch/target handling (#17819) 2026-02-16 14:00:34 +05:30
model-buttons.test.ts chore(tsgo/format): fix CI errors 2026-02-21 17:51:56 -05:00
model-buttons.ts refactor(test): stabilize case tables and readonly helper inputs 2026-02-22 00:10:07 +01:00
monitor.test.ts chore: Fix types in tests 24/N. 2026-02-17 14:30:36 +09:00
monitor.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
network-config.test.ts test(core): use lightweight clears in runtime and telegram setup 2026-02-22 08:09:14 +00:00
network-config.ts fix(telegram): disable autoSelectFamily by default on WSL2 (#21916) 2026-02-22 10:54:49 +05:30
network-errors.test.ts fix(telegram): recover from grammY "timed out" long-poll errors (#7239) 2026-02-02 22:37:22 +00:00
network-errors.ts fix(telegram): recover from grammY "timed out" long-poll errors (#7239) 2026-02-02 22:37:22 +00:00
outbound-params.ts refactor(telegram): share outbound param parsing 2026-02-15 01:15:43 +00:00
probe.test.ts test(telegram): scope fake timers in probe retry tests 2026-02-22 07:35:54 +00:00
probe.ts fix: dedupe probe/token base types (#16986) (thanks @iyoda) 2026-02-15 11:36:54 -06:00
proxy.test.ts fix: honor Telegram proxy dispatcher (#4456) (thanks @spiceoogway) 2026-01-30 14:38:39 +05:30
proxy.ts refactor(telegram): avoid double-wrapping proxy fetch 2026-02-16 08:24:55 -05:00
reaction-level.test.ts refactor(channels): dedupe message routing and telegram helpers 2026-02-22 07:44:57 +00:00
reaction-level.ts refactor(reactions): share reaction level resolver 2026-02-14 15:39:45 +00:00
reasoning-lane-coordinator.test.ts refactor(text): share code-region parsing for reasoning tags 2026-02-22 07:44:57 +00:00
reasoning-lane-coordinator.ts refactor(text): share code-region parsing for reasoning tags 2026-02-22 07:44:57 +00:00
send.proxy.test.ts test(telegram): table-drive proxy client assertions and trim resets 2026-02-22 07:35:54 +00:00
send.test-harness.ts perf(test): consolidate telegram send suites 2026-02-15 23:14:42 +00:00
send.test.ts test(telegram): trim setup resets and table-drive edit fallback cases 2026-02-22 07:35:54 +00:00
send.ts refactor(logging): migrate non-agent internal console calls to subsystem logger (#22964) 2026-02-21 17:44:00 -05:00
sent-message-cache.ts chore: Dedupe sent-message cache storage (#22127) 2026-02-21 12:34:59 +05:30
status-reaction-variants.test.ts fix: preselect Telegram-supported status reaction variants (#22380) 2026-02-21 09:20:20 +05:30
status-reaction-variants.ts fix: preselect Telegram-supported status reaction variants (#22380) 2026-02-21 09:20:20 +05:30
sticker-cache.test.ts perf(test): speed up Vitest bootstrap 2026-02-14 12:13:27 +00:00
sticker-cache.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
targets.test.ts refactor(telegram): simplify send/dispatch/target handling (#17819) 2026-02-16 14:00:34 +05:30
targets.ts refactor(telegram): simplify send/dispatch/target handling (#17819) 2026-02-16 14:00:34 +05:30
token.test.ts refactor(test): reuse state-dir helper in telegram tests 2026-02-21 13:02:12 +00:00
token.ts fix: dedupe probe/token base types (#16986) (thanks @iyoda) 2026-02-15 11:36:54 -06:00
update-offset-store.test.ts refactor(test): reuse state-dir helper in telegram tests 2026-02-21 13:02:12 +00:00
update-offset-store.ts fix(telegram): clean up update offset on channels remove --delete (#18233) 2026-02-16 23:53:06 +01:00
voice.test.ts fix(media): recognize MP3 and M4A as voice-compatible audio (#15438) 2026-02-14 03:03:02 +01:00
voice.ts refactor(media): centralize voice compatibility policy 2026-02-14 03:17:40 +01:00
webhook.test.ts test: stabilize infra tests 2026-02-16 22:37:34 -05:00
webhook.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00