botserver/src/basic
Rodrigo Rodriguez (Pragmatismo) 61642343a8
Some checks are pending
BotServer CI/CD / build (push) Waiting to run
fix: replace all block_in_place with std:🧵:spawn to fix nested runtime panic
Root cause: block_in_place + new_current_thread().block_on() panics when
called from within tokio runtime (including spawn_blocking). Tokio doesn't
allow nested block_on() calls.

Fix: Replace ALL block_in_place patterns with std:🧵:spawn + mpsc channel.
This creates a completely separate OS thread with its own runtime, avoiding
any nesting issues. Works from any context: async, spawn_blocking, or sync.

Files: 14 files across secrets, utils, state, calendar, analytics, email,
and all keyword handlers (universal_messaging, search, book, create_draft,
create_site, hearing/syntax, use_tool, find, admin_email, goals)
2026-04-03 12:54:36 -03:00
..
compiler
keywords fix: replace all block_in_place with std:🧵:spawn to fix nested runtime panic 2026-04-03 12:54:36 -03:00
mod.rs feat: Add GUID prefix to Qdrant collection names for KB security isolation 2026-03-19 19:51:28 -03:00
mod.rs.backup
tests.rs