mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-18 13:23:33 +08:00
Telegram polling stopped consuming updates when all IM adapters were loaded into the same desktop sidecar process. Launch each IM platform as its own sidecar process so Telegram keeps an isolated long-polling consumer while Feishu, WeChat, and DingTalk manage their own SDK loops independently. Constraint: Telegram Bot API long polling needs one healthy consumer per token and should not share lifecycle with other IM SDKs Rejected: Keep one combined adapter process | reproduced pending Telegram updates until Telegram was launched alone Confidence: high Scope-risk: moderate Directive: Keep IM adapter process ownership isolated unless cross-platform lifecycle tests prove a merged process is safe Tested: cargo fmt --check Tested: cargo check Tested: bun run check:native Tested: ./desktop/scripts/build-macos-arm64.sh Tested: Computer Use launched built app and sent Telegram smoke message with pending_update_count=0 Not-tested: Automated Feishu, WeChat, or DingTalk live message delivery after process split