picoclaw/pkg
Hoshina fc28c2660a fix(whatsapp_native): close TOCTOU race between eventHandler and Stop
Move the stopping check and wg.Add(1) inside reconnectMu in
eventHandler, and set the stopping flag under the same lock in Stop().
This makes the two operations atomic with respect to each other,
preventing the race where:
1. eventHandler checks stopping (false)
2. Stop() sets stopping=true and enters wg.Wait() (wg is 0)
3. eventHandler calls wg.Add(1) → panic or goroutine leak
2026-02-28 12:38:07 +08:00
..
agent fix(whatsapp_native,agent): address PR #884 review feedback 2026-02-28 03:05:23 +08:00
auth merge: resolve conflicts with main 2026-02-25 21:53:04 +08:00
bus feat: Add reasoning_channel_id to communication platform configurations and improve message bus context cancellation handling. 2026-02-27 16:58:42 +08:00
channels fix(whatsapp_native): close TOCTOU race between eventHandler and Stop 2026-02-28 12:38:07 +08:00
config fix(config): keep empty agents.defaults.model in saved config 2026-02-28 00:18:10 +08:00
constants refactor: replace bool map with set-style map for internal channels (#472) 2026-02-19 11:48:17 +01:00
cron style: fix gci import grouping in config, cron, and skills installer 2026-02-26 20:38:11 +08:00
devices refactor: cleanup dead code and turn on dead code detection in CI (#515) 2026-02-24 21:52:25 +08:00
fileutil refactor(pkg): move atomic file write to dedicated fileutil package 2026-02-24 23:57:13 +08:00
health refactor(channels): consolidate HTTP servers into shared server managed by Manager 2026-02-23 02:39:09 +08:00
heartbeat Merge branch 'sipeed:main' into reasoning-chnl 2026-02-27 14:50:14 +05:30
identity feat(identity): add unified user identity with canonical platform:id format 2026-02-23 06:56:48 +08:00
logger enable prealloc 2026-02-25 21:31:07 +11:00
media fix(media): separate import groups for gci linter 2026-02-26 22:45:59 +09:00
migrate Merge branch 'refactor/channel-system' into main 2026-02-27 20:04:08 +08:00
providers Merge pull request #824 from 0xYiliu/fix/issue-783-fallback-alias-resolution 2026-02-28 00:25:18 +08:00
routing feat(identity): add unified user identity with canonical platform:id format 2026-02-23 06:56:48 +08:00
session feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
skills style: fix gci import grouping in config, cron, and skills installer 2026-02-26 20:38:11 +08:00
state refactor(pkg): move atomic file write to dedicated fileutil package 2026-02-24 23:57:13 +08:00
tools Merge branch 'sipeed:main' into reasoning-chnl 2026-02-27 14:50:14 +05:30
utils Update test case for unicode letters preservation 2026-02-27 20:20:58 +08:00
voice feat(linter): Fix govet linter 2026-02-20 22:35:16 +02:00