Yash Tibrewal
8e4c14fbed
Repo Manager Esun ( #27450 )
3 years ago
Craig Tiller
7ecd9d6b40
Split ExecCtx into its own target ( #27446 )
...
* make error independent
* Separate grpc_error into its own library
This is forward work to move Closure, ExecCtx into their own libraries
in order to make use of them in the activity code for resource quota
wakeups.
* Automated change: Fix sanity tests
* fixes
* split out closure lib
* exec_ctx
* Make things compile
* Automated change: Fix sanity tests
* fix merge
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
693f36f91c
Remove dead code ( #27445 )
...
* Remove dead code
* Automated change: Fix sanity tests
* build
* remove benchmark
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
ffa4365031
Separate common slice utilities, grpc_error into their own libraries ( #27441 )
...
* make error independent
* Separate grpc_error into its own library
This is forward work to move Closure, ExecCtx into their own libraries
in order to make use of them in the activity code for resource quota
wakeups.
* Automated change: Fix sanity tests
* fixes
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Esun Kim
c89d05559b
absl::Status support to service_config_test ( #27433 )
...
* absl::Status support to service_config_test
* Fix for MSVC
3 years ago
Craig Tiller
87a973f01d
Add structurally aware fuzzing support ( #27405 )
...
* Add a dependency on libprotobuf-mutator
* Changes for structured fuzzing
* fuzznificent
* add a config that will build fuzzers
* bazel run --config=fuzzer_asan //path/to:fuzzer fuzzes!
* fixes
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* fix
* sanitizer fix
* fix directory
* regen stuff
* compile error
* remove fuzzers from cmake build
* Automated change: Fix sanity tests
* review feedback
* remove unnecessary load
* review feedback
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
e30419fcac
Metadata: replace usage of grpc_metadata_batch_is_empty with Empty function ( #27422 )
3 years ago
Ta-Wei Tu
b7f27209cf
Server fuzzer for binder transport ( #27122 )
...
* [binder] Add server fuzzer
* Add a crash reproducer related to #27321
* Address coments & fix bugs
* Rebase & Deal with merge conflicts
3 years ago
Craig Tiller
a8592b0a84
Compile fix for Fuchsia ( #27432 )
3 years ago
Craig Tiller
66ae0d5c08
Separate slices from mdelems for static data ( #27372 )
...
* separate slice into internal and refcount, with refcount being the minimal base
* python3-ize
* Separate slices from mdelems for static data
Allows us to separate a small build target with just some slice basics
from the rest, which will help simplify the build system longer term.
Additionally exposed an opportunity to eliminate an init function.
Should also help in a month or so when it's time to jettison interned
metadata and slices entirely.
* fix compilation
* Automated change: Fix sanity tests
* fixes
* fixfixfix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Lidi Zheng
f79189359b
Enable Python xDS retry tests ( #27431 )
...
* Enable affinity and retry tests for Python
* Make the test compatible to Python client
* Revert Python enabling in affinity tests
3 years ago
小么小儿郎EL
435d5207ab
fix: use == instead of is when comparing with a certain types of literals ( #26519 )
3 years ago
Craig Tiller
c21ca4dd30
Metadata: replace usage of grpc_metadata_batch_clear with Clear function ( #27423 )
3 years ago
Craig Tiller
fe9ad53c66
Metadata: replace usage of grpc_metadata_batch_size with TransportSize method ( #27421 )
3 years ago
Craig Tiller
06ef5893f8
Metadata: replace usage of grpc_metadata_batch_remove with Remove method ( #27420 )
3 years ago
Craig Tiller
ffb2c5e599
Metadata: replace usage of grpc_metadata_batch_link_{head,tail} with Link{Head,Tail} method ( #27419 )
...
* Metadata: replace usage of grpc_metadata_batch_link_{head,tail} with Link{Head,Tail} method
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Esun Kim
47586fb36e
Revert "Revert "Added absl::Status support to error_utils ( #27358 )" ( #27418 )" ( #27429 )
...
This reverts commit 933676c56c
.
3 years ago
Craig Tiller
933676c56c
Revert "Added absl::Status support to error_utils ( #27358 )" ( #27418 )
...
This reverts commit 9b3f75d322
.
3 years ago
AJ Heller
97631cf34c
EventEngine::Closure ( #27395 )
...
This introduces the new `Closure` type, and new cancellation semantics.
I've also fixed a few bugs in the EventEngine iomgr implementation that
had gone unnoticed.
3 years ago
Craig Tiller
b669a3c521
Revert "Revert "a useful change ( #27381 )" ( #27411 )" ( #27412 )
...
This reverts commit 5db17f7350
.
3 years ago
Richard Belleville
eada6c6e56
Update Alpine Test Image to Use Python 3.8 ( #27415 )
...
* Upgrade Alpine to Python 3.8
* Upgrade docker image to use 3.8
3 years ago
Esun Kim
47ca8c1209
Replace atm with AtomicError in call ( #27314 )
3 years ago
Esun Kim
9b3f75d322
Added absl::Status support to error_utils ( #27358 )
3 years ago
Craig Tiller
9872da79a1
Eliminate grpc_metadata_batch_{init,destroy,move} ( #27349 )
...
* Eliminate grpc_metadata_batch_{init,destroy,move}
* fixes
* fixes
* fixes
* fixes
* portability fixes
* fixes
* fix
* fix
* fix
* be explicit about being explicit
3 years ago
Esun Kim
3ba0bddbbc
Add add_error for Substitute ( #27414 )
3 years ago
Esun Kim
c80233a4ba
Fix bugs in error ( #27377 )
3 years ago
donnadionne
1caff522e4
Adding a log to make logging in WaitForAllBackends and WaitForBackend ( #27365 )
...
consistent.
This helps to uncover a case where the first test in the shard seems to
encounter longer delays than the rest of the tests.
3 years ago
Craig Tiller
5db17f7350
Revert "a useful change ( #27381 )" ( #27411 )
...
This reverts commit 11eb70bbed
.
3 years ago
Craig Tiller
11eb70bbed
a useful change ( #27381 )
...
* a useful change
* Automated change: Fix sanity tests
* fix
* fix
* QsortCompare it is!
* Automated change: Fix sanity tests
* add missing header
* clang-tidy fixes, tweak clamp to only use <
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
179cdfcadb
Update fuzzer infrastructure for developers a little ( #27403 )
...
* add a config that will build fuzzers
* bazel run --config=fuzzer_asan //path/to:fuzzer fuzzes!
3 years ago
Craig Tiller
bbf41f2980
Remove seemingly dead code ( #27404 )
...
* Remove seemingly dead code
* more cleanup
3 years ago
Jan Tattermusch
d64f75d029
C#: metadata.Get and GetAll should accept uppercase keys ( #27383 )
3 years ago
Jan Tattermusch
2fc133b9be
fix use-after-free metadata corruption in C# when receiving response headers for streaming response calls ( #27382 )
3 years ago
donnadionne
30b7f09508
Major bump core major version from 18.0.0 to 19.1.0 ( #27392 )
...
* Bump core version to 19.1.0
* Regenerate projects
3 years ago
Terry Wilson
f3eb95aec3
xds-k8s buildscripts: Add missing quotation marks. ( #27389 )
...
These were missed when creating the Python virtual env.
3 years ago
Craig Tiller
4d7ad5271a
Handle cancellation inside polling an activity ( #27369 )
...
* allow cancellation during run
* add a test
* review feedback
3 years ago
Lidi Zheng
46257815d4
Disable grpc_status_test for sync stack in Python2 ( #27374 )
...
* Disable grpc_status_test for sync stack in Python2
* Correct the if condition
* Also disable this test in Bazel
* Clean the unnecessary import in BUILD
3 years ago
Lidi Zheng
f99c193d72
Allow more advanced test case support semantic ( #27373 )
...
* Allow more advanced test case support semantic
* Fix comments and docs
* Correct the supported Golang version in retry test
* Make isort happy
3 years ago
Ta-Wei Tu
f7998db700
Migrate binder transport end-to-end tests to use the existing testing service ( #27179 )
...
* Use TestServiceImpl in binder end-to-end tests
* Fix TSAN warnings
3 years ago
donnadionne
b9a997be11
Bump version to v1.41.0 ( #27370 )
...
* Bump version to v1.41.x
* Regenerate projects
3 years ago
Craig Tiller
fb73292270
Promises: Fix composition problems of loops of seq ( #27337 )
...
* Promises: Fix composition problems of loops of seq
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Lidi Zheng
299be4303d
Reduce xDS GCE interop framework to only run ping_pong ( #27355 )
...
* Reduce xDS GCE interop framework to only run ping_pong
* Revert changes in PHP and Ruby
3 years ago
Ta-Wei Tu
8c97369986
[binder] Fix crash when missing authority ( #27321 )
...
There is an assertion in Server::CallData::RecvInitialMetadataReady()
that checks whether the received initial metadata indeed contains keys
:authority and :path. However, there was no such check in the binder
transport. This PR calls recv_initial_metadata_ready with an error when
either :authority or :path is missing in the received initial metadata.
3 years ago
Ming-Chuan
8c425189f3
Add uid to OnTransactCb argument ( #27328 )
...
* Add uid to OnTransactCb argument
This will allow callback functions to check if current RPC call conforms
to the security policy.
3 years ago
Denny C. Dai
49f1f43418
[objc] Switch off optimization for test and regen xbproj ( #27356 )
3 years ago
Craig Tiller
c6a20601dc
Activities: Don't execute inline ( #27341 )
...
* Activities: Don't execute inline
* fix test
3 years ago
Menghan Li
8545cfa1cb
xds/interop: turn on affinity urlmap tests for go ( #27359 )
3 years ago
Doug Fawley
f4a5dde99a
xds interop: enable retry tests for Go ( #27357 )
3 years ago
Craig Tiller
e2ed0f7fa8
Remove dead member variable ( #27353 )
3 years ago
Esun Kim
7710e94617
LameClient ready for absl::Status ( #27319 )
...
* LameClient ready for absl::Status
* Update by review
3 years ago