#21081: WIP: gateway + telegram local stability investigation
channel: telegram
cli
scripts
agents
size: M
Cluster:
Gateway and macOS Improvements
## Scope\n- checkpoint local gateway/telegram troubleshooting changes for review\n- include lock-handling fixes and Telegram command registration fixes\n- include local source-run helper scripts for reproducible startup\n\n## Notes\n- this is intentionally a draft for comparison against upstream main\n- follow-up is to isolate provider/config-only deltas and trim code changes\n\n## Validation run\n-
RUN v4.0.18 /Users/nv/repos/openclaw/openclaw
✓ src/auto-reply/reply.triggers.trigger-handling.handles-inline-commands-strips-it-before-agent.e2e.test.ts (4 tests) 5338ms
Test Files 1 passed (1)
Tests 4 passed (4)
Start at 11:44:16
Duration 5.60s (transform 3.26s, setup 121ms, import 22ms, tests 5.34s, environment 11ms)\n-
RUN v4.0.18 /Users/nv/repos/openclaw/openclaw
✓ src/cli/gateway.sigterm.e2e.test.ts (1 test) 879ms
✓ exits 0 on SIGTERM 878ms
Test Files 1 passed (1)
Tests 1 passed (1)
Start at 11:44:22
Duration 1.13s (transform 95ms, setup 114ms, import 5ms, tests 879ms, environment 13ms)\n
Most Similar PRs
#12234: gateway: incident tracking, recover command, and ciao ERR_SERVER_CL...
by levineam · 2026-02-09
71.0%
#11455: fix(gateway): default gateway.mode to local when unset
by AnonO6 · 2026-02-07
67.5%
#11788: feat: inter-agent communication via CLI scripts
by jingkang0822 · 2026-02-08
67.1%
#20420: Telegram webhook listener to use the gateway's HTTP server instead ...
by kesor · 2026-02-18
66.1%
#22716: fix: gateway status probe uses wss:// when TLS enabled; accept self...
by Fratua · 2026-02-21
65.4%
#8713: feat: gateway memory monitor, install linger, docs and failover
by quratus · 2026-02-04
65.0%
#16736: fix: stagger multi-account channel startup to avoid Discord rate li...
by rm289 · 2026-02-15
64.6%
#8166: fix(telegram): lifecycle fixes for duplicate messages and auto-reco...
by cheenu1092-oss · 2026-02-03
64.4%
#19885: test(gateway,browser): isolate tests from ambient OPENCLAW_GATEWAY_...
by NewdlDewdl · 2026-02-18
64.1%
#21944: feat(gateway): crash-loop protection with escalating backoff
by Protocol-zero-0 · 2026-02-20
64.0%