Modernize dm (excluding dm/pkg)#12719
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Code Review
This pull request modernizes the codebase by adopting Go 1.21 and 1.22 features, such as replacing interface{} with any, using for range over integers, utilizing maps.Copy and slices.Contains, and leveraging fmt.Appendf. However, a critical issue was identified across multiple files where standard sync.WaitGroup usages were incorrectly refactored to use a non-existent Go method (e.g., wg.Go(func() { ... })). This will result in compilation failures, and these changes must be reverted to the standard wg.Add(1) and go func() pattern.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
What problem does this PR solve?
Issue Number: ref #12691
What is changed and how it works?
Check List
Tests
Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note