Yash Tibrewal
25465100fd
LoggingTest: s/GUARDED_BY/ABSL_GUARDED_BY ( #32144 )
2 years ago
Yijie Ma
f2bcdf3bbc
Add a test case for infinite past or unix epoch expiry in alarm_test.cc ( #32101 )
...
* initial commit
* review
2 years ago
Yash Tibrewal
33be15bdb6
Gcp Observability: Lazily initialize channels post-init ( #32091 )
...
* Gcp Observability: Lazily initialize channels post-init
* IWYU and fix build deps
* Run RegistryPostInit for client census filters too
* Remove unused function
2 years ago
Craig Tiller
67f364e23e
[cleanup] Eliminate usage of GRPC_ASSERT(false...); ( #31757 )
...
* crash function
* progress
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fixes
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
* fix
* fix
* use cpp attr
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* fix
* add exclusion
* fix
* typo
* fix
* fmt
* Update tcp_socket_utils.cc
* Automated change: Fix sanity tests
* fix
* revert php changes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Mark D. Roth
daded8a59f
WRR: update tests to cover qps plumbing ( #32068 )
2 years ago
Mark D. Roth
e5a37d59fa
xDS: don't NACK RouteConfig with a VirtualHost containing no valid routes ( #32069 )
2 years ago
Yash Tibrewal
d5c1dc1667
GCP Observability: Fix env var names ( #32066 )
2 years ago
Yash Tibrewal
5fc92eaeae
Disable logging test ( #32049 )
2 years ago
cut4th
aa2956b05b
Change ProtoReflectionDescriptorDatabase to take grpc::ChannelInterface. ( #31858 )
...
Updates the ProtoReflectionDescriptorDatabase ctor to take a reference
to std::shared_ptr<grpc::ChannelInterface> rather than
std::shared_ptr<grpc::Channel>. This helps code that is making use of
grpc::ChannelInterface from having to perform a cast from the Base to
the Derived when creating the refelction db.
2 years ago
Yash Tibrewal
ad6f6c49e0
Logging filter ( #31755 )
...
* initial
* Intermediate
* Another try
* Try multiple necesary pulls
* Filter works other than client half close
* Fixes
* Add a cancelled RPC test
* Handle trailer only responses
* Tests for disabled logging and truncated payloads
* Fix authority and peer
* Add TODOs and asserts for half-close
* Fix tests for half-close and cancel
* 2d748fcb1cf45cac62729b8346ad15e6abc79e97
* Fix sanity checks
* Strict bazel build
* Fix package
* IWYU
* Fix cmake
* Explicit cast to string
* Size casts
* Fix Arena leak and disable macos build for now
* Reviewer comments
2 years ago
Hannah Shi
d8a52a5043
build multi arc ios unit test for m1 ( #31930 )
2 years ago
Vignesh Babu
4806da6041
Fix flakiness in xds_cluster_end2end_test: XdsTest/CdsTest.CircuitBreaking/V3 ( #32027 )
...
* Fix flakiness in xds_cluster_end2end_test: XdsTest/CdsTest.CircuitBreaking/V3
* update comment and add sleep in one more instance
2 years ago
apolcyn
c952d37814
[testing] add test client for use in XDS federation tests ( #32020 )
...
[testing] add test client for use in XDS federation tests
2 years ago
Yash Tibrewal
d3d4dd7325
StatsPluginEnd2EndTest: Add QueueOnceLoadBalancingPolicy to remove flakiness from test ( #32019 )
...
* StatsPluginEnd2EndTest: Add QueueOnceLoadBalancingPolicy to remove flakiness from test
* Unused arg
* Remove unnecessary DelegatingPicker
* Reviewer comments
* explicit constructor
* Remove unnecessary dependency
* Reviewer comments
* Sanity
* clang tidy
2 years ago
Cheng-Yu Chung
384982ba2b
[bugfixes] Fix vulnerability for PyYAML ( #32007 )
...
* Fix vulnerability for PyYAML
* Fix
* Revert "Fix"
This reverts commit 5522d226c4
.
* Fix
* Fix format
2 years ago
Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2 years ago
Esun Kim
27bf7238f4
Added include guard to mock headers ( #31909 )
...
* Added include guard to mock headers
* Fix test
2 years ago
Yash Tibrewal
9e7c8bff55
Tracing: Add annotations for when call is removed from resolver result queue and lb pick queue ( #31913 )
...
* Tracing: Add annotations for when call is removed from resolver result queue and lb pick queue
* Add test for pending resolver result queue as well
* Update annotation messages
2 years ago
Cheng-Yu Chung
1b05576aa3
[cleanups] Clean up `GrpcLibraryInitializer` ( #31894 )
...
* Clean up `GrpcLibraryInitializer`
* Update
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
e28419f1f9
[cleanups] Remove `class CoreCodegen` and `g_core_codegen_interface` ( #31875 )
...
* Delete `g_core_codegen_interface`
* Automated change: Fix sanity tests
* Fix
* Update
2 years ago
Cheng-Yu Chung
ac365cadfb
Remove `include/grpc/impl/codegen/port_platform.h` ( #31778 )
2 years ago
Mark D. Roth
5192021637
Second attempt: xDS stateful session affinity: add config plumbing ( #31874 )
...
* Revert "Revert "xDS stateful session affinity: add config plumbing (#31827 )" (#31873 )"
This reverts commit 4f15d3dcf9
.
* fix build for compilers too dumb to recognize the full set of enum values
2 years ago
Yijie Ma
fe9f9afaa0
EventEngine::RunAfter migration ConnectionAttemptInjector ( #31865 )
2 years ago
Cheng-Yu Chung
9a7e77318b
[cleanups] Remove `include/grpc/impl/codegen/grpc_types.h` ( #31835 )
...
* Remove `include/grpc/impl/codegen/grpc_types.h`
* Automated change: Fix sanity tests
* Fix typo
* Automated change: Fix sanity tests
2 years ago
Richard Belleville
4f15d3dcf9
Revert "xDS stateful session affinity: add config plumbing ( #31827 )" ( #31873 )
...
This reverts commit f76948b12d
.
2 years ago
Mark D. Roth
f76948b12d
xDS stateful session affinity: add config plumbing ( #31827 )
...
* WIP
* sanitize
* add endpoint tests
* add plumbing through LB policies
* clang-tidy
2 years ago
Eryu Xia
a8ac4e7265
Revert "[ObjC]fix 64 to 32 bit clang conversion warning in src/core/lib ( #29877 )" ( #31843 )
...
This reverts commit eb0a591811
.
2 years ago
Hannah Shi
eb0a591811
[ObjC]fix 64 to 32 bit clang conversion warning in src/core/lib ( #29877 )
2 years ago
Cheng-Yu Chung
4e90f43a75
Remove functions in `class CoreCodegen` ( #31796 )
...
* Update include
* Clean up `grpc_empty_slice()`
* Clean up `grpc_slice_malloc()`
* Clean up `grpc_slice_unref()`
* Clean up `grpc_slice_ref()`
* Clean up `grpc_slice_split_tail()`
* Clean up `grpc_slice_split_head()`
* Clean up `grpc_slice_sub()`
* Clean up `grpc_slice_buffer_add()`
* Clean up `grpc_slice_buffer_add_indexed()`
* Clean up `grpc_slice_buffer_pop()`
* Clean up `grpc_slice_from_static_buffer()`
* Clean up `grpc_slice_from_copied_buffer()`
* Clean up `grpc_metadata_array_init()`
* Clean up `grpc_metadata_array_destroy()`
* Clean up `gpr_inf_future()`
* Clean up `gpr_time_0()`
2 years ago
Cheng-Yu Chung
5fe132a211
Revert "Revert "Remove `include/grpc/impl/codegen/gpr_slice.h` ( #31774 )" ( #31805 )" ( #31806 )
...
This reverts commit 39a4343044
.
Fixing forward the original PR. The content should be the same as the original PR. The broken part is in the internal.
2 years ago
Yijie Ma
6b79989d86
EventEngine::RunAfter: PollingResolver ( #31717 )
...
* EventEngine::RunAfter: polling_resolver
initial draft
* restore some iwyu change
* fix: get rid of OnNextResolution
* fix some test crashes
* fix more tests
* clang-tidy
* review
* clang-tidy
* fix
* review
* review
* review
* fix use-after-move
* revert
* review
2 years ago
Cheng-Yu Chung
39a4343044
Revert "Remove `include/grpc/impl/codegen/gpr_slice.h` ( #31774 )" ( #31805 )
...
This reverts commit ac1dee8ac1
.
2 years ago
Cheng-Yu Chung
ac1dee8ac1
Remove `include/grpc/impl/codegen/gpr_slice.h` ( #31774 )
2 years ago
Alisha Nanda
ad91404e0e
Remove static initialization of memory allocator in tests ( #31776 )
...
* Add more info to error
* Fix tests
* Remove static initialization of memory allocator
* Fix test failure
* Automated change: Fix sanity tests
Co-authored-by: ananda1066 <ananda1066@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
dba82c9be6
Remove `include/grpc/impl/codegen/log.h` ( #31775 )
...
* Remove `include/grpc/impl/codegen/log.h`
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
1d968a36aa
Remove functions in `class CoreCodegen` ( #31767 )
...
* Clean up `grpc_byte_buffer_copy()`
* Clean up `grpc_byte_buffer_destroy()`
* Clean up `grpc_byte_buffer_length()`
* Clean up `grpc_byte_buffer_reader_init()`
* Clean up `grpc_byte_buffer_reader_destroy()`
* Clean up `grpc_byte_buffer_reader_next()`
* Clean up `grpc_byte_buffer_reader_peek()`
* Clean up `grpc_raw_byte_buffer_create()`
* Clean up `grpc_slice_new_with_user_data()`
* Clean up `grpc_slice_new_with_len()`
* Clean up `grpc_call_start_batch()`
* Clean up `grpc_call_cancel_with_status()`
* Clean up `grpc_call_failed_before_recv_message()`
* Clean up `grpc_call_ref()`
* Clean up `grpc_call_unref()`
* Clean up `grpc_call_error_to_string()`
* Fix typos
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
f5d21653fc
Revert "[event_engine] Move combiner executor usage to event engine ( #31713 )" ( #31753 )
...
This reverts commit b04aa1cf92
.
Co-authored-by: AJ Heller <hork@google.com>
2 years ago
Mark D. Roth
7e201fbe42
rls_e2e_test: stop setting env var that isn't actually being used ( #31770 )
2 years ago
Cheng-Yu Chung
5498481265
Remove `include/grpcpp/impl/codegen/proto_utils.h` ( #31532 )
2 years ago
Cheng-Yu Chung
77b3972f95
Clean up the TODO item in build target `grpc_base` part `channel_args` ( #31642 )
...
* Clean up the TODO item in build target `grpc_base` part `channel_args`
* Update
* Update
* Update
* Automated change: Fix sanity tests
* update
* Automated change: Fix sanity tests
2 years ago
Craig Tiller
b04aa1cf92
[event_engine] Move combiner executor usage to event engine ( #31713 )
...
* [event_engine] Move combiner executor usage to event engine
* fix
* review feedback
* fix
* x
* fix
* fix
2 years ago
Cheng-Yu Chung
e9b287997a
Remove `include/grpcpp/impl/codegen/sync.h` ( #31545 )
...
* Remove `include/grpcpp/impl/codegen/sync.h`
* Fix sanity tests
2 years ago
Yash Tibrewal
15c4a98bc7
Gcp Observability Logging: Add handling for adding entry as a json payload ( #31723 )
2 years ago
Cheng-Yu Chung
e7f9fb03f4
Remove `include/grpcpp/impl/codegen/server_callback_handlers.h` ( #31533 )
2 years ago
Yash Tibrewal
0389940093
GcpObservability: Add config support for constant labels ( #31710 )
2 years ago
Esun Kim
f3fedae7c8
Added readability-redundant-string-cstr ( #31707 )
...
* Added readability-redundant-string-cstr
* Auto fix
* No need to wrap std::string
2 years ago
Cheng-Yu Chung
7e3ada34e6
Clean up the TODO item in build target `grpc_base` -- part `closure` ( #31001 )
...
* Clean up the TODO item in build target `grpc_base` part `closure`
* Update
* Update
* Revert "Update"
This reverts commit daf3118390
.
* Update
* Update
* Automated change: Fix sanity tests
2 years ago
Esun Kim
0ba0c4bf74
Added googletest clang-tidy checks ( #31610 )
...
* Added google-googletest
* Autofix
* Fix test names
* Fix
2 years ago
Cheng-Yu Chung
a02cc7d88a
Remove `include/grpcpp/impl/codegen/delegating_channel.h` ( #31495 )
...
* Remove `include/grpcpp/impl/codegen/delegating_channel.h`
* Update
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
405de7ac72
Remove `include/grpcpp/impl/codegen/status.h` ( #31285 )
...
* Remove `include/grpcpp/impl/codegen/status.h`
* Include removing status_code_enum
* Update
* Update
* Update zlib (#31356 ) (#31357 )
To mitigate CVE-2022-37434
* Update
Co-authored-by: Mikhail Lappo <miklelappo@users.noreply.github.com>
2 years ago