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

Mirror clone err #2309

Merged
merged 2 commits into from
Nov 10, 2023
Merged

Mirror clone err #2309

merged 2 commits into from
Nov 10, 2023

Conversation

nexustar
Copy link
Collaborator

@nexustar nexustar commented Nov 9, 2023

What problem does this PR solve?

What is changed and how it works?

coreSuit: "tidb", "tikv", "pd", "tiflash", "prometheus", "grafana", "ctl", "cdc"

  • before: clone gloabl version and component version,for components not in coreSuit, add latest is version not exist
  • after: only clone component version if exist. only clone global version (may add latest) if component version not exist.

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Code changes

  • Has exported function/method change
  • Has exported variable/fields change
  • Has interface methods change
  • Has persistent data change

Side effects

  • Possible performance regression
  • Increased code complexity
  • Breaking backward compatibility

Related changes

  • Need to cherry-pick to the release branch
  • Need to update the documentation

Release notes:

NONE

@ti-chi-bot ti-chi-bot bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 9, 2023
@codecov-commenter
Copy link

codecov-commenter commented Nov 9, 2023

Codecov Report

Attention: 56 lines in your changes are missing coverage. Please review.

Comparison is base (1de0e18) 53.41% compared to head (da9b06d) 54.79%.

❗ Current head da9b06d differs from pull request most recent head 866b61e. Consider uploading reports for the commit 866b61e to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2309      +/-   ##
==========================================
+ Coverage   53.41%   54.79%   +1.38%     
==========================================
  Files         325      325              
  Lines       34721    34722       +1     
==========================================
+ Hits        18544    19025     +481     
+ Misses      13930    13406     -524     
- Partials     2247     2291      +44     
Flag Coverage Δ
cluster 44.18% <0.00%> (+2.15%) ⬆️
dm 25.17% <0.00%> (-0.30%) ⬇️
playground 15.26% <0.00%> (+0.01%) ⬆️
tiup 33.47% <0.00%> (+17.90%) ⬆️
unittest 22.38% <0.00%> (-<0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
pkg/cluster/spec/bindversion.go 80.00% <ø> (+49.23%) ⬆️
cmd/mirror.go 44.79% <0.00%> (+0.17%) ⬆️
pkg/repository/clone_mirror.go 0.00% <0.00%> (ø)

... and 32 files with indirect coverage changes

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

@ti-chi-bot ti-chi-bot bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 10, 2023
@kaaaaaaang
Copy link
Collaborator

/lgtm

@ti-chi-bot ti-chi-bot bot added the lgtm label Nov 10, 2023
Copy link
Contributor

ti-chi-bot bot commented Nov 10, 2023

[LGTM Timeline notifier]

Timeline:

  • 2023-11-10 04:05:02.255305841 +0000 UTC m=+3789899.842415974: ☑️ agreed by kaaaaaaang.

@kaaaaaaang
Copy link
Collaborator

/approve

@kaaaaaaang kaaaaaaang added this to the v1.14.0 milestone Nov 10, 2023
Copy link
Contributor

ti-chi-bot bot commented Nov 10, 2023

[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:

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 ti-chi-bot bot added the approved label Nov 10, 2023
@ti-chi-bot ti-chi-bot bot merged commit da0221a into pingcap:master Nov 10, 2023
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

not continue if error occur when clone mirror
3 participants