Fix bd-666: Replace N+1 query pattern in auto-import with batch fetch

- Batch fetch all existing issues with SearchIssues() upfront
- Use O(1) map lookup instead of O(n) GetIssue() calls
- Improves performance dramatically with 1000+ issues
- All tests pass
This commit is contained in:
Steve Yegge
2025-10-16 19:14:05 -07:00
parent 37d60d624d
commit ef31d98b43
6 changed files with 1413 additions and 164 deletions

File diff suppressed because one or more lines are too long