Xuan Wang
629b7a14da
[python O11Y] Initial Implementation ( #32974 )
...
Testing Command: `bazel test --cache_test_results=no
--test_output=streamed --runs_per_test=1 --test_timeout=10
"//src/python/grpcio_tests/tests/observability:_observability_test"`
### TODO:
* Better error handling.
2 years ago
Craig Tiller
efa939ac1f
[cleanup] Remove public_headers_must_be_c89 test ( #32898 )
...
We're starting to introduce C++ APIs to C-core, so this test is no
longer relevant.
2 years ago
Craig Tiller
2bcca66712
[fuzzing] Roll forward dep on fuzztest ( #32667 )
...
<!--
If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the
appropriate
lang label.
-->
---------
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
522bed8cc6
Revert "[fuzzing] Add dep on google fuzz test" ( #32666 )
...
Reverts grpc/grpc#32578
2 years ago
Craig Tiller
dbb131b193
[fuzzing] Add dep on google fuzz test ( #32578 )
...
Initial PR to establish a bazel dependency on
https://github.com/google/fuzztest , with which I'm planning on basing a
hardening program.
Casting a relatively wide net with reviewers: I'm genuinely interested
in feedback building up the docs, and general ergonomics of this change.
I've located relevant files in the `fuzztest/...` directory. The tests
only build with the `--config fuzztest` bazel argument for now (because
of needing C++17), so locating them separately keeps `bazel test
test/...` working as it does today. In a few years time, when we adopt
C++17, we'll be able to rationalize the test directories a little bit.
We'll need to add some kokoro jobs (maybe with this PR?) to execute the
relevant tests.
<!--
If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the
appropriate
lang label.
-->
---------
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
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
Craig Tiller
49a3035d44
[iwyu] Fix CI job ( #31921 )
...
* fix-includes
* fix
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* add warning label
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Esun Kim
50fbe51238
Fix IWYU with clang-15 ( #31556 )
...
* Fix iwyu
* iwyu fix
* more fixed
* Build fix
* more fix
* More fixes 3
2 years ago
Esun Kim
530b702259
Update Clang 15 ( #31518 )
...
* clang-15
* iwyu
* run clang_format_code
* Clang-Tidy config
* Fix misc-unused-using-decls
* Fixed performance-inefficient-vector-operation
* Sanity
2 years ago
Craig Tiller
8174a75079
[iwyu] Add more test directories ( #30952 )
...
* [iwyu] Add more test directories
* fix
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* iwyu
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Vignesh Babu
e2ceb1368a
Choose proper exit code for iwyu script upon failure ( #30813 )
...
* Print diffs made by iwyu
* Choose proper exit code for iwyu script upon failure
2 years ago
Vignesh Babu
e8685fc8d2
Print diffs made by iwyu ( #30808 )
2 years ago
Craig Tiller
b8605a424e
[iwyu] Add test/core/transport ( #30288 )
...
* [iwyu] Add test/core/transport
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
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
9511ab003a
[iwyu] Add test/core/memory_usage ( #30408 )
...
* include-fix
* include-fix
* iwyu headers
* clang-fmt
* fix
2 years ago
Craig Tiller
df52004032
[iwyu] Add test/core/end2end ( #29998 )
...
* [iwyu] Add test/core/end2end
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* update
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
856abd9446
[iwyu] Add test/core/util ( #30289 )
...
* [iwyu] Add test/core/util
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
fbe6a4d941
[iwyu] Add test/core/resource_quota ( #29999 )
...
* [iwyu] Add test/core/resource_quota
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
cdd340cbdb
[iwyu] Add test/core/uri ( #30000 )
...
* [iwyu] Add test/core/uri
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Craig Tiller
e2ebebadfc
[iwyu] Add test/core/promise ( #29994 )
...
* [iwyu] Add test/core/promise
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 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>
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
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
76abfad603
[build] Further expand automatic build dependencies ( #29762 )
...
* handshaker
* handshaker impls
* rq, slice
* more
* progress
* progress
* progress
* progress
* progress
* progress
* progress
* progress
* Automated change: Fix sanity tests
* fix
* fix
* fix
* expand
* more
* x
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
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
Craig Tiller
da9f98a8bd
[iwyu] event_engine ( #29641 )
...
* slartibartfast
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
98cef58e9e
[iwyu] Ignore missing files ( #29638 )
3 years ago
Craig Tiller
35320cbc76
[promises] Convert lame client ( #29587 )
...
* [promises] Convert lame client
* fixes
* fixes
* Automated change: Fix sanity tests
* cleanup
* fix
* fix
* review feedback
* fix
* no ok lame channels
* fix
* fix
* Update promise_based_filter.h
* [iwyu] Better script
* eliminate race
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
f56282a6b6
[iwyu] surface ( #29588 )
...
* [iwyu] chttp2
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fwd file
* fix
* fix
* Automated change: Fix sanity tests
* fix
* [iwyu] surface
* [iwyu] surface
* add no-return hint
* fix
* Automated change: Fix sanity tests
* Add flag
* sweep1
* fixes
* speedup
* fixes
* fixes
* fixes
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fic
* x
* ugh
* fix
* fix
* Automated change: Fix sanity tests
* fix?
* fixes
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
457adf3d58
[iwyu] client_channel ( #29579 )
...
* [iwyu] client_channel
* Update grpclb_client_stats.h
* Update load_balancer_api.h
* Update grpc_ares_ev_driver.h
* Update grpc_ares_wrapper.h
* Update grpc_ares_wrapper_event_engine.cc
* Update grpc_ares_wrapper_windows.cc
* clang-format
* Update grpc_ares_ev_driver_event_engine.cc
* Update grpc_ares_ev_driver_windows.cc
* [iwyu] chttp2
* fix
* fix
* fix
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fwd file
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* Automated change: Fix sanity tests
* Update grpc_ares_ev_driver.h
* Update grpc_ares_wrapper.h
* re-run
* fix
* fix
* fix
* fix
* fix
* fix
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
5918f98ecb
[iwyu] Enable nosafe_headers ( #29591 )
...
* Add flag
* sweep1
* fixes
* speedup
* fixes
* fix
* fix
* fix
* Automated change: Fix sanity tests
* fix
* fix
* fix
* fix
* fix
* fix
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
c443e33cc6
[iwyu] chttp2 ( #29580 )
...
* [iwyu] chttp2
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fwd file
* fix
* fix
* Automated change: Fix sanity tests
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
35272aafee
[iwyu] Use all the cpus ( #29548 )
3 years ago
Craig Tiller
e963544eef
[iwyu] gprpp ( #29534 )
...
* [iwyu] gprpp
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
1475ed4fb7
[iwyu] json ( #29536 )
...
* [iwyu] json
* fix
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
7b66a593cf
[iwyu] transport ( #29574 )
...
* [iwyu] transport
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
4429f73f6b
[iwyu] avl ( #29543 )
...
* iwyu-avl
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
ed5e26e3ae
[iwyu] channel ( #29573 )
...
* [iwyu] channel
* Automated change: Fix sanity tests
* fix
* fix up script
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
b39e3d4406
[iwyu] slice ( #29546 )
3 years ago
Craig Tiller
be1a2ee500
[iwyu] resource quota ( #29538 )
...
* [iwyu] resource quota
* fix
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
1334f26bb5
[iwyu] config ( #29544 )
3 years ago
Craig Tiller
4b5441382d
[iwyu] uri ( #29547 )
...
* [iwyu] uri
* fix
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
Craig Tiller
535cee4fbd
[iwyu] Enable --no_fwd_decls on iwyu script ( #29527 )
...
* Flag flip
* Fixups
3 years ago
Esun Kim
6a10e41db7
Upgrade IWYU to use clang 13 ( #28891 )
...
* Upgrade IWYU to use clang 13
* Update by review
3 years ago
Craig Tiller
e602169fa0
First pass IWYU tooling ( #27857 )
...
* First pass IWYU tooling
* fix
* Automated change: Fix sanity tests
* Update iwyu.sh
* Update iwyu.sh
* Update Dockerfile.template
* Update iwyu.sh
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago