-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
*: enable gci #35823
*: enable gci #35823
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
953a1e1
to
7d1079a
Compare
/run-unit-test |
760cda5
to
843f858
Compare
74a963e
to
3d94c20
Compare
/run-unit-test |
1 similar comment
/run-unit-test |
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/05e3c25fb9a165a68968abc966365d144d7a7d9a |
624d2a8
to
5f4c286
Compare
The order of go import in the tidb is so chaos. |
@leiysky: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments. In response to this: Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good. One suggestion inline. Also you may remember to update code style section on TiDB Dev Guide https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/code-style-and-quality-guide.html.
"github.com/pingcap/tidb/parser/mysql" | ||
"github.com/pingcap/tidb/parser/mysql" //nolint:goimports | ||
// Import tidb/planner/core to initialize expression.RewriteAstExpr | ||
_ "github.com/pingcap/tidb/planner/core" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if separate init only import-s?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if remove //nolint:goimports
[2022-07-03T15:57:37.755Z] br/pkg/lightning/backend/kv/sql2kv.go:36: File is not `goimports`-ed (goimports)
[2022-07-03T15:57:37.755Z] "github.com/pingcap/tidb/parser/mysql"
I don't know what is it.
57be912
to
bb6fb62
Compare
/run-unit-test |
bb6fb62
to
a18108c
Compare
Signed-off-by: Weizhen Wang <[email protected]>
a18108c
to
a472abe
Compare
/merge |
This pull request has been accepted and is ready to merge. Commit hash: a472abe
|
/run-build |
/run-mysql-test |
TiDB MergeCI notify🔴 Bad News! New failing [1] after this pr merged.
|
What problem does this PR solve?
Issue Number: ref #35345
Problem Summary:
What is changed and how it works?
use
gci
to replace withgoimports
becausegoimports
have many problems in the nogoCheck List
Tests
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.