Files
DeepSeek-Reasonix/internal/taskcatalog
SivanCola 56fa661672 fix(taskcatalog): serialize project projections
Problem:
- Ubuntu CI intermittently observed Indexed=1 while ListPage returned no task after an observed FileStore save.

Root cause:
- Initial background reconciliation could scan an empty project concurrently with exact snapshot indexing, then mark the freshly indexed row missing after the exact write committed.

Fix:
- Serialize authority scans, exact snapshot indexing, and event indexing per canonical project key.
- Keep projects independent and keep all projection work outside the authoritative FileStore write path.

Verification:
- Observed-store regression passed 500 iterations and 200 race iterations.
- Full root tests, task catalog race tests, vet, root/Desktop golangci-lint, gofmt, repolint, and diff checks passed.
2026-08-11 18:50:25 +08:00
..