Files
gastown/internal/web
janeway 3d1dea5949 Fix dashboard slowness by routing bd show to correct rig beads
The dashboard was taking 120+ seconds to respond due to two issues:

1. bd show commands for cross-rig issues ran from wrong beads directory,
   causing slow routing resolution (5.2s instead of 0.09s per lookup)

2. The bd daemon adds ~5s latency per command

Changes:
- Add routes map to LiveConvoyFetcher, loaded from routes.jsonl
- Add getBeadsDir() to determine correct beads directory for issue prefix
- Update getIssueDetailsBatch() to group issues by rig and run bd from
  the correct beads directory
- Add BEADS_NO_DAEMON=1 to bypass daemon for faster execution

Performance improvement:
- Before: 126+ seconds (timeout)
- After: ~5 seconds

Closes: hq-tyfkm
2026-01-21 13:37:32 -08:00
..