Craig Tiller
f9b866ff8b
[chttp2] Use experiments framework for peer_state_based_framing ( #30853 )
...
* [chttp2] Use experiments framework for peer_state_based_framing
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Jan Tattermusch
631392f2e7
Upgrade bazel version to bazel 5.3 (repo-wide) ( #30844 )
...
* update bazel to 5.3.0
* regenerate dockerfiles
* update bazel distribtest
* update docker image templates
* regenerate dockerfiles 2
* regenerate bazel_support.md
* upgrade rules_apple and apple_support bazel deps
* Revert "upgrade rules_apple and apple_support bazel deps"
This reverts commit eb9a0d2155
.
* fix objc bazel 5.3 build on kokoro mojave image
2 years ago
Craig Tiller
6cd33e9fd2
[experiments] Reduce test count ( #30891 )
2 years ago
Craig Tiller
dcfffd7603
[experiments] Dont run on arm64 ( #30871 )
...
* [experiments] Dont run on arm64
* remove duplication to eliminate bug
2 years ago
Craig Tiller
47a43d68c9
[chttp2] Tune initial window size/max frame size setting ( #30550 )
...
* [chttp2] Tune initial window size/max frame size setting
- Only choose frame sizes and initial window sizes that are powers of two - as a more predictable function to avoid flapping.
- If window size drops below 1kb then snap to 0 to avoid frantically changing a value that needn't be
- Allow the initial window size to drop to zero (we have fuzzing in place that says this is safe)
* copy/paste fix
* fix build
* fix
* Automated change: Fix sanity tests
* fix announce bug
* cleanup
* put this change under an experiment
* more tests
* fix build
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Hannah Shi
346afa40c6
[ObjC]fix c++14 errors in bazel objC ( #30448 )
...
* fix c++14 errors in bazel objC
* fix CI error
2 years ago
Craig Tiller
e705b2e3c7
[resource_quota] Move experiments to the experiments framework ( #30830 )
...
* fix
* fix tests
* fix
* Automated change: Fix sanity tests
* better expansion
* bleh
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
6ee7a647bf
[experiments] Add support for testing disabling already enabled experiments ( #30831 )
2 years ago
Craig Tiller
8b13c0d581
[iomgr] SO_RCVLOWAT impl for grpc ( #30736 )
...
* [stats] Cleanup stats system
* clear out optionality
* fix
* might as well...
* Automated change: Fix sanity tests
* only allocate 8k or 64k blocks for tcp reads
* Automated change: Fix sanity tests
* fix
* Update tcp_posix.cc
* Automated change: Fix sanity tests
* [chttp2] Inform endpoint of min progress size
* respect target, min progress sizes
* cleaner loops
* clean out more unused stuff
* clean out more unused stuff
* Automated change: Fix sanity tests
* update
* [iomgr] SO_RCVLOWAT impl for tcp
* tsan race
* tsan race
* fix
* Automated change: Fix sanity tests
* Introduce flag
* protect with flag
* [experiments] Make output more diffable/readable
* Automated change: Fix sanity tests
* buildifier sized indentations
* add experiment
* Update tcp_posix.cc
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
903e0490ea
[iomgr] Restrict TCP read allocations to 8kb or 64kb ( #30626 )
...
* [stats] Cleanup stats system
* clear out optionality
* fix
* might as well...
* Automated change: Fix sanity tests
* only allocate 8k or 64k blocks for tcp reads
* Automated change: Fix sanity tests
* fix
* Update tcp_posix.cc
* Automated change: Fix sanity tests
* respect target, min progress sizes
* cleaner loops
* clean out more unused stuff
* clean out more unused stuff
* Automated change: Fix sanity tests
* update
* tsan race
* Automated change: Fix sanity tests
* Introduce flag
* protect with flag
* [experiments] Make output more diffable/readable
* Automated change: Fix sanity tests
* buildifier sized indentations
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
f4202cefbb
[experiments] Make output more diffable/readable ( #30807 )
...
* [experiments] Make output more diffable/readable
* Automated change: Fix sanity tests
* buildifier sized indentations
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
c580d0d9a7
[experiments] Add experiment framework ( #30775 )
...
* [experiments] Add experiment framework
* auto-ci-config
* fix
* fix
* Automated change: Fix sanity tests
* support different configs
* Automated change: Fix sanity tests
* cleaner generated code
* Automated change: Fix sanity tests
* enforce expiry
* make sure expiry isnt far in the future
* fix
* Automated change: Fix sanity tests
* remove specified testing
* cleaner
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* docstring
* clean up code
* Automated change: Fix sanity tests
* review feedback
* build fix
* Automated change: Fix sanity tests
* ownership
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Yash Tibrewal
60a1b4ad6f
Revert "Revert "GCP Observability: Add plugin registry API"" ( #30766 )
...
* Revert "Revert "GCP Observability: Add plugin registry API (#30571 )" (#30765 )"
This reverts commit b8fde2ab47
.
* Remove gcp observability target from header
2 years ago
Mark D. Roth
6acdcee57c
XdsClient: refactor BUILD rules to minimize gRPC-specific dependencies for core XdsClient code ( #30767 )
...
* XdsClient: refactor BUILD rules to minimize gRPC-specific dependencies for core XdsClient code
* add visibility tag
2 years ago
Craig Tiller
b8fde2ab47
Revert "GCP Observability: Add plugin registry API ( #30571 )" ( #30765 )
...
This reverts commit 486710317f
.
2 years ago
Yash Tibrewal
486710317f
GCP Observability: Add plugin registry API ( #30571 )
...
* GCP Observability: Add plugin registry API
* Restrict visibility for now
* Move GcpObservability to its own thing
* Reviewer comments
2 years ago
Yash Tibrewal
0e38bb3b5c
Update OpenCensus to HEAD ( #30567 )
...
* Update OpenCensus to HEAD
* Fix build
* IWYU
* Fix IWYU
2 years ago
Cheng-Yu Chung
543b290203
Build Target Reorganization Part 1 ( #30518 )
...
* Clean up gpr_base
* Remove `avoid_dep` for target `gpr`
* Add alias `gpr_base` for `gpr` for compatibility
* Fix tool error
* Update
* Remove temporary `gpr_base`
* Remove unused `alt_gpr_base_legacy`
2 years ago
apolcyn
27a9bde44b
Update protobuf submodule to 3.21.5 ( #30548 )
...
* Update third_party/protobuf
* run tools/distrib/python/make_grpcio_tools.py
* regenerate protos for ruby, php
* update build_handwritten.yaml
* regenerate projects
2 years ago
Yash Tibrewal
41ec08c69a
Update third_party/protobuf to 3.21.4 ( #30377 )
...
* Update third_party/protobuf
* run tools/distrib/python/make_grpcio_tools.py
* regenerate protos for ruby, php
* update build_handwritten.yaml
* regenerate projects
* Build - Use :well_known_type_protos instead of :well_known_protos
* Fix target
* Update upb
* Update Python for Protobuf 4.21 (#140 )
* Update protobuf dependency on grpcio-tools
* Off by one
* Drop python 3.6 support
* Try upgrading pip
* And in the other script
* Try to figure out if we're compatible with abi3
* See what we've already got installed
* Update the requirements.txt file I didn't know existed
* And here too
* See what's installed
* Let's try that again
* Remove
* Try to confirm version
* Let me see the generated code
* Fix non-Bazel test runner
* Work for all test directories
* Regenerate example protos
* Clean up
* Generate .pyi files
* Fix type checking and linting
* Exclude pyi files from isort
* Upgrade to 3.21.4
* Update iwyu to get around messy protobuf IWYU rules
Co-authored-by: Richard Belleville <gnossen@gmail.com>
2 years ago
AJ Heller
c752a6b25e
Reland: Windows IOCP implementation for the WindowsEventEngine ( #30480 )
...
Reverts #30466 , relanding #30389 . Requires a cherrypick.
2 years ago
Craig Tiller
05e6bf2e4a
[build] Add test/core/util, test/core/event_engine to auto build deps ( #30364 )
...
* [build] Add test/core/util, test/core/event_engine to auto build deps
* deal with suppressions
* fix suppressions
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* progress
* Automated change: Fix sanity tests
* fix
* fix
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Mark D. Roth
90cc6fa706
xDS: upgrade the commit of the xDS protos that we're using ( #30318 )
...
* xDS: upgrade the commit of the xDS protos that we're using
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Esun Kim
b37996d50e
Removed GRPC_ERROR_IS_ABSEIL_STATUS ( #30267 )
...
* Removed GRPC_ERROR_IS_ABSEIL_STATUS
* Remove error_internal.h
2 years ago
Esun Kim
981fbd32b1
Clean up absl-base and time external binds. ( #30278 )
...
* Clean up absl-base and time binds.
* Fix fix_build_deps.py
Co-authored-by: Jingyi Wei <wjywbs@gmail.com>
2 years ago
Esun Kim
27509c345c
Update upb to 20220621 ( #30156 )
...
* Update third_party/upb to e4635f223e7d36dfbea3b722a4ca4807a7e882e2
* Update grpc_deps
* Update src/upb/gen_build_yaml.py
* Regen projects
* Gen_upb_api
* Fix missing json files
* Fix missing textformat
* Fix missing upb/arena
* Sanitize
* Fix missing port_def
* Fix missing array.h
2 years ago
Esun Kim
dcf9612186
Upgrade Abseil to LTS 20220623.0 ( #30155 )
...
* Upgrade abseil to 20220623.0
* Fix subchannel include
2 years ago
Esun Kim
c66c362191
Reland "Enable GRPC_ERROR_IS_ABSEIL_STATUS" ( #30047 )
...
* Revert "Revert "Enable GRPC_ERROR_IS_ABSEIL_STATUS (#29869 )" (#30031 )"
This reverts commit 2d0d1775a9
.
* Fix the test
2 years ago
Nicolas Noble
a285704aaf
bG6b3V2MNxQ ( #30021 )
2 years ago
Esun Kim
2d0d1775a9
Revert "Enable GRPC_ERROR_IS_ABSEIL_STATUS ( #29869 )" ( #30031 )
...
This reverts commit c6058b5e6b
.
3 years ago
Esun Kim
c6058b5e6b
Enable GRPC_ERROR_IS_ABSEIL_STATUS ( #29869 )
...
* Enable GRPC_ERROR_IS_ABSEIL_STATUS
* Sanitize
* Fix ServerRequestCallTest
3 years ago
Vihang Mehta
1be6e2c9eb
Update bazel toolchain mirror ( #29980 )
...
See https://github.com/bazelbuild/bazel-toolchains/issues/891#issuecomment-654877498
and https://github.com/grpc/grpc/pull/27410#discussion_r715420745
Seems like the mirror for bazel toolchains changed the URL and they
mirror downloads but not archives. This should fix any issues with
missing mirror and workaround https://github.com/bazelbuild/bazel-toolchains/issues/972
Signed-off-by: Vihang Mehta <vihang@pixielabs.ai>
3 years ago
Craig Tiller
50ae54dd1c
[fuzzing] Run fuzzers a little bit as a test ( #29919 )
...
* [fuzzer] Add a script to sample fuzzers
* remember the script
* add ci
* bleh
* fix
* Update sample_fuzzers.sh
* tweak
* tweak
* tweak
* tweak
* tweak
* fix fuzzer found bug
* add explainer
* make it bold af
* limit max fuzzing time in addition to runs
3 years ago
Esun Kim
ec58a346f9
Changed C99 to C11 ( #29687 )
...
* Changed C99 to C11
* Remove gnu99 option
* Switch to gnu11 for xcode
3 years ago
Craig Tiller
0f9d024fec
[iwyu] c++ ( #29721 )
...
* Revert "Revert "[iwyu] grpc++ (#29610 )" (#29720 )"
This reverts commit 0642bc213d
.
* fixup status_code_enum import issue
* fix
* Automated change: Fix sanity tests
* import fixes
* fix import
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
abf333337f
[visibility] Give grpc_cli explicit visibility ( #29717 )
...
* [visibility] Give grpc_cli explicit visibility
* x
* fix
3 years ago
Craig Tiller
0642bc213d
Revert "[iwyu] grpc++ ( #29610 )" ( #29720 )
...
This reverts commit c8159eabdf
.
3 years ago
Craig Tiller
c8159eabdf
[iwyu] grpc++ ( #29610 )
...
* [iwyu] grpc++
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* [iwyu] Better script
* eliminate race
* fixes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
AJ Heller
4a133abc37
Fix iomgr_timer target visibility ( #29702 )
3 years ago
Lidi Zheng
5e019c071d
Downgrade io_bazel_rules_go to v0.27.0 restore Bazel 3.x support ( #29596 )
3 years ago
Esun Kim
c20f10310c
Added GRPC_MUST_USE_RESULT_WHEN_USE_STRICT_WARNING to grpc::Status ( #29363 )
...
* Added GRPC_MUST_USE_RESULT_WHEN_USE_STRICT_WARNING to grpc::Status
* Added Comment
3 years ago
Nicolas Noble
fcb8157f25
Upgrading zlib. ( #29531 )
...
CVE-2018-25032
3 years ago
Craig Tiller
1e1cc6625f
Remove myself from all owners files ( #29529 )
3 years ago
Yash Tibrewal
eb96f90eb7
HTTP: Use channel arg instead of global to allow PUT requests ( #29411 )
...
* HTTP: Use channel arg instead of global to allow PUT requests
* Reviewer comments
* Reviewer comments
* clang-format
* Repo manager - AJ
* Reviewer comments
* unused parameter
3 years ago
Esun Kim
696e4928e6
Upgrade upb to the latest ( #29333 )
...
* Update upb manual
* Update third_party/upb to bef53686ec702607971bd3ea4d4fefd80c6cc6e8
* Update grpc_deps.bzl
* Update doc
* Regen UPB
* Update by review
* New upb files
3 years ago
Richard Belleville
f688f5fcf2
Rehome python bazel distribtest ( #29275 )
...
* WIP
* Test multiple languages
* Yapf
* isort
* Shellcheck
* comment not provided
* Fix import ordering issue.
* Turn up Bazel logging
3 years ago
donnadionne
08451810a6
Upgrading envoyproxy/data-plane-api ( #29264 )
...
* Upgrading envoyproxy/data-plane-api
* Updating bazel/grpc_deps.bzl
* add sha
* update check_submodule.sh
* add generated files
3 years ago
AJ Heller
18a8f6aad9
Refactor end2end tests to exercise each EventEngine ( #29202 )
...
* Refactor end2end tests to exercise each EventEngine
* fix incorrect bazel_only exclusions
* Automated change: Fix sanity tests
* microbenchmark fix
* sanitize, fix iOS flub
* Automated change: Fix sanity tests
* iOS fix
* reviewer feedback
* first pass at excluding EventEngine test expansion
Also caught a few cases where we should not test pollers, but should
test all engines. And two cases where we likely shouldn't be testing
either product.
* end2end fuzzers to be fuzzed differently via EventEngine.
* sanitize
* reviewer feedback
* remove misleading comment
* reviewer feedback: comments
* EE test_init needs to play with our build system
* fix golden file test runner
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
3 years ago
Lidi Zheng
af97f15b9d
[xDS Proto] Update Bazel build dependencies for Envoy API ( #29219 )
...
* [xDS Proto] Update Bazel build dependencies for Envoy API
* Remove protoc_gen_validate as a submodule
* Remove unused import
3 years ago
Richard Belleville
7942f30f63
Add bazel cpp distribtest for grpc_cc_library ( #29175 )
...
* Add bazel cpp distribtest for grpc_cc_library
* Add new directory to bazelignore
* Try changing to workspace differently
* Debug cd
* Fix bazel wrapper
* Yet more debug
* Try again
* Clean up
* Sanity fixes
* Run per-language distribtests even if overall build fails
3 years ago