AJ Heller
5db6de8634
[༺ EventEngine ༻] Specify requirements for Run* immediate execution ( #32028 )
...
* [༺ EventEngine༻ ] Specify requirements for Run* immediate execution
Also adds test suite tests that may catch non-conforming implementations
(Run called ~3200 times in case it's non-deterministic).
* fix
* verbiage; longer timeout
* fix int type comparison warning
* rm illegal term
* Automated change: Fix sanity tests
* disable tests
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
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
Andres Beltran
2904ee8fd3
Add support for systemd socket activation ( #31667 )
...
* Revert "Revert "Add support for systemd socket activation (#30485 )" (#31617 )"
This reverts commit 867dc6cae2
.
* Add checks to unix tests
* Ran generate_projects.sh and fixed styling in test
* Fix variable in unit test
* Use reinterpret_cast in test
* Rebase and fix sanity failures
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
Richard Belleville
3a3f7ebc25
Add unit test for #31982 ( #32014 )
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
Yijie Ma
9ff89e81c4
fix order issue in setting grpc_tcp_client_impl ( #32022 )
2 years ago
Stan Hu
06a9fbd382
Fix Ruby build errors in 3.2.0 on Apple M1 ( #31997 )
...
Previously attempting to build the Ruby C extensionwould result in
undefined symbol:
```
Undefined symbols for architecture arm64:
"_ruby_abi_version", referenced from:
-exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
As noted in https://github.com/ruby/ruby/pull/6231 ,
`_ruby_abi_version` is only available for development
versions. `RUBY_PATCHLEVEL` < 0 denotes a development version, while
>= 0 denotes a released version.
2 years ago
AJ Heller
2c4d55b3a1
Revert "Revert "Revert "WindowsEventEngine Client implementation ( #31848 )" (#… ( #31974 )" ( #32018 )
...
This reverts commit aa83319695
.
2 years ago
Eugene Ostroukhov
a111948602
xds_override_host LB: account for subchannel connectivity state ( #31914 )
2 years ago
Jan Tattermusch
a017e9b7f2
fix bazel distribtest ( #31999 )
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
Hannah Shi
2adab34f7a
fix generate_projects.sh fails in M1 Mac ( #31868 )
...
* fix generate_projects.sh fails in m1 mac
* use buildozer-linux-arm64 for linux arm64 platform
2 years ago
Vignesh Babu
8bd2b9af52
Fixing some bugs in posix event engine ( #31785 )
...
* update
* regenerate projects
* fix sanity
* review comments
* fix
* add lock free event benchmark
* releasable mutex lock
* fix build isue
* update
* fix sanity
* regenerate projects
* iwyu
* Fix resolved address length related bugs in tcp_socket_utils and listener_utils
* iwyu
* cleanup src/core/lib/event_engine/tcp_socket_utils.cc
* update endpoint to use SliceCast into MutableSlice
* fix sanity
* review comments
* review comments
* regenerate projects
* fix
* rm unused variable
* fix
2 years ago
Nick Hill
353afc2dd9
fix: Re-raise python asyncio.CancelledErrors ( #31982 )
...
This is motivated by #31227 which I also encountered recently. I'm not familiar with the call lifecycle details, but it seems clear that there is some kind of race condition between user-initiated cancellations and other completion status updates.
If a user cancels a call before being notified of its completion, I believe it should be considered cancelled unconditionally, regardless of whether the call actually completed successfully before its cancellation status could be set.
So it seems better to re-raise explicitly rather than using self._raise_for_status(), which is a no-op in this race condition and can lead to an UnboundedLocalError.
2 years ago
AJ Heller
aa83319695
Revert "Revert "WindowsEventEngine Client implementation ( #31848 )" (#… ( #31974 )
...
* Revert "Revert "WindowsEventEngine Client implementation (#31848 )" (#31965 )"
This reverts commit 58ad7950a0
.
* iwyu & visibility
2 years ago
Frédéric Nadeau
96bb8b9c5c
Update comment following #31108 ( #31947 )
...
For UNIX sockets, code has been fixed but comment and log were not.
2 years ago
Mark D. Roth
bbce3cc643
ring_hash: fix cast in WorkSerializerRunner ( #32012 )
2 years ago
apolcyn
e31cfaaa11
Update default ruby version to 3.2 on linux/macos ruby builds ( #32010 )
...
* Use ruby 3.2 in macos and linux ruby builds
2 years ago
Craig Tiller
a414dbd304
Revert #30349 ( #32008 )
...
* [iwyu] Add missing #include <type_traits> to fix build breakage with LLVM after e0a66116fc
* Update IWYU mappings
New libc++ doesn't provide <type_traits> when including <utility>.
* run iwyu
Co-authored-by: alexfh <alexfh@google.com>
2 years ago
Xuan Wang
e1f07786a4
Change Aio abort() function return type to NoReturn ( #31984 )
2 years ago
Vignesh Babu
dafbe7031b
Separate out tsi_alts_frame_protector into its own target ( #31988 )
...
* start
* update
2 years ago
apolcyn
b27d726342
testing: bump timeout of grpc/abseil-head build job from 4 to 5 hours ( #31936 )
2 years ago
Clément Jean
9caea6ca40
Update bazel_support.md ( #31986 )
...
* Update bazel_support.md
Typo where 'k' should be a comma. We can now copy paste the code as is.
* remove typo in template file
2 years ago
Vignesh Babu
4f9ba0f49b
Expand SliceCast to support casts to MutableSlice type ( #31996 )
...
* Expand SliceCast to support casts to MutableSlice type
* update
2 years ago
apolcyn
a2cf991f08
always export _rb_tr_abi_version on truffle ruby ( #31995 )
2 years ago
Eugene Ostroukhov
875066b61e
tests: Validate subchannel state transitions ( #31971 )
2 years ago
tsunche
c751218ffe
[BinderTransport] remove unnecessary grpc_init() in binder_server_test ( #31945 )
...
* remove unnecessary grpc_init() in binder_server_test
* remove useless blank line
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
apolcyn
05c5083477
make exported symbol files platform specific ( #31970 )
2 years ago
Richard Belleville
a1491cd738
Ensure Full Build is Run for each Bazel Version in Bazel Distribtest ( #31366 )
...
* Ensure results of Bazel distribtests are not cached across versions.
* Please the shellcheck overlords
* Try to use action env to invalidate cache
* Change placement of Bazel version check
* Review comments
* Add version test to build step as well
2 years ago
AJ Heller
50d4f22069
Fix hang on fork when the security context is destroyed in the Executor ( #31969 )
...
Attempting to create an ExecCtx while forking will hang forever. In the
apparently rare case that the transport is destroyed in an Executor
thread, this blocks indefinitely in the pre-fork handlers.
2 years ago
Craig Tiller
5664d6ee6b
[slice] Mutable slice cast ( #31959 )
...
* [slice] Mutable slice cast
* fix
2 years ago
Mark D. Roth
cd98a12faa
subchannel: log status to channelz in state TRANSIENT_FAILURE ( #31966 )
...
* subchannel: log status to channelz in state TRANSIENT_FAILURE
* iwyu
2 years ago
github-actions[bot]
ff55b10616
Automated change: Fix sanity tests ( #31968 )
...
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
AJ Heller
58ad7950a0
Revert "WindowsEventEngine Client implementation ( #31848 )" ( #31965 )
...
This reverts commit bc7e155e55
.
2 years ago
Vignesh Babu
531287b2ee
Update tcp server interface to move on_accept_cb to the create method ( #31912 )
...
* Update tcp server interface to move on_accept_cb to create method
* update
* update
2 years ago
tony
1cd92d9446
Add internal documentation for Grpc.Tools MSBuild integration ( #31784 )
...
* Developer doc for Grpc.Tools msbuild integration
* Fix formatting
* update docs from review comments
* small changes to the documentation
2 years ago
Eugene Ostroukhov
878a0ea6c2
xds_override_host LB: add basic support for overriding host ( #31954 )
...
This is same as #31819 but with fixed compilation issues.
2 years ago
Craig Tiller
feb43c589f
[iwyu] Better error checking in script ( #31957 )
...
* fff
* fff
* fff
* better error checking
* x
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Esun Kim
25b0aff1e7
Update a sanity docker image to run iwyu ( #31956 )
...
* Added missing iwyu deps
* Docker image pushed
2 years ago
Ho Ngok Chao
28e49b0f6f
Add concurrency into python example in route_guide ( #31724 )
...
* Add concurrency into python example in route_guide
- replace await single tasks sequentially with await task_group
* Add comments for asyncio.gather for concurrency
* Correct typo
* Update asyncio_route_guide to meet google style
Co-authored-by: Richard Belleville <rbellevi@google.com>
2 years ago
Eugene Ostroukhov
60e4aea792
Revert "xds_override_host LB: add basic support for overriding host ( #31819 )" ( #31948 )
...
This reverts commit a500a74c6c
.
2 years ago
Eugene Ostroukhov
a500a74c6c
xds_override_host LB: add basic support for overriding host ( #31819 )
...
Implement picking the subchannel by address if the address is provided to a policy.
Co-authored-by: Mark D. Roth <roth@google.com>
2 years ago
Vignesh Babu
59bbe265fb
Make http proxy fixture test more robust ( #31803 )
...
* Make http proxy fixture test more robust
* update
* modify build
2 years ago
Vignesh Babu
d370151009
An EventEngine subclass that may be implemented by posix based event engines ( #31816 )
...
* An EventEngine subclass to be implemented by all posix based event engines
* sanity
* comments
* update
* review comments
* re-word
* update
* review comments
* regenerate projects
* syntax fix
* update class name to avoid conflict
* update
* rename
* rename
* update
* review comments
* rename
* update
* update
2 years ago
Mark D. Roth
1482bf9d18
round_robin: avoid spurious updates when switching subchannel lists ( #31939 )
...
* round_robin: avoid spurious updates when switching subchannel lists
* clang-format
* clang-tidy
2 years ago
Cheng-Yu Chung
896bfe373f
Add missing included `try_seq.h` in `map_pipe.h` ( #31943 )
...
* Add missing included `try_seq.h` in `map_pipe.h`
* Automated change: Fix sanity tests
2 years ago
Craig Tiller
72c296a3c2
[event_engine] Add SliceCast ( #31831 )
...
* [event_engine] Add SliceCast
* Automated change: Fix sanity tests
* windows-fix
* comments
* comments
* comments
* build-fix
* fix
* Update port_platform.h
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
github-actions[bot]
580569358f
Automated change: Fix sanity tests ( #31941 )
...
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago