Skip to content

Conversation

@welkeyever
Copy link
Member

@welkeyever welkeyever commented Dec 25, 2025

What type of PR is this?

feat

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

feat: 在负载均衡中支持 hashkey 选项

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en: Add support for custom hash key configuration in load balancing. Users can now specify a custom hash key option when using consistent hash load balancing algorithm, providing more flexibility for routing decisions based on specific request parameters.
zh(optional):

(Optional) Which issue(s) this PR fixes:

(Optional) The PR that updates user documentation:

@welkeyever welkeyever requested review from a team as code owners December 25, 2025 14:46
@codecov
Copy link

codecov bot commented Dec 25, 2025

Codecov Report

❌ Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.32%. Comparing base (8240939) to head (b500f6d).

Files with missing lines Patch % Lines
pkg/app/client/loadbalance/lbcache.go 50.00% 1 Missing and 1 partial ⚠️
pkg/app/client/loadbalance/loadbalance.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1471      +/-   ##
==========================================
- Coverage   86.37%   86.32%   -0.05%     
==========================================
  Files         149      149              
  Lines       14429    14433       +4     
==========================================
- Hits        12463    12460       -3     
- Misses       1428     1430       +2     
- Partials      538      543       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AsterDY AsterDY changed the base branch from develop to main January 26, 2026 05:24
AsterDY
AsterDY previously approved these changes Jan 26, 2026
@welkeyever welkeyever force-pushed the feat/support_hash_key_opt branch from 8286513 to b500f6d Compare January 26, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants