francisco souza
f97bf05169
python: fix type annotation for the _metadata field ( #27251 )
...
It's a tuple with many MetadatumType's.
Co-authored-by: francisco souza <fsouza@users.noreply.github.com>
3 years ago
yifeizhuang
5dbb13982f
interop-testing: fix target-proxy not found ( #27329 )
3 years ago
Mark D. Roth
c4566b7552
pass URI string to resolver impls ( #27316 )
3 years ago
Mark D. Roth
17862e51dc
add LB policy metadata lookup API ( #27307 )
3 years ago
Elkana Tovey
9bdc3be88f
Fix typo BUILDING.md ( #27331 )
...
change described below to described above
3 years ago
Lidi Zheng
15184d30ad
Fix injected abort error not recorded after injected delay ( #27215 )
...
* Fix injected abort error not recorded after injected delay
* Add the abort after delay test case
* Make Kokoro's clang_format happy
3 years ago
AJ Heller
1e5d8298ae
Repomgr Yash ( #27301 )
3 years ago
Ta-Wei Tu
d24f89d79d
[binder] Fix Android guard in binder server ( #27326 )
...
Android-related binder classes are only available if
GPR_SUPPORT_BINDER_TRANSPORT is defined. Thus, BinderServerCredentials
should only work if GPR_SUPPORT_BINDER_TRANSPORT (instead of
GPR_ANDROID) is defined as well.
3 years ago
Ming-Chuan
188f6be8f2
Remove obsolete comment ( #27325 )
3 years ago
Ming-Chuan
776b452e48
Fix ReadableParcelAndroid::ReadString interface ( #27260 )
...
* Fix ReadableParcelAndroid::ReadString interface
Also uses implementation from android/binder_parcel_utils.h to read
ByteArray and string from Parcel
Test example app on device, works correctly
3 years ago
Ta-Wei Tu
71ceae7369
[binder] Use AParcel_getDataSize() in flow-control ( #27257 )
3 years ago
Ta-Wei Tu
52e5b64c5b
[binder] Handle outbound flow control ( #27243 )
3 years ago
Ta-Wei Tu
554bbb6ca5
[binder] Fix WireReaderImpl bugs & races ( #27303 )
...
There was a bug found by the fuzzer where we might access wire_writer_ before
finishing SETUP_TRANSPORT (and thus constructing wire_writer_). This PR
fixes such issue by making sure that we won't proceed with any requests
until the connection is fully established.
Since binder transactions may be coming from multiple different threads,
this PRs guard some of the WireReaderImpl's member with a mutex to make
sure there's no races between threads.
3 years ago
sanjaypujare
e7dbac5e26
xds-k8s: increase timeout to 7 hours (6 hours plus safety factor of 1 hour) ( #27318 )
3 years ago
Mark D. Roth
3763be8796
add APIs for creating errors from C++ strings ( #27310 )
...
* add API for creating errors from C++ strings
* add missing include
3 years ago
Denny C. Dai
610db377f3
[objc] Fix firestone linux cocoapod grpc install issue ( #27300 )
...
all checks green, merge and close
3 years ago
Yash Tibrewal
df3b2c4fb3
Set per-stream window delta limit to 1MB ( #27298 )
3 years ago
Ta-Wei Tu
fa2d21716b
[binder] Fix server-side recv_trailing_metadata ( #27184 )
...
According to the [transport explainer](https://grpc.github.io/grpc/core/md_doc_core_transport_explainer.html ), the server-side `recv_trailing_metadata` should not be completed before sending trailing metadata to the client.
3 years ago
Yash Tibrewal
72171a3326
De-experimentalize XdsCredentials and XdsServerCredentials API ( #26544 )
...
* De-experimentalize XdsCredentials and XdsServerCredentials API
* Use GRPC_DEPRECATED
3 years ago
Yash Tibrewal
362aff3458
xDS: Remove environmental variable guard for security ( #27290 )
3 years ago
Yash Tibrewal
7fd731f704
De-experimentalize XdsServerBuilder ( #27296 )
3 years ago
Yash Tibrewal
1a009cf4e5
xDS Security: Use new way to fetch certificate provider plugin instance config ( #27264 )
...
* xDS Security: Use new way to fetch certificate provider plugin instance
config
* Reviewer comments
* Additional fields to NACK
* Move NACKing tests for tls_certificates and tls_certificate_sds_securet_configs to client-side
3 years ago
Yash Tibrewal
f26c107651
xDS server serving status: Use a struct to allow more fields to be added in the future ( #27242 )
3 years ago
Craig Tiller
b51355c691
Optimizations for latch ( #27294 )
...
* Optimizations for latch
* comments
3 years ago
Ta-Wei Tu
27eae53d83
[binder] Use combiner & refs to prevent data race ( #27182 )
3 years ago
Jan Tattermusch
e11dcbc3e4
Include "linux_extra" python artifacts in regular linux build ( #27279 )
3 years ago
Jan Tattermusch
82d8bb089d
Use manylinux_2_17 instead of manylinux_2_24 tag for manylinux2014 aarch64 wheels ( #27280 )
...
* Let's see if the aarch64 manylinux bug is fixed or not
* rename aarch64 image back to manylinux2014 for consistency
* fix C# aarch64 artifact build
Co-authored-by: Lidi Zheng <lidiz@google.com>
3 years ago
Jan Tattermusch
782734a82f
python: move native debug symbol stripping to build_artifact phase ( #26194 )
3 years ago
Denny C. Dai
1eaea530d7
[objc] Unify all interop test timeout to 64s ( #27286 )
3 years ago
AJ Heller
b555b2f86b
Teach our check-DNS script to ignore temporary files ( #27285 )
...
A plain `grep` was occasionally attempting to grep temporaary files that
were being created and deleted concurrently by other sanity check
scripts, leading to TOCTOU problems. This now only searches indexed
files (thanks for the suggestion, @ctiller!).
We still need to exclude `third_party` since upb is not a submodule.
`git grep` will ignore all submodules by default, so the other
third_party subfolders were already excluded.
3 years ago
Craig Tiller
ce95fd2586
For-each loop for promises ( #27241 )
...
* For-each loop for promises
* Automated change: Fix sanity tests
* Fix older compilers
* Automated change: Fix sanity tests
* review feedback
* clang-tidy fixes
* clangfmt
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
8ee36d26bf
Move handshakers to core configuration system ( #27195 )
...
* Move handshakers to core configuration
* Automated change: Fix sanity tests
* fix memory ordering
* Update http_connect_handshaker.h
* slightly simpler code
* clangfmt
* review feedback
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Richard Belleville
33dd1bd8d0
Report Python xDS Interop Client SIGINTs ( #27289 )
3 years ago
Mark D. Roth
f3497eb790
implement improved xDS NACK semantics ( #27276 )
...
* refactor xDS response parsing
* fix build
* implement improved xDS NACK semantics
* fix clang-tidy
* fix test
3 years ago
Craig Tiller
5765d320d2
Remove unused APIs ( #27270 )
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
sanjaypujare
714eaa9df8
xds-k8s: fix typo to remove _java from the script name ( #27278 )
3 years ago
Craig Tiller
28316341bf
Annotate impl/codegen with IWYU pragmas ( #27252 )
...
* Add a tool to annotate impl/codegen with IWYU pragmas
* xx
* oops
* fmt
* x
* fix wrong direction bug
* use defaultdict
* better annotations
* better annotations
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
AJ Heller
6dfcc6140f
EventEngine documentation and API changes from the gRFC ( #27220 )
3 years ago
Mark D. Roth
e468b00c56
refactor xDS response parsing ( #27272 )
...
* refactor xDS response parsing
* fix build
3 years ago
ZHANG Dapeng
0faa444426
Update grpc_xds_features.md with latest features ( #27277 )
3 years ago
Denny C. Dai
7da1671757
[objc] Reduce payload size for concurrent tests and separate expectations ( #27271 )
3 years ago
Ta-Wei Tu
dff9e84e35
[binder] Handle inbound flow control ( #27228 )
3 years ago
Ta-Wei Tu
3a5e844b38
[binder] Implicitly initialize the binder pool ( #27261 )
3 years ago
sanjaypujare
e20e26f0d4
xds-k8s/interop: add files for cross language testing ( #27234 )
...
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
3 years ago
Craig Tiller
dc701787e2
Convert HPACK encoder to C++ ( #27226 )
...
* Rebuild HPACK encoder table as C++
* move comment
* incguards
* build
* Automated change: Fix sanity tests
* c++ initialization ftw
* Automated change: Fix sanity tests
* Add missing header
* Add missing header
* Begin converting HPACK encoder to c++
* First pass conversion to c++
* fixes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Piotr Morgwai Kotarbinski
483e11ddc3
Tiny update to protocol overview doc. ( #26396 )
...
* Tiny update to protocol overview doc.
Clarify client stream closing and link to more detalied HTTP/2 specific doc.
* apply review comments
* add brief HTTP/2 client stream closing mechanism explenation
* reword to differentiate HTTP/2 stream from gRPC message stream
* apply review comments
3 years ago
AJ Heller
17174976b6
Remove the TaskHandle return type from EventEngine::Run ( #27269 )
...
It isn't used in gRPC currently, and would be difficult to implement
efficiently in some scenarios.
3 years ago
Yash Tibrewal
205445ffc6
Update submodule envoy-api to origin/main ( #27256 )
...
* Update submodule envoy-api with origin/main
* Update UPB generated files
3 years ago
Craig Tiller
9b43c881d7
Add python formatters to sanitize.sh ( #27253 )
...
* Add python sanitizers to sanitize.sh
* virtualenv
3 years ago