callumalpass_tasknotes/tests/utils
callumalpass c8a946eb27 Remove unused MinimalNativeCache and update tests to use TaskManager
MinimalNativeCache was completely unused in production code - it was replaced
by TaskManager but never deleted. This commit removes ~1,910 lines of dead code.

Changes:
- Deleted src/utils/MinimalNativeCache.ts (1,910 lines)
- Deleted 4 dedicated MinimalNativeCache test files
- Updated 7 FilterService test files to use TaskManager instead
- Updated mock factories to reference TaskManager
- Updated comments in main.ts and FilterService.ts

Evidence it was unused:
- Zero imports in src/ (only in tests)
- Zero instantiations in production code
- main.ts uses TaskManager (this.cacheManager)
- FilterService uses TaskManager in production
- TaskManager explicitly does NOT cache (JIT design)

The TaskManager approach:
- Reads on-demand from Obsidian's native metadataCache
- No internal indexes or caching
- Event-driven to stay in sync
- Simpler and more reliable than MinimalNativeCache

Build Verified: ✓
Tests Updated: ✓

Total Impact: ~2,000 lines removed
2025-11-15 22:24:04 +11:00
..
GroupingUtils.subgroups.test.ts test: add comprehensive test coverage for hierarchical subgroup functionality 2025-09-18 10:15:08 +00:00