2 Commits

Author SHA1 Message Date
johno 341c7d6757 Merge branch 'perf/consolidate-mailbox-queries'
CI / Check for .beads changes (push) Has been skipped
CI / Check embedded formulas (push) Failing after 14s
CI / Test (push) Failing after 1m13s
CI / Lint (push) Failing after 17s
CI / Integration Tests (push) Successful in 1m1s
CI / Coverage Report (push) Has been skipped
Windows CI / Windows Build and Unit Tests (push) Has been cancelled
2026-01-24 17:59:54 -08:00
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

Diff Content Not Available