Implement global task search with parallel execution

- SearchTasksGlobally: cross-project search using errgroup
- Gets all projects, then searches each in parallel
- Results aggregated from all accessible projects
- Context cancellation propagates to all goroutines
- Single project failure cancels remaining searches
- Added golang.org/x/sync/errgroup dependency
- Comprehensive test coverage
This commit is contained in:
Oliver Jakoubek 2026-01-15 18:40:14 +01:00
commit 527d27b73f
5 changed files with 165 additions and 1 deletions

2
go.mod
View file

@ -1,3 +1,5 @@
module code.beautifulmachines.dev/jakoubek/kanboard-api
go 1.25.5
require golang.org/x/sync v0.19.0 // indirect