Repository navigation
Conversation
…758) * fix: downgrade golang.org/x/sync and golang.org/x/sys to versions compatible with Go 1.20 golang.org/x/sync v0.20.0 and golang.org/x/sys v0.45.0 require Go 1.25+, but CI tests on Go 1.20. Revert these to v0.11.0 and v0.30.0 respectively. * docs: add version constraint comments to go.mod for x/sync and x/sys --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR prepares the v2.9.8 patch by updating Go module dependencies, refreshing CI Go versions, and updating the sponsorship badge in the project READMEs.
Changes:
- Bump Go dependencies (
ants,testify,zap) and updatego.sumaccordingly. - Update GitHub Actions test matrices to run against Go
1.20and1.26, including a conditional-racedisable for Windows on Go1.26. - Replace the DigitalOcean sponsorship logo block with a referral badge link in both English and Chinese READMEs.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| README.md | Updates the sponsorship section to use a DigitalOcean referral badge. |
| README_ZH.md | Same sponsorship badge update for the Chinese README. |
| go.mod | Bumps key dependencies; adds comments pinning x/sync and x/sys due to Go version constraints. |
| go.sum | Updates module sums to match the dependency bumps. |
| .github/workflows/test.yml | Updates Go matrix to 1.26 and conditionally disables -race on Windows for Go 1.26. |
| .github/workflows/test_poll_opt.yml | Updates Go matrix to 1.26 and makes setup-go use the matrix version. |
| .github/workflows/test_poll_opt_gc_opt.yml | Same as above for the combined tags workflow. |
| .github/workflows/test_gc_opt.yml | Updates Go matrix to 1.26 and removes Windows from the OS matrix. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
90
to
+94
| - name: Run unit tests for packages | ||
| run: go test $(go list ./... | tail -n +2) | ||
|
|
||
| # NOTE: -race is conditionally disabled for Windows with Go 1.26 due to | ||
| # known instability of the Go race detector on this platform/version |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #759 +/- ##
==========================================
+ Coverage 84.30% 84.38% +0.08%
==========================================
Files 22 22
Lines 2402 2402
==========================================
+ Hits 2025 2027 +2
+ Misses 257 255 -2
Partials 120 120
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.