picoclaw/pkg/bus
Hoshina 94f59fbcab fix: address PR #662 review comments (bus drain, context timeouts, onebot leak)
- Drain buffered messages in MessageBus.Close() so they aren't silently lost
- Replace all context.TODO() with context.WithTimeout(5s) across 7 call sites
- Fix OneBot pending channel leak: send nil sentinel in Stop() and handle
  nil response in sendAPIRequest() to unblock waiting goroutines
2026-02-24 12:10:45 +08:00
..
bus.go fix: address PR #662 review comments (bus drain, context timeouts, onebot leak) 2026-02-24 12:10:45 +08:00
bus_test.go refactor(bus): fix deadlock and concurrency issues in MessageBus 2026-02-24 12:10:45 +08:00
types.go feat(identity): add unified user identity with canonical platform:id format 2026-02-24 12:10:45 +08:00