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. #1490

Merged
merged 5 commits into from
Jan 24, 2025

Conversation

shedfreewu
Copy link
Collaborator

@shedfreewu shedfreewu commented Jan 15, 2025

PR Type

Feature.

Describe what this PR does for and how you did.

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

Adding the issue link (#xxx) if possible.

Note

Checklist

  • Add information of this PR to CHANGELOG.md in root of project.
  • Add documentation in javadoc or comment below the PR if necessary.

Checklist (Optional)

  • Will pull request to branch of 2023.
  • Will pull request to branch of 2022.
  • Will pull request to branch of 2021.
  • Will pull request to branch of 2020.
  • Will pull request to branch of hoxton.

Copy link

codecov bot commented Jan 15, 2025

Codecov Report

Attention: Patch coverage is 87.15753% with 75 lines in your changes missing coverage. Please review.

Project coverage is 66.91%. Comparing base (9b2d964) to head (29fffad).
Report is 1 commits behind head on 2021.

Files with missing lines Patch % Lines
...laris/config/adapter/PolarisConfigFileLocator.java 73.84% 8 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              @@
##               2021    #1490      +/-   ##
============================================
+ Coverage     66.73%   66.91%   +0.17%     
- Complexity       20       22       +2     
============================================
  Files           334      333       -1     
  Lines          7696     7837     +141     
  Branches        944      980      +36     
============================================
+ Hits           5136     5244     +108     
- Misses         2079     2124      +45     
+ Partials        481      469      -12     

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

@shedfreewu shedfreewu force-pushed the dev/shedfreewu/2021-boc branch from 9fd881a to 2914fff Compare January 21, 2025 11:39
@shedfreewu shedfreewu changed the title boc service/config feat: implement circuit breaker in enhance plugin, support listen config group, support refresh single config in refresh_context mode. Jan 21, 2025
SkyeBeFreeman
SkyeBeFreeman previously approved these changes Jan 22, 2025
@SkyeBeFreeman SkyeBeFreeman dismissed their stale review January 23, 2025 08:21

The merge-base changed after approval.

@SkyeBeFreeman SkyeBeFreeman added this to the 2.0.1.0 milestone Jan 23, 2025
@SkyeBeFreeman SkyeBeFreeman merged commit 4fdc539 into Tencent:2021 Jan 24, 2025
10 checks passed
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.

3 participants