Fixes critical metadata index file pollution bug that created 358k garbage files. Changes: - Remove timestamps from excludeFields to enable indexing and range queries - Auto-detect temporal fields by name (time/date/accessed/modified/created/updated) - Bucket temporal values to 1-minute intervals to prevent pollution - Fix all normalizeValue() calls to pass field parameter for bucketing Results: - File reduction: 360k → 4.6k files (98.7% reduction) - Range queries now work: modified >= yesterday - Zero configuration required - Backward compatible with existing code Test coverage: - 10 comprehensive tests for automatic bucketing - All tests passing with bucket-aligned timestamps - Covers file pollution prevention, range queries, field detection |
||
|---|---|---|
| .. | ||
| api | ||
| augmentations/intelligentImport | ||
| benchmarks | ||
| comprehensive | ||
| configs | ||
| fixtures/import | ||
| helpers | ||
| integration | ||
| performance | ||
| scripts | ||
| unit | ||
| vfs | ||
| brainy-3.test.ts | ||
| critical-error-handling.test.ts | ||
| critical-neural-validation.test.ts | ||
| critical-performance-benchmark.test.ts | ||
| distributed-demo.test.ts | ||
| model-loading.test.ts | ||
| opfs-storage.test.ts | ||
| package-size-breakdown.test.ts | ||
| package-size-limit.test.ts | ||
| setup-integration.ts | ||
| setup-unit.ts | ||
| setup.ts | ||
| streaming-pipeline.test.ts | ||
| type-utils.test.ts | ||