Skip to content

Using string rep for status-time#30123

Merged
veblush merged 1 commit intomasterfrom
abseil-time-fix2
Jun 28, 2022
Merged

Using string rep for status-time#30123
veblush merged 1 commit intomasterfrom
abseil-time-fix2

Conversation

@veblush
Copy link
Copy Markdown
Contributor

@veblush veblush commented Jun 27, 2022

Using a string representation of time when storing as a payload of status to avoid dumping its internal representation.

@veblush veblush added lang/core release notes: no Indicates if PR should not be in release notes labels Jun 27, 2022
@veblush veblush requested a review from ctiller June 27, 2022 21:05
@veblush veblush marked this pull request as ready for review June 27, 2022 21:05
Copy link
Copy Markdown
Member

@ctiller ctiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good... is it worth us adding a fuzzer to check the properties we're relying on here?

@veblush
Copy link
Copy Markdown
Contributor Author

veblush commented Jun 28, 2022

To unblock the upgrade, I'm merging this first. Adding fuzzer tests sounds worth it so let me do it separately.

@veblush veblush merged commit 2119f54 into master Jun 28, 2022
@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Jun 29, 2022
veblush added a commit to veblush/grpc that referenced this pull request Jun 29, 2022
veblush added a commit to veblush/grpc that referenced this pull request Jun 29, 2022
yashykt added a commit that referenced this pull request Jul 1, 2022
* Bump version to 1.47.0-pre1 (on v1.47.x branch) (#29830)

* bump version to 1.47.0-pre1

* regenerate projects

* xDS: Workaround to get gRPC clients working with istio (#29841) (#29850)

* xDS: Workaround to get gRPC clients working with istio

* Formatting

* Comment test too

* Disable instead of commenting

* Support for prebuilt Ruby binary on x64-mingw-ucrt platform (#29684) (#29868)

* Add support for prebuilt Ruby binary on x64-mingw-ucrt platform, which is used for Windows RubyInstaller Ruby 3.1+

Co-authored-by: Johnny Shields <johnny.shields@gmail.com>

* use constraints value in @platforms instead of @bazel_tools//platforms bazelbuild/bazel#8622 (#30019)

* Set Correct Platform Tag in Wheels on Mac OS with Python 3.10 (#29857) (#30026)

* Attempt to set correct platform on Mac OS

* Add some debug

* Make it fail

* Print more

* Try again

* Maybe it's an ordering issue?

* Get logs back

* Try copying distutils to see exactly what is being used

* Actually export the variable

* I just love debugging with CI

* One directory higher this time

* Try with an upgraded Python install

* Fix version

* Rebreak

* Try setting it even earlier?

* Unbreak

* Try explicitly renaming the artifacts

* Fix

* I am about ready to start NAT hole punching for SSH

* Break things for logs

* Whoops

* Clean up

* Shellcheck

* xds-k8s jobs: standardize TESTING_VERSION (#30027) (#30048)

This Addresses the issue with skips not working in golang tests, ref b/235688697. 

1. Unifies `TESTING_VERSION` detection  in grpc_xds_k8s_install_test_driver.sh - new approach applicable to all languages.
2. Use `TESTING_VERSION` in all build files in `--testing_version` and when tagging docker images. This will be backported to all active test branches. Build Scripts in all other languages will be updated as well.

* Bump Release Version to 1.47.0 (#30073)

* bump version to 1.47.0

* regenerate projects

* Using string rep for status-time (#30123) (#30145)

* tell MSVC to build grpc with utf-8 (#30003) (#30153)

* tell MSVC to build grpc with utf-8

fix #29979

* generate_projects

Co-authored-by: AJ Heller <hork@google.com>

Co-authored-by: AJ Heller <hork@google.com>

Co-authored-by: Richard Belleville <rbellevi@google.com>
Co-authored-by: apolcyn <apolcyn@google.com>
Co-authored-by: Johnny Shields <johnny.shields@gmail.com>
Co-authored-by: Ara Nguyen <91614797+aranguyen@users.noreply.github.com>
Co-authored-by: Sergii Tkachenko <sergiitk@google.com>
Co-authored-by: Esun Kim <veblush@google.com>
Co-authored-by: hongnod <6680267+hongnod@users.noreply.github.com>
Co-authored-by: AJ Heller <hork@google.com>
@stanley-cheung stanley-cheung deleted the abseil-time-fix2 branch March 31, 2023 18:49
@malkia
Copy link
Copy Markdown

malkia commented Nov 23, 2024

This maybe expensive on Windows, as it ends up calling absl::LocalTimeZone() abseil/abseil-cpp#1760 (comment)

Possibly some caching needs to be done, with a TTL?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bloat/none imported Specifies if the PR has been imported to the internal repository lang/core per-call-memory/neutral release notes: no Indicates if PR should not be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants