-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
metadata: make Stringer implementation consistent #7355
metadata: make Stringer implementation consistent #7355
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7355 +/- ##
==========================================
- Coverage 81.47% 81.36% -0.12%
==========================================
Files 348 348
Lines 26761 26754 -7
==========================================
- Hits 21804 21768 -36
- Misses 3772 3787 +15
- Partials 1185 1199 +14
|
Also, the associated unit test needs to be fixed. |
d83679d
to
5fab0b4
Compare
thanks for the quick review @easwars ! |
@easwars added a couple more variations to the test case |
5fab0b4
to
5e527ea
Compare
@easwars Do i need to do something to trigger the tests? please let me know. ( checked https://github.com/grpc/grpc-go/blob/master/CONTRIBUTING.md before asking :) ) |
I agree this is a regression that we should fix, because Go's But a small nit about terminology: let's use something like "consistent" or "consistently ordered" instead of "deterministic" to not imply that one can depend on the output being something well-defined that will be the same between releases. |
Sorry for that. I didn't mind the inconsistent output, following the logic from golang/protobuf#1121 (comment) But it's true that printing a |
No worries at all @AnomalRoil - at least we caught it early enough. |
5e527ea
to
ce0c464
Compare
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
ce0c464
to
460df21
Compare
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.
Thanks for the PR!
@dims - yes, please! we haven't yet released 1.65.0 but will be doing so very soon. |
Done! filed #7367 for v1.65.x |
@dfawley is there a v1.64.1 as well soon? (pretty please!) will help us update OTEL (plus grpc!) to newer versions in k8s (had to revert that PR) |
Yes, we will try to get that out next week. |
Please see the following kubernetes/etcd test scenario failure:
kubernetes/kubernetes#125688
and notes from @serathius here on why this is important for etcd watches to work:
#7137 (comment)
RELEASE NOTES: