Files
gastown/internal
quartz c3852cb438 perf(mail): consolidate mailbox queries into single bd list call
Replace 4-6 parallel bd subprocess calls with a single consolidated query.
This reduces inbox check time from ~10.5s to <100ms by eliminating
subprocess spawning overhead.

Changes:
- Remove parallel query pattern with sync.WaitGroup
- Single `bd list --type message --all --limit 0` query
- Filter results in Go for assignee/CC matches and status
- Remove unused queryResult type and queryMessages function

Fixes: bd-2zd.3

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 17:14:00 -08:00
..