- Add test-utils.ts with mock embedding function
- Fix S3 tests to use mock embeddings instead of loading models
- Fix vector dimension mismatches in tests
- Update import paths for case-sensitive file systems
- Ensure proper S3 mock initialization with ListObjectsV2Command
All test infrastructure now properly mocked for fast, reliable tests
CRITICAL: Ensures production reliability at scale
- Add aws-sdk-client-mock for S3 testing without AWS resources
- Create comprehensive test suite for ALL S3 operations
- Test statistics persistence, recovery, and partitioning
- Test rate limiting, throttling, and retry logic
- Test concurrent operations from multiple services
- Test data integrity with checksums
- Test batch operations and performance optimizations
- Simulate millions of records for scale testing
- Ensure backward compatibility with legacy formats
Also: Remove deprecated addSmart() method (functionality merged into add())
These tests are critical for production deployments where S3 is the primary
storage backend for scaled systems handling millions of records.