Description
Feishu channel stops working starting from version 2026.5.27. Messages are received via WebSocket but dispatch to the agent fails with:
TypeError: Cannot read properties of undefined (reading 'run')
The root cause is that setFeishuRuntime() is exported from runtime-CjGuNoJc.js but never called anywhere in the codebase. This means getFeishuRuntime() returns undefined, and when monitor.account-BHNU313T.js tries to call core.channel.inbound.run(...), it throws.
Steps to Reproduce
- Install OpenClaw 2026.5.27+ (also reproduced on 2026.5.28-beta.1)
- Configure a Feishu channel with WebSocket connection mode
- Send a message to the bot from Feishu
- Gateway receives the message but fails to dispatch
Logs
feishu[default]: received message from ou_xxx in oc_xxx (p2p)
feishu[default]: dispatching to agent (session=agent:main:feishu:direct:ou_xxx)
feishu[default]: failed to dispatch message: TypeError: Cannot read properties of undefined (reading 'run')
Root Cause
In monitor-BBAkUIze.js, the monitorFeishuProvider function is called, but setFeishuRuntime(opts.runtime) is never invoked before monitorSingleAccount runs. Inside monitorSingleAccount, the code calls getFeishuRuntime() which returns undefined because the runtime was never set.
Workaround
Downgrading to OpenClaw 2026.5.22 (or earlier) fixes the issue. Confirmed working on 2026.5.18.
Environment
- OpenClaw versions affected: 2026.5.27, 2026.5.28-beta.1
- Last working version: 2026.5.22 (confirmed), 2026.5.18 (confirmed)
- macOS, Node 22.22.2
- Feishu connection mode: WebSocket
Description
Feishu channel stops working starting from version 2026.5.27. Messages are received via WebSocket but dispatch to the agent fails with:
The root cause is that
setFeishuRuntime()is exported fromruntime-CjGuNoJc.jsbut never called anywhere in the codebase. This meansgetFeishuRuntime()returnsundefined, and whenmonitor.account-BHNU313T.jstries to callcore.channel.inbound.run(...), it throws.Steps to Reproduce
Logs
Root Cause
In
monitor-BBAkUIze.js, themonitorFeishuProviderfunction is called, butsetFeishuRuntime(opts.runtime)is never invoked beforemonitorSingleAccountruns. InsidemonitorSingleAccount, the code callsgetFeishuRuntime()which returnsundefinedbecause the runtime was never set.Workaround
Downgrading to OpenClaw 2026.5.22 (or earlier) fixes the issue. Confirmed working on 2026.5.18.
Environment