-
Notifications
You must be signed in to change notification settings - Fork 77
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
*: drop go 1.18 support, add go 1.21 support #3157
Conversation
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.
Please check atomic copying as well, it seems to be OK except for the cases noted, but maybe there are other cases like that.
@roman-khimov, I'm still not sure that it will be useful for us integrate flag.TextVar into our repo. Let's take as an example First of all, we can't completely remove Lines 133 to 145 in b284b90
After that, if we're trying to replace
It's true that such replacement simplifies our
So my question is: am I got the idea right, is it the code that we'd like to change? The same logic is related to the Fixed8 flag. |
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
For all components. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Don't need to keep the copy of the official Golang image in our dockerfile, let's use it as a base builder image. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
@AnnaShaleva, if it doesn't fit well --- forget about it. The idea was to drop these flags, if there are valid reasons why we can't do that then OK, we don't do it. We've got #3097 as well for the future. |
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Codecov Report
@@ Coverage Diff @@
## master #3157 +/- ##
==========================================
+ Coverage 85.36% 85.45% +0.08%
==========================================
Files 323 323
Lines 43574 43574
==========================================
+ Hits 37198 37234 +36
+ Misses 4915 4876 -39
- Partials 1461 1464 +3
... and 4 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. 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.
563765b has "Close 2626", should be #2626
at least.
Use sync/atomic everywhere and exclude go.uber.org/atomic from go.mod. Close #2626. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
We often use binary.PutUint*, but almost all these cases have preallocated buffer of the size that matches exactly the desired one and use a single or a couple of calls to PutUint*. Thus, I don't think that replacing binary.PutUint* by AppendUint* will make things better for all these usages. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Close #2629. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
Close #2626, close #2627, close #2629 and update all workflows/images.
TODO: