-
Notifications
You must be signed in to change notification settings - Fork 753
go: update Go version to 1.25.3 #9900
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
Conversation
|
Skipping CI for Draft Pull Request. |
|
/retest |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #9900 +/- ##
==========================================
+ Coverage 78.32% 78.41% +0.08%
==========================================
Files 511 511
Lines 68323 68415 +92
==========================================
+ Hits 53514 53645 +131
+ Misses 10923 10880 -43
- Partials 3886 3890 +4
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
/retest |
2 similar comments
|
/retest |
|
/retest |
|
/test ? |
|
@purelind: The following commands are available to trigger required jobs: The following commands are available to trigger optional jobs: Use DetailsIn 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 kubernetes-sigs/prow repository. |
|
/retest |
|
/test pull-unit-test-next-gen-1 pull-unit-test-next-gen-2 pull-unit-test-next-gen-3 |
|
/retest |
| test-tso-function: install-tools | ||
| # testing TSO function... | ||
| @$(FAILPOINT_ENABLE) | ||
| CGO_ENABLED=1 go test -race -tags without_dashboard,deadlock $(TSO_FUNCTION_TEST_PKGS) || { $(FAILPOINT_DISABLE); exit 1; } |
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.
deadlock will be disable temporarily after upgrading golang1.25.
Track this in #10035
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.
Upgrading deadlock is not useful?
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.
I hadn't thought of this approach.😂
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.
revert in 64cd23c
| if len(ranges) <= 1 { | ||
| if len(ranges) == 1 { |
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.
Reason for this change?
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.
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.
Then removing the line 400 would be more consistent.
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.
done 1f63640
|
/retest |
.golangci.yml
Outdated
| - deprecatedComment | ||
| govet: | ||
| disable: | ||
| - buildtag |
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.
Why disable it
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.
I can't find a way to fix the warning in this code
//go:build !without_dashboard
// +build !without_dashboard
If enable this lint
tests/dashboard/service_test.go:16:1: buildtag: +build line is no longer needed (govet)
// +build !without_dashboard
^
1 issues:
If remove // +build !without_dashboard, it will report another error. I don't find the error, let's try it in 061ae8d
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.
Seems you have already removed it?
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.
Yes, after removing, the ci is still normal.
|
/retest |
.github/workflows/check.yaml
Outdated
| - uses: actions/setup-go@v5 | ||
| with: | ||
| go-version: '1.23' | ||
| go-version: '1.25.5' |
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.
Shall we keep using '1.25'?
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 using 1.25, the error will report https://github.com/tikv/pd/actions/runs/19253463340/job/55043026119
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.
It could be caused by setup-go?
|
/retest |
2 similar comments
|
/retest |
|
/retest |
Signed-off-by: okjiang <819421878@qq.com>
|
/retest |
Signed-off-by: okjiang <819421878@qq.com>
Signed-off-by: okjiang <819421878@qq.com>
|
@okJiang: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Signed-off-by: okjiang <819421878@qq.com>
|
/retest |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JmPotato, lhy1024 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
| # govet: | ||
| # disable: | ||
| # - buildtag |
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.
Why not remove it
close tikv#10034 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
In response to a cherrypick label: new pull request created to branch |
close tikv#10034 Signed-off-by: okjiang <819421878@qq.com> Co-authored-by: okjiang <819421878@qq.com> Signed-off-by: okjiang <819421878@qq.com>
close tikv#10034 Signed-off-by: okjiang <819421878@qq.com>

What problem does this PR solve?
Issue Number: Close #10034
What is changed and how does it work?
Check List
Tests
Code changes
Side effects
Related changes
pingcap/docs/pingcap/docs-cn:pingcap/tiup:Release note