Commit 8f26eb9
fix(telegram): address PR review comments for sendChatAction retry
- Add strictShouldRetry: true to prevent 429 errors from being retried
via TELEGRAM_RETRY_RE fallback regex
- Rename MAX_SEND_CHAT_ACTION_RETRIES to MAX_SEND_CHAT_ACTION_ATTEMPTS
since 'attempts' represents total call count, not retry count
- Always log typing failures (remove opts.verbose guard) so production
issues are visible
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 726d88f commit 8f26eb9
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1029 | 1029 | | |
1030 | 1030 | | |
1031 | 1031 | | |
1032 | | - | |
| 1032 | + | |
1033 | 1033 | | |
1034 | 1034 | | |
1035 | 1035 | | |
| |||
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
1064 | | - | |
| 1064 | + | |
1065 | 1065 | | |
1066 | 1066 | | |
1067 | 1067 | | |
| |||
1073 | 1073 | | |
1074 | 1074 | | |
1075 | 1075 | | |
| 1076 | + | |
1076 | 1077 | | |
1077 | 1078 | | |
1078 | 1079 | | |
| |||
1089 | 1090 | | |
1090 | 1091 | | |
1091 | 1092 | | |
1092 | | - | |
1093 | | - | |
1094 | | - | |
1095 | | - | |
1096 | | - | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
1097 | 1096 | | |
1098 | 1097 | | |
1099 | 1098 | | |
| |||
0 commit comments