pingcap / tiup

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

cluster: skip tiproxy download & copy #2366

Closed xhebox closed 4 months ago

xhebox commented 5 months ago

What problem does this PR solve?

Some components has different Role() and Name(). FilterComponent is a mixed of filtering by Name() and Role(), thus we need to add both into the filter set.

Check List

Tests

Code changes

Side effects

Related changes

Release notes:

NONE
codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 55.94%. Comparing base (bb648c3) to head (520a442). Report is 1 commits behind head on master.

:exclamation: Current head 520a442 differs from pull request most recent head 588189e. Consider uploading reports for the commit 588189e to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2366 +/- ## ========================================== - Coverage 56.07% 55.94% -0.13% ========================================== Files 329 329 Lines 35034 35040 +6 ========================================== - Hits 19644 19603 -41 - Misses 13053 13100 +47 Partials 2337 2337 ``` | [Flag](https://app.codecov.io/gh/pingcap/tiup/pull/2366/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | Coverage Δ | | |---|---|---| | [cluster](https://app.codecov.io/gh/pingcap/tiup/pull/2366/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `45.18% <100.00%> (-0.13%)` | :arrow_down: | | [dm](https://app.codecov.io/gh/pingcap/tiup/pull/2366/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `25.52% <100.00%> (-0.03%)` | :arrow_down: | | [playground](https://app.codecov.io/gh/pingcap/tiup/pull/2366/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `15.78% <ø> (ø)` | | | [tiup](https://app.codecov.io/gh/pingcap/tiup/pull/2366/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `33.59% <ø> (-0.05%)` | :arrow_down: | | [unittest](https://app.codecov.io/gh/pingcap/tiup/pull/2366/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `22.22% <0.00%> (-0.01%)` | :arrow_down: | 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.

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

xhebox commented 5 months ago

/retest

kaaaaaaang commented 4 months ago

/lgtm

kaaaaaaang commented 4 months ago

/approve

kaaaaaaang commented 4 months ago

/lgtm

kaaaaaaang commented 4 months ago

/approve

ti-chi-bot[bot] commented 4 months ago

[LGTM Timeline notifier]

Timeline:

ti-chi-bot[bot] commented 4 months 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