Commit Graph

51118 Commits

Author SHA1 Message Date
AJ Heller 3b3f952ef6
Revert "Revert "Temporarily require ExecCtx to be on the thread's stack for EventEngine (#29755)" (#29770)" (#29777)
This reverts commit c895272157.
2022-05-24 20:13:06 -07:00
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>
2022-05-24 15:32:08 -07:00
Esun Kim 0afcc37589
MSVC 2015 -> 2017 (#29754)
* MSVC 2015 -> 2017

* Update by review
2022-05-24 14:09:55 -07:00
yifeizhuang 828fcac638
increase orca oob test verification timeout (#29772) 2022-05-24 13:00:15 -07:00
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>
2022-05-24 12:50:30 -07:00
Richard Belleville 58b21ca3c3
Bump core version to 25.0.0 for upcoming release (#29775)
* bump C-core version

* regenerate projects
2022-05-24 11:55:44 -07:00
Tamir Duberstein cd1661a82b
Make ExecCtx::Set private (#29771)
This was made public in 539f506, but all non-private usages have been
removed. The comment was never moved, so it is already in the correct
place.
2022-05-24 11:00:15 -07:00
yifeizhuang 98f6a3a0e9
doc: add interop-test description for orca (#29632) 2022-05-24 10:48:38 -07:00
AJ Heller c895272157
Revert "Temporarily require ExecCtx to be on the thread's stack for EventEngine (#29755)" (#29770)
This reverts commit e4ce9afbc9.
2022-05-24 08:14:51 -07:00
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>
2022-05-23 20:18:49 -07:00
Jérôme Duval 7251dd566d
Initial support for Haiku (#27793)
* Detect Haiku in core/lib/iomgr

* Detect Haiku in include/grpc/impl/codegen

* CMake: Haiku doesn't need additional libraries

* CMake: Haiku doesn't need additional libraries

* Sanitize: word wrap

Co-authored-by: AJ Heller <hork@google.com>
2022-05-23 16:40:26 -07:00
Mark D. Roth cdb87a7791
GoogleDefaultCreds: support new-style xDS cluster names (#29764) 2022-05-23 16:18:14 -07:00
Yash Tibrewal c214b7e96b
Fix pull request template (#29760) 2022-05-23 15:13:58 -07:00
Wanlin Du daaeec062b
Remove support for csharp(core) and ruby for PSM tests. (#29694) 2022-05-23 13:43:02 -07:00
Thomas Klausner 06377249e3
Add NetBSD support (Community-supported) (#29542)
* Add NetBSD support

* Add NetBSD to platforms list as 'Community Supported'

* Add contact email for issues with the NetBSD port.
2022-05-23 13:41:52 -07:00
AJ Heller e4ce9afbc9
Temporarily require ExecCtx to be on the thread's stack for EventEngine (#29755)
* Temporarily require ExecCtx to be on the thread's stack for EventEngine

There's a migration path that allows us to remove this requirement
eventually, but for now it is the simplest way forward. After
`ExecCtx::Run` and `grpc_timer_*` calls have been replaced, this can be
removed.

* Flush ExecCtx on destruction to block on pending callbacks
2022-05-23 12:54:27 -07:00
Craig Tiller f9de7b0f1c
[compression] Optimize compression type list generation (#29649)
* [compression] Optimize compression type list generation

* minimize size
2022-05-23 12:45:39 -07:00
Eric Anderson 3e41ebd157
doc/interop-test-descriptions.md: Fix organization (#29763)
The soak tests had the wrong header level and the TODO tests should not
be mixed in with the defined tests.
2022-05-23 10:02:50 -07:00
Mark D. Roth 709dff9ca8
security and subchannel: implement UniqueTypeName and use it in these interfaces (#29709)
* implement UniqueTypeName API

* convert security code to use UniqueTypeName

* change subchannel data producer API to use UniqueTypeName

* sanitize

* add missing build dep

* fix credentials_test

* fix certificate_provider_store_test

* fix tls_security_connector_test

* attempt to fix windows build

* avoid unnecessary allocation

* work around MSVC 2017 bug

* sanity

* change factory to not be templated

* fix sanity

* fix bug in chttp2 connector that used server creds instead of channel creds

* add missing build dep

* simplify API
2022-05-23 09:45:20 -07:00
Craig Tiller 9a46171833
Revert "Revert "[c++14] Remove Capture type (#29327)" (#29748)" (#29749)
This reverts commit d4aed9e615.
2022-05-20 17:29:16 -07:00
Esun Kim 2f6277c1fb
Version changes (#29752) 2022-05-20 16:21:24 -07:00
Nicolas Noble 667691c499
server: per-rpc backend metric reporting (#29621)
Users can now report per-rpc metrics from servers to clients.
2022-05-20 15:54:30 -07:00
Craig Tiller eed6711be9
[build] Opt-in more targets to auto-dependency-checking (#29739)
* useful

* examine_stack, gpr_tls

* more

* more

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2022-05-20 14:46:18 -07:00
Esun Kim df53955d16
Revert "Removed c++14 option from bazel.rc (#29711)" (#29750)
This reverts commit c88d70458c.
2022-05-20 14:38:45 -07:00
Lidi Zheng f1e9adfded
Add v1.46.x to interop matrix (#29741)
* Add v1.46.x to interop matrix

* Add v1.46.2 to interop matrix

* Remove Go v1.46.2

* Add Go v1.46.0 back
2022-05-20 14:08:11 -07:00
Esun Kim ec58a346f9
Changed C99 to C11 (#29687)
* Changed C99 to C11

* Remove gnu99 option

* Switch to gnu11 for xcode
2022-05-20 14:03:04 -07:00
Menghan Li 4a855552a9
xds/interop: add a testing server for istio integration test (#29590) 2022-05-20 13:50:16 -07:00
Mark D. Roth a6d70b449b
xds: don't start resource timer after ADS stream restart if resource is already cached (#29668)
* xds: don't start resource timer after ADS stream restart

* fix sanity

* add missing build dep

* attempt to use std::move() for absl::Status

* sanity
2022-05-20 13:40:43 -07:00
Craig Tiller d4aed9e615
Revert "[c++14] Remove Capture type (#29327)" (#29748)
This reverts commit 944c0b2ce9.
2022-05-20 12:58:47 -07:00
apolcyn 965feb5726
xds: Remove aggregate and logical dns clusters env var guard (#29742)
* Remove aggregate and logical dns clusters env var guard
2022-05-20 12:45:33 -07:00
Sergii Tkachenko d5c8bbce51
xds-k8s: Do not recommend enabling mesh certs by default (#29743)
This should covered separately per this note:

> For more details, and for the setup for security tests, see
["Setting up Traffic Director service security with proxyless gRPC"](https://cloud.google.com/traffic-director/docs/security-proxyless-setup)
 user guide.
2022-05-20 10:44:59 -07:00
AJ Heller 1df32ca680
Delete the EventEngine-driven iomgr implementation (#29654)
This code is not compiled by default and has fallen out of sync with the
rest of the codebase. There's a good chance it won't be used, given our
current work to use an iomgr-drive EventEngine instead.

This code will continue to live in git history, should we need to bring
pieces of it back.
2022-05-20 10:18:53 -07:00
Craig Tiller 944c0b2ce9
[c++14] Remove Capture type (#29327)
* Remove Capture type

* Automated change: Fix sanity tests

* update

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2022-05-20 09:56:23 -07:00
Esun Kim fd744e081d
Removed manylinux2010 python artifacts (#29734)
* Removed manylinux2010 python artifacts

* Fix

* Fix2

* Added cp37 to presubmit test for distribtest relying on cp37 artifacts
2022-05-20 08:54:33 -07:00
Jan Tattermusch 5051566b27
Enable remote cache for selected ObjC bazel tests. (#29731)
* enable remote cache for ObjC bazel tests

* add bazel RBE cache for mac ios bazel builds
2022-05-20 11:07:04 +02:00
Richard Belleville a9b9f3058a
Upmerge v1.46.x branch into master (#29738)
* Bump release version to v1.46.0-pre1 (#29415)

* bump version to 1.46.0-pre1

* regenerate projects

* PSM Security: Increase test timeout to 240 for C++ and Python (#29420) (#29421)

* [1.46][fault-injection] Backport fix for fault injection filter #29467

Backports #29288

* Bump release version to v1.46.0-pre2 (#29471)

* bump version to 1.46.0-pre2

* regenerate projects

* Upgrading zlib. (#29533)

CVE-2018-25032

* Revert "Enable authz_test for C++ and Python (#29147)" (#29556)

This reverts commit 02bddf2017.

* Bump release version to v1.46.0 (#29565)

* bump version to 1.46.0

* regenerate projects

* Downgrade io_bazel_rules_go to v0.27.0 restore Bazel 3.x support (#29596) (#29602)

* Bump version to v1.46.1 (#29606)

* Bump version to v1.46.1

* Bump version in BUILD as well

* Fix #24421: UnobservedTaskException when server Unavailable (C# on v1.46.x branch) (#29582)

* fix #24421

* add test for #24421

* Upgrade ruby rake-compiler-dock images (#29304) (#29657)

* Upgrade rake-compiler-dock images

* [Ruby]fix a rake compile error since rake-compiler ~> 1.1 (#28666) (#29656)

* fix a rake compile error since rake-compiler ~> 1.1

* change File.directory? check

Co-authored-by: Hannah Shi <hannahshisfb@gmail.com>

* Bump version 1.46.2 (#29661)

* Bump version to 1.46.2

* Regenerate projects

* use internal release_open_source.py script to commit changes and create PR (#29698)

* xds: use federation env var to guard new-style resource name parsing (#29725) (#29727)

* Re-add authz tests on master

* Re-add C# dependencies.props

Co-authored-by: Lidi Zheng <lidiz@google.com>
Co-authored-by: Yash Tibrewal <yashkt@google.com>
Co-authored-by: Craig Tiller <ctiller@google.com>
Co-authored-by: Nicolas Noble <nicolasnoble@users.noreply.github.com>
Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
Co-authored-by: apolcyn <apolcyn@google.com>
Co-authored-by: Hannah Shi <hannahshisfb@gmail.com>
Co-authored-by: Mark D. Roth <roth@google.com>
2022-05-19 15:15:39 -07:00
Mark D. Roth 82935bdb2e
google-c2p resolver: add authority entry to bootstrap config (#29732)
* google-c2p resolver: add authority entry to bootstrap config

* clang-format
2022-05-19 14:17:10 -07:00
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>
2022-05-19 13:42:52 -07:00
dependabot[bot] ff90d97021
Bump y18n from 4.0.0 to 4.0.3 in /examples/node (#28738)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3)

---
updated-dependencies:
- dependency-name: y18n
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-19 11:52:31 -07:00
Vignesh Babu 64c1e8a784
Fix undefined reference errors in asylo builds (#29733) 2022-05-19 11:27:23 -07:00
Jan Tattermusch 6a09523029
Remove opt MacOS builds from PR presubmit cmake C/C++ basic tests (#29730) 2022-05-19 19:29:45 +02:00
Esun Kim c88d70458c
Removed c++14 option from bazel.rc (#29711) 2022-05-19 09:56:37 -07:00
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>
2022-05-19 07:34:48 -07:00
James Newton-King 4d1aa354ef
C#: Suppress CS8981 in generated source (#29708) 2022-05-19 09:51:56 +02:00
Craig Tiller abf333337f
[visibility] Give grpc_cli explicit visibility (#29717)
* [visibility] Give grpc_cli explicit visibility

* x

* fix
2022-05-18 20:46:58 -07:00
Yash Tibrewal 9099a785ce
Remove grpc/grpc repo manager process (#29716) 2022-05-18 17:07:56 -07:00
Mark D. Roth 5c9a971904
xds: use federation env var to guard new-style resource name parsing (#29725) 2022-05-18 15:03:01 -07:00
Jan Tattermusch 4976933e6b
Remove some ObjC tests already run by objc_bazel_tests from run_tests.py (#29678)
* stop running objc plugin tests with run_tests.py

* stop running bazel examples as part of run_tests.py

* stop running UnitTests and MacTests as part part of run_tests.py
2022-05-18 11:35:40 -07:00
Sergii Tkachenko 8b1cef6e19
xds_k8s_install: Allow to override PYTHON_VERSION for local testing (#29722) 2022-05-18 11:33:50 -07:00
Craig Tiller 0642bc213d
Revert "[iwyu] grpc++ (#29610)" (#29720)
This reverts commit c8159eabdf.
2022-05-18 09:58:08 -07:00