Skip to content

Conversation

@denisov-vlad
Copy link

Summary

  • avoid issuing Redis mget when there are no sticky bucket keys
  • wrap Redis mget calls with error handling so failures are logged instead of crashing

Codex Task

Issue: #100

Copilot AI review requested due to automatic review settings December 11, 2025 12:39
Copy link

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 fixes a bug where the Redis mget command would be called with an empty array of keys, which could cause issues. It also improves error handling and logging for Redis sticky bucket operations.

  • Adds a guard to prevent calling Redis mget with empty keys array
  • Refactors promise chain to async/await with try-catch error handling
  • Enhances error logging with additional context (error object and raw values)

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

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.

1 participant