Skip to content

Conversation

@goastler
Copy link
Member

@goastler goastler commented Dec 4, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 4, 2025 08:59
@goastler goastler self-assigned this Dec 4, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive unit tests for the redis-client package, covering the core functionality for managing Redis connections and indexes.

Key Changes:

  • Added unit tests for Redis index creation and deletion operations
  • Added unit tests for Redis client connection and index setup utilities
  • Implemented test coverage for hash-based index change detection

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/redis-client/src/tests/redisIndex.unit.test.ts Tests for createRedisIndex and deleteRedisIndex functions including hash-based change detection and index lifecycle management
packages/redis-client/src/tests/redisClient.unit.test.ts Tests for connectToRedis and setupRedisIndex functions including connection state management, error handling, and logging

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

goastler and others added 14 commits January 5, 2026 15:35
- Add comprehensive unit tests for connectToRedis function
- Test connection state management, error handling, and logging
- Add unit tests for setupRedisIndex function
- All tests use proper mocking of redis client and logger
- Add test:unit script for running unit tests
- Update test script to run both unit and integration tests
- Use TEST_TYPE environment variable for test filtering
…nt-package' into fix/test-redis-client-package
- Add @testcontainers/redis and testcontainers dependencies
- Update testRedisConnection to use testcontainers Redis container
- Add comprehensive integration tests for redisClient
- Enhance redisIndex integration tests with additional coverage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants