alibaba / sentinel-golang

Sentinel Go enables reliability and resiliency for Go microservices
https://sentinelguard.io/
Apache License 2.0
2.76k stars 431 forks source link

fix ci #536

Closed binbin0325 closed 1 year ago

binbin0325 commented 1 year ago

Describe what this PR does / why we need it

Does this pull request fix one issue?

fixed:https://github.com/alibaba/sentinel-golang/issues/533 , https://github.com/alibaba/sentinel-golang/issues/505

Describe how you did it

Describe how to verify it

Special notes for reviews

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (0d804bb) 53.17% compared to head (1d4f136) 53.17%.

:exclamation: Current head 1d4f136 differs from pull request most recent head a83caae. Consider uploading reports for the commit a83caae to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #536 +/- ## ======================================= Coverage 53.17% 53.17% ======================================= Files 91 91 Lines 5896 5894 -2 ======================================= - Hits 3135 3134 -1 + Misses 2414 2413 -1 Partials 347 347 ``` | [Impacted Files](https://app.codecov.io/gh/alibaba/sentinel-golang/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba) | Coverage Δ | | |---|---|---| | [api/init.go](https://app.codecov.io/gh/alibaba/sentinel-golang/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba#diff-YXBpL2luaXQuZ28=) | `0.00% <ø> (ø)` | | | [core/circuitbreaker/circuit\_breaker.go](https://app.codecov.io/gh/alibaba/sentinel-golang/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba#diff-Y29yZS9jaXJjdWl0YnJlYWtlci9jaXJjdWl0X2JyZWFrZXIuZ28=) | `74.67% <ø> (ø)` | | | [core/circuitbreaker/rule\_manager.go](https://app.codecov.io/gh/alibaba/sentinel-golang/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba#diff-Y29yZS9jaXJjdWl0YnJlYWtlci9ydWxlX21hbmFnZXIuZ28=) | `76.40% <ø> (ø)` | | | [core/flow/tc\_adaptive.go](https://app.codecov.io/gh/alibaba/sentinel-golang/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba#diff-Y29yZS9mbG93L3RjX2FkYXB0aXZlLmdv) | `45.45% <ø> (ø)` | | | [core/hotspot/rule\_manager.go](https://app.codecov.io/gh/alibaba/sentinel-golang/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba#diff-Y29yZS9ob3RzcG90L3J1bGVfbWFuYWdlci5nbw==) | `57.53% <ø> (ø)` | | | [core/stat/base/leap\_array.go](https://app.codecov.io/gh/alibaba/sentinel-golang/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba#diff-Y29yZS9zdGF0L2Jhc2UvbGVhcF9hcnJheS5nbw==) | `72.88% <ø> (ø)` | | | [core/system/rule\_manager.go](https://app.codecov.io/gh/alibaba/sentinel-golang/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba#diff-Y29yZS9zeXN0ZW0vcnVsZV9tYW5hZ2VyLmdv) | `76.47% <ø> (ø)` | | | [core/hotspot/rule.go](https://app.codecov.io/gh/alibaba/sentinel-golang/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba#diff-Y29yZS9ob3RzcG90L3J1bGUuZ28=) | `69.69% <100.00%> (+0.25%)` | :arrow_up: | | [core/stat/base/bucket\_leap\_array.go](https://app.codecov.io/gh/alibaba/sentinel-golang/pull/536?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alibaba#diff-Y29yZS9zdGF0L2Jhc2UvYnVja2V0X2xlYXBfYXJyYXkuZ28=) | `65.57% <100.00%> (+0.28%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

sczyh30 commented 1 year ago

Thanks!