Files
openclaw/extensions
Elian b9f48707dc fix(feishu): prevent silent group message drops when bot-info probe times out
When OpenClaw restarts under load, the Feishu bot-info probe
(`/open-apis/bot/v3/info`) can exceed the 10-second timeout due to
event-loop contention during channel initialization. This leaves
`botOpenId` empty, causing `checkBotMentioned()` to return `false`
for every group message — silently dropping them all while DMs
continue to work fine.

Two fixes:

1. **Increase startup probe timeout from 10s to 30s** and make it
   configurable via `OPENCLAW_FEISHU_STARTUP_PROBE_TIMEOUT_MS` env var.
   The previous 10s budget was too tight when multiple channels
   (Slack, Discord, Feishu) initialize concurrently.

2. **Graceful degradation in `checkBotMentioned()`**: when `botOpenId`
   is unknown, return `true` (assume mentioned) instead of `false`.
   This prevents group messages from being silently discarded when the
   probe fails for any reason. The trade-off is that the bot may
   respond to non-@-mentioned messages temporarily until the next
   successful probe, which is far preferable to total silence.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 16:55:37 -07:00
..
2026-03-22 11:58:33 -07:00
2026-03-22 11:58:33 -07:00
2026-03-22 11:58:33 -07:00
2026-03-23 14:32:10 +00:00
2026-03-23 14:32:10 +00:00
2026-03-22 11:58:33 -07:00
2026-03-22 11:58:33 -07:00
2026-03-22 11:58:33 -07:00
2026-03-22 11:58:33 -07:00
2026-03-23 14:32:10 +00:00
2026-03-22 11:58:33 -07:00
2026-03-22 17:51:29 -07:00