Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement circuit breaker in enhance plugin, support listen config group, support refresh single config in refresh_context mode. #1501

Merged
merged 1 commit into from
Feb 26, 2025

feat: implement circuit breaker in enhance plugin, support listen con…

2333ed6
Select commit
Loading
Failed to load commit list.
Merged

feat: implement circuit breaker in enhance plugin, support listen config group, support refresh single config in refresh_context mode. #1501

feat: implement circuit breaker in enhance plugin, support listen con…
2333ed6
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 26, 2025 in 0s

66.84% (+0.10%) compared to 0cf3d21

View this Pull Request on Codecov

66.84% (+0.10%) compared to 0cf3d21

Details

Codecov Report

Attention: Patch coverage is 86.98630% with 76 lines in your changes missing coverage. Please review.

Project coverage is 66.84%. Comparing base (0cf3d21) to head (2333ed6).

Files with missing lines Patch % Lines
...laris/config/adapter/PolarisConfigFileLocator.java 72.30% 9 Missing and 9 partials ⚠️
...nt/instrument/scg/EnhancedGatewayGlobalFilter.java 74.07% 3 Missing and 4 partials ⚠️
...dapter/PolarisRefreshAffectedContextRefresher.java 58.33% 3 Missing and 2 partials ⚠️
...com/tencent/cloud/plugin/protection/ExitUtils.java 50.00% 4 Missing and 1 partial ⚠️
.../polaris/circuitbreaker/PolarisCircuitBreaker.java 42.85% 4 Missing ⚠️
.../circuitbreaker/reporter/CircuitBreakerPlugin.java 87.50% 0 Missing and 4 partials ⚠️
...config/spring/annotation/SpringValueProcessor.java 92.72% 1 Missing and 3 partials ⚠️
...lient/EnhancedWebClientExchangeFilterFunction.java 80.95% 2 Missing and 2 partials ⚠️
...aker/reporter/ExceptionCircuitBreakerReporter.java 85.71% 1 Missing and 2 partials ⚠️
...gin/lossless/config/LosslessAutoConfiguration.java 84.21% 0 Missing and 3 partials ⚠️
... and 11 more
Additional details and impacted files
@@             Coverage Diff              @@
##               2023    #1501      +/-   ##
============================================
+ Coverage     66.73%   66.84%   +0.10%     
- Complexity       20       22       +2     
============================================
  Files           335      334       -1     
  Lines          7699     7841     +142     
  Branches        942      979      +37     
============================================
+ Hits           5138     5241     +103     
- Misses         2082     2127      +45     
+ Partials        479      473       -6     

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