Skip to content

Refactor: Use generalized LRU cache for rate limiter cache. - #249

Merged
anoop2811 merged 5 commits into
kubevela:mainfrom
kash2104:issue-247
Aug 27, 2026
Merged

anoop2811 merged 5 commits into
kubevela:mainfrom
kash2104:issue-247

Perf: Remove ratelimiter using groupcache.

9d30ce5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 27, 2026 in 0s

69.85% (+7.36%) compared to d7db9c4

View this Pull Request on Codecov

69.85% (+7.36%) compared to d7db9c4

Details

Codecov Report

❌ Patch coverage is 80.00000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.85%. Comparing base (d7db9c4) to head (9d30ce5).
⚠️ Report is 24 commits behind head on main.

Files with missing lines Patch % Lines
cmd/main.go 0.00% 4 Missing ⚠️
...g/providers/legacy/http/ratelimiter/ratelimiter.go 83.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #249      +/-   ##
==========================================
+ Coverage   62.49%   69.85%   +7.36%     
==========================================
  Files          62       73      +11     
  Lines        4415     5845    +1430     
==========================================
+ Hits         2759     4083    +1324     
- Misses       1324     1370      +46     
- Partials      332      392      +60     

☔ View full report in Codecov by Harness.
📢 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.