Skip to content

feat:support rate-limit window expiration.#672

Open
SkyeBeFreeman wants to merge 1 commit intopolarismesh:mainfrom
SkyeBeFreeman:m/ratelimit-expire
Open

feat:support rate-limit window expiration.#672
SkyeBeFreeman wants to merge 1 commit intopolarismesh:mainfrom
SkyeBeFreeman:m/ratelimit-expire

Conversation

@SkyeBeFreeman
Copy link
Member

@SkyeBeFreeman SkyeBeFreeman commented Dec 8, 2025

fixes #657

@codecov
Copy link

codecov bot commented Dec 8, 2025

Codecov Report

❌ Patch coverage is 0.60241% with 165 lines in your changes missing coverage. Please review.
✅ Project coverage is 20.26%. Comparing base (a12bf4a) to head (6fd5213).

Files with missing lines Patch % Lines
.../polaris/ratelimit/client/flow/StreamResource.java 0.00% 58 Missing ⚠️
...aris/ratelimit/client/flow/RateLimitExtension.java 0.00% 25 Missing ⚠️
...polaris/ratelimit/client/flow/RateLimitWindow.java 0.00% 22 Missing ⚠️
...polaris/ratelimit/client/flow/WindowContainer.java 0.00% 21 Missing ⚠️
...aris/ratelimit/client/flow/RateLimitWindowSet.java 0.00% 11 Missing ⚠️
...ncent/polaris/ratelimit/client/flow/QuotaFlow.java 0.00% 8 Missing ⚠️
...om/tencent/polaris/api/plugin/route/RouteInfo.java 0.00% 6 Missing ⚠️
...olaris/ratelimit/client/flow/StreamCounterSet.java 0.00% 6 Missing ⚠️
...ratelimit/client/flow/AsyncRateLimitConnector.java 0.00% 5 Missing ⚠️
...java/com/tencent/polaris/client/flow/BaseFlow.java 0.00% 2 Missing ⚠️
... and 1 more
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #672      +/-   ##
============================================
- Coverage     20.45%   20.26%   -0.20%     
- Complexity     1037     1038       +1     
============================================
  Files           390      390              
  Lines         16164    16302     +138     
  Branches       2076     2098      +22     
============================================
- Hits           3307     3304       -3     
- Misses        12452    12593     +141     
  Partials        405      405              

☔ 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.

Signed-off-by: Haotian Zhang <928016560@qq.com>
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