Craig Tiller
f573fd44f9
[test] Semi-automatic flaky test tracking ( #30638 )
...
* [test] Semi-automatic flaky test tracking
* fix
* Automated change: Fix sanity tests
* Update update_flakes.py
* fix formatting
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Yash Tibrewal
02df22f52f
FaultInjection: Fix random number generation ( #30623 )
...
* FaultInjection: Fix random number generation
* Put random generation under a mutex
* Fix IWYU
* Regenerate projects
* Modify timeouts
* Dbg build knobs
* Remove unnecessary slowdown factor
* Tune error tolerance and add note on broken computation of ComputeIdealNumRpcs
2 years ago
apolcyn
778f04dccf
Bump version on master branch to 1.50.0.dev ( #30614 )
...
* bump version to 1.50.0-dev
* regenerate projects
2 years ago
Cheng-Yu Chung
e130c7dce3
[fixit] Update `tools/distrib/buildozer.sh` to make its downloading process more robust ( #30616 )
...
* Update `tools/distrib/buildozer.sh` to make its downloading process more robust
* Update
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
Craig Tiller
2cb58b9565
[build] Auto-deps for test/core/resource_quota ( #30430 )
...
* [build] Auto-deps for test/core/resource_quota
* fix
* fix
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Richard Belleville
d84a6de3a5
Add type stub generation support to grpcio-tools ( #30498 )
...
* Add type stub generation support to grpcio-tools
* Clang format
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
Craig Tiller
9cfb204836
[build] Add a script to *just* generate the compilation db ( #30315 )
2 years ago
Craig Tiller
91bcb11c66
[build] Auto-deps for test/core/end2end ( #30409 )
...
* [build] Auto-deps for test/core/end2end
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
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
Craig Tiller
0450157e06
[iwyu] Better handle <type_traits> ( #30349 )
...
* update mapping
* run tool
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
f6a96e5506
[build] Handle subdirectory BUILD files ( #30327 )
...
* Revert "Revert "[build] Handle subdirectory BUILD files (#30292 )" (#30319 )"
This reverts commit c6e9203fcb
.
* fix
2 years ago
Craig Tiller
f5bb60d8e8
[channel_args] Improve comparison performance ( #30322 )
...
* [channel_args] Improve comparison performance
* fix
* Automated change: Fix sanity tests
* faster still
* fix
* fix
* some no cost boosts if they get hit
* fix
* final tweak for pointers
* check
* fix
* Automated change: Fix sanity tests
* fix
* ugh
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
c6e9203fcb
Revert "[build] Handle subdirectory BUILD files ( #30292 )" ( #30319 )
...
This reverts commit 7e50d149bc
.
2 years ago
Craig Tiller
7e50d149bc
[build] Handle subdirectory BUILD files ( #30292 )
...
* progress
* progress
* progress
* progress
* Automated change: Fix sanity tests
* progress
* progress
* progress
* progress
* fixes
* fix
* progress
* progress
* progress
* progress
* Automated change: Fix sanity tests
* fix
* handle relative paths
* [build] Handle subdirectory BUILD files
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
399050d0e1
[build] Make auto-deps the default ( #30297 )
...
* [build] Make auto-deps the default
* Automated change: Fix sanity tests
* update
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
7b8e3d89c4
[build] Auto-deps for a grab bag more targets ( #30184 )
...
* progress
* progress
* progress
* progress
* Automated change: Fix sanity tests
* progress
* progress
* progress
* progress
* fixes
* fix
* progress
* progress
* progress
* progress
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
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
AJ Heller
1076a7d447
Use AnyInvocable in EventEngine APIs ( #30220 )
2 years ago
AJ Heller
71c0eb090a
Revert "[WIP] Use AnyInvocable in EventEngine APIs ( #30208 )" ( #30219 )
...
This reverts commit dbbf16f07a
.
2 years ago
AJ Heller
dbbf16f07a
[WIP] Use AnyInvocable in EventEngine APIs ( #30208 )
...
This provides a move-only alternative to std::function.
fix oracle and engine factory
fix generate_projects for any_invocable
fix
format & iwyu
Automated change: Fix sanity tests (#30205 )
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2 years ago
Yash Tibrewal
89f7534e43
Bump dev version 202207012203 ( #30177 )
...
* bump version to 1.49.0-dev
* regenerate projects
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
Craig Tiller
4ca0f54798
[build] Speed up fix_build_deps.py ( #30166 )
...
* [build] Parallelize fix_build_deps.py
* some algorithmic improvements
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
ad936d3710
[bloat] Prefer std::vector to absl::InlinedVector ( #30086 )
...
* [bloat] Prefer std::vector to absl::InlinedVector
* fix
* fix
* fix
* fix
* fixes
* fix
* fixes
2 years ago
Craig Tiller
24caf53835
Roll forward iomgr ee fork ( #30022 )
...
* Revert "Revert "[event-engine] Fork timer code (#29816 )" (#30020 )"
This reverts commit cda2127776
.
* fix-import
* [event_engine] Use durations for scheduling things
* fix
* Automated change: Fix sanity tests
* run-after
* fix
* Automated change: Fix sanity tests
* rename
* Automated change: Fix sanity tests
* format is changing, expunge corpus
* update api_fuzzer
* fix
* Automated change: Fix sanity tests
* fix
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
AJ Heller
cda2127776
Revert "[event-engine] Fork timer code ( #29816 )" ( #30020 )
...
This reverts commit 977ebbef09
.
2 years ago
Craig Tiller
977ebbef09
[event-engine] Fork timer code ( #29816 )
...
* move files
* [event-engine] Fork timer code from iomgr
* progress
* thread-pool
* x
* fixes
* tests
* Automated change: Fix sanity tests
* x
* wip
* Automated change: Fix sanity tests
* timer-heap-test
* flesh-things-out
* wip
* Automated change: Fix sanity tests
* fix-test
* fix
* Automated change: Fix sanity tests
* fix
* fix windows
* Automated change: Fix sanity tests
* fix mac
* fix
* review feedback
* fix
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
* review feedback
* Automated change: Fix sanity tests
* fix
* annotate
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
6532084a06
[iwyu] rest of the owl: src/core/lib - excluding iomgr, gpr ( #29735 )
...
* [iwyu] rest of the owl: src/core/lib - excluding iomgr, gpr
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
* fix
* fix
* fixes
* fixes
* x
* fix?
* fix
* windows fix
* fix
* fix
* fix
* fix
* fix
* debug
* fix
* fix
* Revert "debug"
This reverts commit c99b8d12dd
.
* Automated change: Fix sanity tests
* fix?
* Automated change: Fix sanity tests
* header cleanup
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
a5b08d7a77
[iwyu] Improve iwyu for public headers ( #29834 )
...
* [iwyu] Improve iwyu for public headers
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
7854f4c50d
[build] Make compile_commands.json use NDEBUG ( #29876 )
...
* [build] Make compile_commands.json use NDEBUG
Ensures that things like clangd report the correct size information for
structures, which makes optimization a lot easier.
* remove -DNDEBUG from iwyus view
* fix
3 years ago
Richard Belleville
761bb3bfc3
Bump version to 1.48.0-dev (on master branch) ( #29829 )
...
* bump version to 1.48.0-dev
* regenerate projects
3 years ago
Craig Tiller
34920fcf8e
[build] Better dependency fixer ( #29776 )
...
* [build] Better dependency fixer
Separate metrics for dependency selection into three: avoidness (to
strongly steer things away based on tags), a selectable metric, and
score (as an unbiasing heuristic)
Add a way to select targets with the command line to help iterating
Three selectable metrics are implemented:
1. edit distance, so that we tend to select things that don't change the
BUILD file
2. list size, as a way of minimizing dependency lists
3. best overall heuristic score
(1) is useful to avoid changing things that folks have carefully
engineered
(2, 3) help in optimizing the graph
* Automated change: Fix sanity tests
* ???
* Update fix_build_deps.py
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
da7069e33d
[iwyu] rest of the owl: src/core/ext ( #29642 )
...
* [iwyu] rest of owl: src/core/ext, excluding binder
* merge
* Automated change: Fix sanity tests
* fix
* fix
* fix
* Automated change: Fix sanity tests
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
ef6a5b92c9
[build] Automatic BUILD dependency generation ( #29597 )
...
* [build] Automatic dependency analysis
* add to sanity
* Automated change: Fix sanity tests
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
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
Jan Tattermusch
d4093799ad
use internal release_open_source.py script to commit changes and create PR ( #29686 )
3 years ago
Jan Tattermusch
b646d9fa13
remove C# from all_lang_docgen.sh ( #29685 )
3 years ago
Craig Tiller
a6ee377bc7
[pancakes] Speed up ( #29674 )
...
* upgrade cache impl
* better cache
* run against right repo
* syntax
* speed fetch
3 years ago
Esun Kim
03e9ac6f1f
Requiring C++14 ( #29589 )
3 years ago
apolcyn
409db4dd0f
Upgrade ruby rake-compiler-dock images ( #29304 )
...
* Upgrade rake-compiler-dock images
3 years ago
Lidi Zheng
697c438df6
[PSM interop] Introduce isort/pylint to the GKE framework ( #29476 )
...
* [PSM interop] Introduce isort/pylint to the GKE framework
* Update the rpc_types
* Update variable type annotation style in tests/*.py
3 years ago
Craig Tiller
42b083322f
Check IWYU status in presubmits ( #28180 )
...
* fixes
* fixes
* fixes
* allow running outside docker
* x
* Automated change: Fix sanity tests
* fix
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Lidi Zheng
98fc0260e3
Bump dev version to v1.47.0-dev ( #29414 )
...
* bump version to 1.47.0-dev
* regenerate projects
3 years ago
Richard Belleville
311648e532
Correctly handle shebangs ( #29315 )
3 years ago
Marco Concetto Rudilosso
06e2fcc6c7
Support pre-built binaries for Ruby 3.1 ( #29000 )
...
* Support pre-built binaries for Ruby 3.1
* use 3.1.0
* use 3.1.0 and install 3.1 in build files
* fix
* update gemspec template
* fix naming of variable
* Fix ruby 3.1 link
Co-authored-by: Jan Tattermusch <jtattermusch@users.noreply.github.com>
3 years ago
Richard Belleville
683b606144
Exclude venvs from formatting ( #29277 )
3 years ago
Richard Belleville
ff3d51886b
bump grpcio-tools protobuf dependency ( #29257 )
3 years ago
Yash Tibrewal
01f333a1c1
TlsCredentials: Comparator implementation ( #28940 )
...
* TlsCredentials: Comparator implementation
* Update tests
* Redundant namespace qualifiers
* clang-tidy
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Reviewer comments
* Add generator for grpc_tls_credentials_options.h
* Generator script modifications for tests
* Sanity
* Reviewer comments
* Reviewer comments
* Add a common place to look-up known types
* Formatting
* Script fix
* Reviewer comments
* Add test mode to script
* Add to sanitize.sh
* clang-tidy
* Fix
* Fix
* Reviewer comments
* Clang-format
3 years ago