diff options
| author | Noah Zweben <noahz@anthropic.com> | 2026-04-14 12:47:13 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-14 12:47:13 -0700 |
| commit | 7e401edac7ca6449c4f549fda9e1b43385496bef (patch) | |
| tree | eefa720680910e5053f1f51d2f08bef415f46dcf /plugins/commit-commands | |
| parent | 7f3389d21fa96dfdc03d381f8f6dd93a0ae8ef21 (diff) | |
fix(telegram): retry polling on all transient errors, not just 409 (#1397)
A single ETIMEDOUT/ECONNRESET/DNS failure during long-polling rejected
bot.start(); the catch block returned and polling stopped permanently.
The MCP server process stayed alive (stdin keeps it running), so outbound
reply/react tools kept working — but the bot was deaf to inbound messages
until a full restart. Users see 'typing...' then nothing, indistinguishable
from the harness-side gate bug.
Now all errors retry with the same capped backoff (max 15s). attempt resets
to 0 in onStart so backoff doesn't accumulate across a long-running session.
Co-authored-by: Claude <noreply@anthropic.com>
Diffstat (limited to 'plugins/commit-commands')
0 files changed, 0 insertions, 0 deletions
