Description
After upgrading from 2026.2.15 to 2026.2.17, the Slack channel crashes immediately on startup.
Error: [default] channel exited: Cannot read properties of undefined (reading 'listeners')
Channel enters crash loop (1/10 → 2/10...). Worked fine on 2026.2.15.
Environment
- OpenClaw: 2026.2.17
- Node: v22.22.0
- OS: macOS Darwin 25.2.0 (arm64)
- Slack mode: Socket Mode
@slack/bolt: 4.6.0 (same version as 2026.2.15 — not a bolt upgrade issue)
Steps to Reproduce
- Upgrade 2026.2.15 → 2026.2.17
- Start gateway with Slack Socket Mode configured
- Channel crashes ~350-400ms after start (before any network I/O completes)
Workaround Attempted
- Added
streaming: false to Slack channel config — crash persists
Suspect
Likely the new Slack streaming code (#9972 / #18555). Something in the new initialization path accesses .listeners on an undefined object. No stack trace in logs — source maps would help pinpoint.
Log
[default] starting provider
[default] channel exited: Cannot read properties of undefined (reading 'listeners')
[default] auto-restart attempt 1/10 in 5s