pingcap / tiup

A component manager for TiDB
https://tiup.io
Apache License 2.0
428 stars 313 forks source link

Component source #2236

Closed nexustar closed 1 year ago

nexustar commented 1 year ago

What problem does this PR solve?

What is changed and how it works?

Check List

Tests

Code changes

Side effects

Related changes

Release notes:

NONE
codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 71.28% and project coverage change: +0.06% :tada:

Comparison is base (0d229e9) 55.91% compared to head (b853058) 55.97%.

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2236 +/- ## ========================================== + Coverage 55.91% 55.97% +0.06% ========================================== Files 320 320 Lines 33795 33866 +71 ========================================== + Hits 18895 18955 +60 - Misses 12631 12641 +10 - Partials 2269 2270 +1 ``` | Flag | Coverage Δ | | |---|---|---| | cluster | `44.82% <68.29%> (+0.08%)` | :arrow_up: | | dm | `25.69% <30.85%> (-0.01%)` | :arrow_down: | | playground | `15.74% <0.00%> (-0.03%)` | :arrow_down: | | tiup | `15.88% <0.00%> (-0.05%)` | :arrow_down: | | unittest | `22.66% <23.40%> (+0.02%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files Changed](https://app.codecov.io/gh/pingcap/tiup/pull/2236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | Coverage Δ | | |---|---|---| | [pkg/cluster/spec/dashboard.go](https://app.codecov.io/gh/pingcap/tiup/pull/2236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#diff-cGtnL2NsdXN0ZXIvc3BlYy9kYXNoYm9hcmQuZ28=) | `4.39% <0.00%> (-0.24%)` | :arrow_down: | | [pkg/cluster/spec/tidb.go](https://app.codecov.io/gh/pingcap/tiup/pull/2236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#diff-cGtnL2NsdXN0ZXIvc3BlYy90aWRiLmdv) | `65.66% <28.57%> (-1.84%)` | :arrow_down: | | [pkg/cluster/spec/tikv.go](https://app.codecov.io/gh/pingcap/tiup/pull/2236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#diff-cGtnL2NsdXN0ZXIvc3BlYy90aWt2Lmdv) | `60.98% <28.57%> (-0.78%)` | :arrow_down: | | [pkg/cluster/spec/server\_config.go](https://app.codecov.io/gh/pingcap/tiup/pull/2236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#diff-cGtnL2NsdXN0ZXIvc3BlYy9zZXJ2ZXJfY29uZmlnLmdv) | `72.27% <66.67%> (ø)` | | | [components/dm/spec/topology\_dm.go](https://app.codecov.io/gh/pingcap/tiup/pull/2236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#diff-Y29tcG9uZW50cy9kbS9zcGVjL3RvcG9sb2d5X2RtLmdv) | `81.75% <80.00%> (-0.03%)` | :arrow_down: | | [pkg/cluster/manager/upgrade.go](https://app.codecov.io/gh/pingcap/tiup/pull/2236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#diff-cGtnL2NsdXN0ZXIvbWFuYWdlci91cGdyYWRlLmdv) | `57.29% <80.00%> (ø)` | | | [pkg/cluster/spec/cdc.go](https://app.codecov.io/gh/pingcap/tiup/pull/2236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#diff-cGtnL2NsdXN0ZXIvc3BlYy9jZGMuZ28=) | `58.00% <83.33%> (+0.78%)` | :arrow_up: | | [pkg/cluster/spec/pump.go](https://app.codecov.io/gh/pingcap/tiup/pull/2236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#diff-cGtnL2NsdXN0ZXIvc3BlYy9wdW1wLmdv) | `62.78% <83.33%> (+0.71%)` | :arrow_up: | | [pkg/cluster/spec/tiflash.go](https://app.codecov.io/gh/pingcap/tiup/pull/2236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#diff-cGtnL2NsdXN0ZXIvc3BlYy90aWZsYXNoLmdv) | `68.50% <83.33%> (-0.02%)` | :arrow_down: | | [pkg/cluster/spec/tikv\_cdc.go](https://app.codecov.io/gh/pingcap/tiup/pull/2236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap#diff-cGtnL2NsdXN0ZXIvc3BlYy90aWt2X2NkYy5nbw==) | `49.44% <83.33%> (+1.18%)` | :arrow_up: | | ... and [9 more](https://app.codecov.io/gh/pingcap/tiup/pull/2236?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/pingcap/tiup/pull/2236/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ti-chi-bot[bot] commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kaaaaaaang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/pingcap/tiup/blob/master/OWNERS)~~ [kaaaaaaang] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
ti-chi-bot[bot] commented 1 year ago

[LGTM Timeline notifier]

Timeline:

kaaaaaaang commented 1 year ago

/merge