free-claude-code/messaging/platforms
Ali Khokhar fae8a2a044
Remove over-engineering: drop tree_queue setter, _set_connected(), fi… (#63)
…x cancel_all() TOCTOU

- Remove tree_queue property setter (backward-compat hack; all callers
already migrated to replace_tree_queue()); keep property getter only
- Update 2 remaining tests that still used direct assignment to use
replace_tree_queue()
- Remove _set_connected() 1-line wrapper on DiscordPlatform; assign
_connected directly
- Fix cancel_all() TOCTOU: hold self._lock for the full loop so newly
created trees cannot slip through between the snapshot and cancellation

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-01 12:34:00 -08:00
..
__init__.py new linter rules and fixes 2026-02-18 04:13:41 -08:00
base.py Add message_thread_id support across messaging components 2026-02-18 16:10:57 -08:00
discord.py Remove over-engineering: drop tree_queue setter, _set_connected(), fi… (#63) 2026-03-01 12:34:00 -08:00
factory.py new linter rules and fixes 2026-02-18 04:13:41 -08:00
telegram.py Improve deterministic error surfacing across stream and API 2026-03-01 01:32:52 -08:00