Skip to content

Conversation

@brett19
Copy link
Member

@brett19 brett19 commented Nov 18, 2025

No description provided.

Copilot finished reviewing on behalf of brett19 November 18, 2025 20:24
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 the OnDemandConnect feature in the KV client pool to properly trigger client connection building. The key issue was that when using OnDemandConnect with a pool, the connection was never actually built because the pool's complex distribution logic bypassed the babysitter's GetClient method that triggers the on-demand build.

Key changes:

  • Added validation to ensure OnDemandConnect pools can only have one connection
  • Optimized getClientSlow to directly delegate to the single manager's GetClient method when there's only one manager, which properly triggers on-demand connection building
  • Removed debug logging statement

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

chvck
chvck previously approved these changes Nov 18, 2025
Westwooo
Westwooo previously approved these changes Nov 19, 2025
@brett19 brett19 dismissed stale reviews from Westwooo and chvck via 8837f08 November 19, 2025 20:00
@brett19 brett19 force-pushed the ING-1366_ondemand-connect branch from 3a1819c to 8837f08 Compare November 19, 2025 20:00
@brett19 brett19 merged commit f77584b into master Nov 21, 2025
16 of 17 checks passed
@brett19 brett19 deleted the ING-1366_ondemand-connect branch November 21, 2025 20:01
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.

5 participants