Cheng-Yu Chung
e69592d29c
Remove `include/grpc/impl/codegen/atm.h` ( #31673 )
2 years ago
Craig Tiller
c545350633
Reland: [promises] Compression filter conversion ( #31686 )
...
* Revert "Revert "[promises] Compression filter conversion (#31204 )" (#31682 )"
This reverts commit fa31b36cb1
.
* fix?
* fix
2 years ago
Cheng-Yu Chung
3d68bb735a
Remove `include/grpc/impl/codegen/byte_buffer.h` ( #31674 )
2 years ago
Yash Tibrewal
7372e55ba9
Revert "Revert "Observability Logging: Interfaces and structure"" ( #31681 )
...
* Revert "Revert "Observability Logging: Interfaces and structure (#31651 )" (#31669 )"
This reverts commit 3be177223e
.
* Generate projects
2 years ago
Mark D. Roth
589fee0530
xDS: fix crash on wrong listener type (both client and server side) ( #31684 )
...
* xds resolver: fix crash on wrong listener type
* fix same bug on server side
* fix clang-tidy and add requested TODO
2 years ago
Craig Tiller
fe5aace311
[flow_control] Fixes for the flow_control_fixes experiment found via fuzzing ( #31676 )
...
* [flow_control] Enable experiment in debug builds, fix bugs found by fuzzer
* fix
* disable experiment
* flowctl
* flowctl
* Automated change: Fix sanity tests
* fix
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Yijie Ma
b6f2af4682
Revert "security: Refactor some utility functions in TSI for better internal use ( #29728 )" ( #31687 )
...
This reverts commit 8984a264b8
.
2 years ago
Craig Tiller
fa31b36cb1
Revert "[promises] Compression filter conversion ( #31204 )" ( #31682 )
...
This reverts commit a8c983528a
.
2 years ago
Vignesh Babu
c5a66bb08d
Posix Event Engine listener implementation ( #31513 )
...
* Util functions to help with posix engine listener implementation
* sanity
* update comments in posix_engine_listener_utils.h
* review comments
* iwyu
* revert prev commit
* iwyu
* update build
* update
* regenerate projects
* regenerate projects
* minor fixes
* update BUILD
* sanity
* update build
* regenerate projects
* fix unused parameter
* sanity
* update
* sanity
* regenerate_projects
* remove unused variable
2 years ago
Cheng-Yu Chung
ffe8d0f31c
Clean up the TODO item in build target `grpc_base` -- part `channel_stack_builder` ( #31643 )
...
* Clean up the TODO item in build target `grpc_base` -- part `channel_stack_builder`
* Update
2 years ago
Mark D. Roth
64589d7ff3
xds resolver: fix edge cases in interactions between LDS and RDS ( #31668 )
...
* xds resolver: fix edge cases in interactions between LDS and RDS
* improve SwitchFromInlineRouteConfigToRds test
* clang-tidy
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Craig Tiller
a8c983528a
[promises] Compression filter conversion ( #31204 )
...
* Convert compress filter
* decompress sketch
* Automated change: Fix sanity tests
* progress
* progress
* got the new filter impls compiling
* Automated change: Fix sanity tests
* declare the bits
* allocate control types
* stub in pipe accessors
* init pipes
* send-path
* working through the state machines
* [arena] pool allocator
* add tests
* Automated change: Fix sanity tests
* better sizes
* iwyu
* Automated change: Fix sanity tests
* first pass cut fragments
* fix1
* fix
* Automated change: Fix sanity tests
* fix
* iwyu
* build-deps
* fix for windows
* fix
* fixes
* better-logs
* better-logs
* callpushpush-->tryconcurrently
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* logging improvements
* logging improvements
* fixes
* Automated change: Fix sanity tests
* respect flag
* handle eos
* cancel_after_client_done
* handle failed sends
* more error handling
* Automated change: Fix sanity tests
* more stuff
* remove unnecessary conversion
* hackity hack hack
* fixes
* progress
* Automated change: Fix sanity tests
* capture metadata from promise to recieve up
* spacing
* debug,fix
* not-used
* fix
* fix
* tune
* unify compress/decompress
* fixes
* send_message/send_trailing_metadata ordering
* cleanup loop
* remove minimal stack bits
* better error generation
* fix-build
* Automated change: Fix sanity tests
* cancellation of recv message for forwarded receives
* fix
* compile fix
* fix clobbering
* fix test, convert to gtest
* fix
* Automated change: Fix sanity tests
* cleanup
* fixes
* fix
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* add test
* Automated change: Fix sanity tests
* fix
* fix
* fix
* no need to store message per filter
* Automated change: Fix sanity tests
* danke yash
* iwyu
* clang-tidy
* Automated change: Fix sanity tests
* fix
* [promise] CallPushPull -> more general TryConcurrently
* Automated change: Fix sanity tests
* [promise] Introduce map_pipe, cleanup factories
* [promise] Promise based filter changes for messages
* [log] Longer space for filenames
* [test] Add some debugability affordances to async_end2end_test
* add comment
* Automated change: Fix sanity tests
* fix-merge
* fix-merge
* fix
* [chttp2] Fix a bug whereby trailers-only is not reported
We don't report trailers-only if the trailers are parsed prior to executing recv_initial_metadata
* comments
* fix for ruby
* review feedback
* merge
* fix
* Automated change: Fix sanity tests
* fix bm?
* re-add dropped flag
* turn on some traces to try and debug ruby
* debug for ruby problem
* proposed chttp2 fix
* Revert "turn on some traces to try and debug ruby"
This reverts commit 1bf3cfd552
.
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
3be177223e
Revert "Observability Logging: Interfaces and structure ( #31651 )" ( #31669 )
...
This reverts commit 2146107e25
.
2 years ago
Yash Tibrewal
2146107e25
Observability Logging: Interfaces and structure ( #31651 )
...
* Observability Logging: Interfaces and structure
* Revert unrelated changes
* Fix test build
* Add dependency on Google Apis Logging V2 service and add a dummy logging call
* Add authority
2 years ago
Vignesh Babu
864f08ff0c
Fix broken clang-tidy ( #31666 )
2 years ago
Cheng-Yu Chung
3ef817b3bf
Clean up the TODO item in build target `grpc_base` -- part `slice` ( #31003 )
...
* Clean up the TODO item in build target `grpc_base` part `slice`
* Automated change: Fix sanity tests
2 years ago
Vignesh Babu
1e2af690f2
Add a check to flush stale TracedBuffer entries to prevent them growing too long. ( #31588 )
...
* Add a check to flush stale TracedBuffer entries to prevent them growing too long
* update
* fix tsan and sanity
* sanity
* review comments
2 years ago
Mark D. Roth
0b60025ba8
xds_client_test: shard test to avoid timeouts ( #31652 )
...
* xds_client_test: increase test size so it gets a longer timeout
* shard test instead of increasing size
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Mark D. Roth
df80a31199
Second attempt: xDS RouteConfig: use ValidationErrors and add unit test ( #31658 )
...
* Revert "Revert "xDS RouteConfig: use ValidationErrors and add unit test (#31418 )" (#31653 )"
This reverts commit 335b74fea7
.
* use auto instead of explicitly naming the protobuf map type
2 years ago
Mark D. Roth
335b74fea7
Revert "xDS RouteConfig: use ValidationErrors and add unit test ( #31418 )" ( #31653 )
...
This reverts commit c72a67b6da
.
2 years ago
Zhan Jiang
8984a264b8
security: Refactor some utility functions in TSI for better internal use ( #29728 )
2 years ago
Mark D. Roth
c72a67b6da
xDS RouteConfig: use ValidationErrors and add unit test ( #31418 )
...
Specific changes:
- Use absl::variant<> for HashPolicy types.
- Pull validation of resulting LB policy configs out of ClusterSpecifierPlugin registry and into RouteConfig validation.
- Don't ignore missing Any fields in HTTP filter configs if is_optional is true, since is_optional should apply only to unsupported filter types, not to malformed resource protos.
- Use ExtractXdsExtension() for HttpConnectionManager config itself.
- Minor API improvements to StatusCodeSet to make it a bit more useful in tests.
- Changed StringMatcher to return the underlying error message when a regex fails to compile.
- Fix a bug whereby a ClusterSpecifierPlugin would not be returned if it was not used in a vhost, even if it was used in another vhost.
2 years ago
Mark D. Roth
2ff54946ff
xds_client_fuzzer: fix send message on a stream that does not exist yet ( #31648 )
2 years ago
Cheng-Yu Chung
47b9a57de9
Remove `g_glip` and `class GrpcLibraryInterface` ( #30414 )
...
* Remove `g_glip` and `class GrpcLibraryInterface`
* Update
* Update
* Update
* Automated change: Fix sanity tests (#20 )
* Update
* Update
* Update
* Test
* Fix
* Revert "Test"
This reverts commit 2f5c77e98d
.
* More fix
* More fix
* More fix
* Minor fix
* Revert "Minor fix"
This reverts commit 1ee3ae4da1
.
* Revert "More fix"
This reverts commit 1fc234896b
.
* Revert "More fix"
This reverts commit 851393c0e6
.
* Revert "More fix"
This reverts commit ed342a51d0
.
* Revert "Fix"
This reverts commit 286ad8e639
.
2 years ago
Mark D. Roth
cf63689276
LB policy test framework: add helper methods and improve debuggability ( #31632 )
...
* LB policy test framework: add helper methods and improve debuggability
* add ExpectPickFail() method
* fix build
* STL magic
* clang-tidy
* more clang-tidy
* add WaitForConnectionFailed() and log unexpected pick results
* add check for proper status for the connectivity state
2 years ago
Craig Tiller
a116fa7e25
Revert "Revert "[chaotic-good] Reland basic frame serialization (#316… ( #31637 )
...
* Revert "Revert "[chaotic-good] Reland basic frame serialization (#31631 )" (#31635 )"
This reverts commit 4e2b936e88
.
* windows fix?
2 years ago
Jan Tattermusch
e6cb6fdd2d
try fix retry_per_attempt_recv_timeout ( #31605 )
2 years ago
Craig Tiller
eea5d11fdd
[build] Move exec_ctx headers out of grpc_base ( #31603 )
...
* [build] Move exec_ctx headers out of grpc_base
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
4e2b936e88
Revert "[chaotic-good] Reland basic frame serialization ( #31631 )" ( #31635 )
...
This reverts commit 571e98f6d5
.
2 years ago
aeitzman
d934aabb09
Added url validation for aws metadata endpoints in aws external account ( #31626 )
...
* Added url validation for aws metadata endpoints in aws external account
* addressing review comments
* fix error message back
* Fix broken test
2 years ago
Craig Tiller
571e98f6d5
[chaotic-good] Reland basic frame serialization ( #31631 )
...
* Revert "Revert "[chaotic-good] Basic frame serialization/deserialization (#31257 )" (#31630 )"
This reverts commit e8ac147311
.
* fix build
2 years ago
Esun Kim
250f9fc026
Revived google-readability-casting ( #31607 )
...
* Added google-readability-casting
* Fix
* Use brace init for constants
* more
* Fix
* Fix 2
* More fix
* Fixf
2 years ago
Craig Tiller
e8ac147311
Revert "[chaotic-good] Basic frame serialization/deserialization ( #31257 )" ( #31630 )
...
This reverts commit 8185a56322
.
2 years ago
Craig Tiller
d410f1d0aa
[surface] Ensure SEND_STATUS & RECV_MESSAGE do not inhabit the same batch ( #31554 )
...
Add a check that SEND_STATUS_FROM_SERVER and RECV_MESSAGE are not in the same batch.
This is necessary pre-work for #31204 and implements part of grpc/proposal#336 .
Also eliminates fling instead of updating it:
My expectation is nobody has looked at this corner in many years
It's not a benchmark we want: concentrating on a microbenchmark that doesn't include a binding layer caused us to favor designs that emphasized a lightweight core at the expense of a expensive bindings. We should consider the whole.
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
8185a56322
[chaotic-good] Basic frame serialization/deserialization ( #31257 )
...
* [chaotic-good] initial sketch of frame serialization
* Automated change: Fix sanity tests
* tinkering
* fix up
* add tests,fuzzers
* more tests
* fix
* fuzzers
* Automated change: Fix sanity tests
* fix-build
* Automated change: Fix sanity tests
* fix inf loop
* fix refcounting bug
* fixdeps
* fix
* fix continuations
* iwyu
* fix build
* fix
* build fixes
* better split
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* iwyu
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Yijie Ma
5a131bd94b
EventEngine::RunAfter: handshaker ( #31564 )
...
* EventEngine::RunAfter migration for handshaker
* Fix build and add execution contexts to the top of the timer function
stack
* Add event_engine_ member object, remove OnTimeoutFn and self.reset()
before goes out of scope
* Run iwyu and fix_build_deps.py
* fix: more cleanup
* fix: restore unrelated files
* fix: run tools/distrib/clang_format_code.sh
* re: pass EventEngine as shared_ptr to HandshakeManager
* fix: ran tools/distrib/sanitize.sh
* fix: resolve review comment to initialize event_engine_ from the channel
args passed in DoHandshake instead of passing through constructor
* sanitize
* fix: resolve comments
* fix: one more
2 years ago
Mark D. Roth
916a325b6c
LB policy API: make pickers ref-counted ( #31612 )
...
* LB policy API: make pickers ref-counted
* fix build
* clang-tidy
2 years ago
Craig Tiller
867dc6cae2
Revert "Add support for systemd socket activation ( #30485 )" ( #31617 )
...
This reverts commit a638c407bb
.
2 years ago
aeitzman
57e0806515
Adding token url validation cases for psc endpoints ( #31616 )
...
* Adding validation case for psc endpoint
* formatting fix
2 years ago
Vignesh Babu
73ea66d8ee
A http2 setting to ensure safe rollout of tcp receive buffer auto-sizing and peer-state based framing experiments ( #31404 )
...
* A http2 setting to ensure safe rollout of tcp receive buffer auto-sizing and peer-state based framing experiments
* fix comments + sanity + iwyu
* comments
* update per comments
* comments
* iwyu
* address comments
* remove if check
2 years ago
Esun Kim
26bc68c4af
Added readability-duplicate-include ( #31608 )
...
* Added readability-duplicate-include
* Fix
* format
2 years ago
Esun Kim
660a6f281e
Added readability-redundant-string-init ( #31609 )
...
* Added readability-redundant-string-init
* Fix
2 years ago
Mark D. Roth
6c56fe6326
Second attempt: XdsClient: implement fuzzer ( #31606 )
...
* Revert "Revert "XdsClient: implement fuzzer (#31560 )" (#31604 )"
This reverts commit 58b298f354
.
* avoid dependency on status.proto
2 years ago
Andres Beltran
a638c407bb
Add support for systemd socket activation ( #30485 )
...
* Add socket-activated functionality
* Fix GRPC_ERROR_NONE in tcp_server_posix_test and sanity checks
* Fix epoll1 error, sanity checks
* Use AF_INET6 in tcp_server_posix_test
Co-authored-by: Vignesh Babu <vigneshbabu@google.com>
2 years ago
Craig Tiller
58b298f354
Revert "XdsClient: implement fuzzer ( #31560 )" ( #31604 )
...
This reverts commit 5e7e332b33
.
2 years ago
Yash Tibrewal
54dd7563c2
Fix import ( #31602 )
2 years ago
Mark D. Roth
5e7e332b33
XdsClient: implement fuzzer ( #31560 )
...
* xDS client fuzzer
* add basic corpora and improve logging
* Automated change: Fix sanity tests
* fix build
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Mark D. Roth
ddfa85f42b
xDS: fix error message when the request does not match any route ( #31593 )
...
* improve error message when there is no matching route
* clean up ConfigSelector API
* clang-format
* fix client_lb_end2end_test
* clang-format
2 years ago
Mark D. Roth
43c8cdd2e9
xDS: fix bug when a cluster specifier plugin was not used in all vhosts ( #31583 )
2 years ago
Yash Tibrewal
829f41b733
ObservabilityLogging: Add interface for logging and config parsing implementation for GCP observability ( #31571 )
...
* ObservabilityLogging: Add interface for logging and config parsing implementation for GCP observability
* Trailing new lines
* Fix naked include
* clang-tidy
* Reviewer comments
* Reviewer comments
2 years ago