Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/envoyproxy/envoy into dev-d…
Browse files Browse the repository at this point in the history
…isable-automatic-route-refreshment
  • Loading branch information
wangbaiping(wbpcode) committed Oct 23, 2024
2 parents 8f5eafa + 5e94ec7 commit ead4115
Show file tree
Hide file tree
Showing 430 changed files with 2,287 additions and 1,955 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/_check_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
cache-build-image: ${{ fromJSON(inputs.request).request.build-image.default }}
concurrency-suffix: -${{ matrix.target }}
diskspace-hack: ${{ matrix.diskspace-hack || false }}
diskspace-hack-paths: ${{ matrix.diskspace-hack-paths || '' }}
error-match: |
ERROR
error:
Expand All @@ -58,5 +59,8 @@ jobs:
- target: coverage
name: Coverage
diskspace-hack: true
diskspace-hack-paths: |
/opt/hostedtoolcache
/usr/local
- target: fuzz_coverage
name: Fuzz coverage
2 changes: 1 addition & 1 deletion .github/workflows/_precheck_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ jobs:
ref: ${{ fromJSON(inputs.request).request.sha }}
persist-credentials: false
- name: Dependency Review
uses: actions/dependency-review-action@5a2ce3f5b92ee19cbb1541a4984c76d921601d7c # v4.3.4
uses: actions/dependency-review-action@a6993e2c61fd5dc440b409aa1d6904921c5e1894 # v4.3.5
2 changes: 1 addition & 1 deletion .github/workflows/envoy-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
steps-pre: ${{ matrix.steps-pre }}
target: ${{ matrix.target }}
target-name: ${{ matrix.target-name }}
timeout-minutes: 90
timeout-minutes: 120
trusted: ${{ fromJSON(needs.load.outputs.trusted) }}
strategy:
fail-fast: false
Expand Down
6 changes: 3 additions & 3 deletions api/bazel/repository_locations.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ REPOSITORY_LOCATIONS_SPEC = dict(
project_name = "Java Rules for Bazel",
project_desc = "Bazel rules for Java",
project_url = "https://github.com/bazelbuild/rules_jvm_external",
version = "6.2",
version = "6.4",
strip_prefix = "rules_jvm_external-{version}",
sha256 = "808cb5c30b5f70d12a2a745a29edc46728fd35fa195c1762a596b63ae9cebe05",
sha256 = "85776be6d8fe64abf26f463a8e12cd4c15be927348397180a01693610da7ec90",
urls = ["https://github.com/bazelbuild/rules_jvm_external/releases/download/{version}/rules_jvm_external-{version}.tar.gz"],
release_date = "2024-07-04",
release_date = "2024-09-18",
use_category = ["build"],
license = "Apache-2.0",
license_url = "https://github.com/bazelbuild/rules_jvm_external/blob/{version}/LICENSE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "envoy/config/core/v3/resolver.proto";
import "google/protobuf/wrappers.proto";

import "udpa/annotations/status.proto";
import "validate/validate.proto";

option java_package = "io.envoyproxy.envoy.extensions.network.dns_resolver.cares.v3";
option java_outer_classname = "CaresDnsResolverProto";
Expand All @@ -26,7 +25,7 @@ message CaresDnsResolverConfig {
// :ref:`use_resolvers_as_fallback<envoy_v3_api_field_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig.use_resolvers_as_fallback>`
// below dictates if the DNS client should override system defaults or only use the provided
// resolvers if the system defaults are not available, i.e., as a fallback.
repeated config.core.v3.Address resolvers = 1 [(validate.rules).repeated = {min_items: 1}];
repeated config.core.v3.Address resolvers = 1;

// If true use the resolvers listed in the
// :ref:`resolvers<envoy_v3_api_field_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig.resolvers>`
Expand Down
8 changes: 4 additions & 4 deletions bazel/repository_locations.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ REPOSITORY_LOCATIONS_SPEC = dict(
version = "3.8.0",
sha256 = "e0297cc6fdb09ef9d9905751b25d2b629c17528f8629b60561eeff87ce29099c",
strip_prefix = "kafka_2.13-{version}",
urls = ["https://archive.apache.org/dist/kafka/{version}/kafka_2.13-{version}.tgz"],
urls = ["https://downloads.apache.org/kafka/{version}/kafka_2.13-{version}.tgz"],
release_date = "2024-07-23",
use_category = ["test_only"],
),
Expand Down Expand Up @@ -1469,8 +1469,8 @@ REPOSITORY_LOCATIONS_SPEC = dict(
project_name = "Bazel rust rules",
project_desc = "Bazel rust rules (used by Wasm)",
project_url = "https://github.com/bazelbuild/rules_rust",
version = "0.52.2",
sha256 = "671ddb3fe5ebcf9dd34d051eca7352fbaf33fa53bf61eed0b75a4c34829e5480",
version = "0.53.0",
sha256 = "85e2013727ab26fb22abdffe4b2ac0c27a2d5b6296167ba63d8f6e13140f51f9",
# Note: rules_rust should point to the releases, not archive to avoid the hassle of bootstrapping in crate_universe.
# This is described in https://bazelbuild.github.io/rules_rust/crate_universe.html#setup, otherwise bootstrap
# is required which in turn requires a system CC toolchains, not the bazel controlled ones.
Expand All @@ -1482,7 +1482,7 @@ REPOSITORY_LOCATIONS_SPEC = dict(
],
implied_untracked_deps = ["rules_cc"],
extensions = ["envoy.wasm.runtime.wasmtime"],
release_date = "2024-10-07",
release_date = "2024-10-18",
cpe = "N/A",
license = "Apache-2.0",
license_url = "https://github.com/bazelbuild/rules_rust/blob/{version}/LICENSE.txt",
Expand Down
3 changes: 3 additions & 0 deletions changelogs/current.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ removed_config_or_runtime:
- area: http
change: |
Removed runtime flag ``envoy.reloadable_features.http_route_connect_proxy_by_default`` and legacy code paths.
- area: dns
change: |
Removed runtime flag ``envoy.reloadable_features.dns_reresolve_on_eai_again`` and legacy code paths.
- area: upstream
change: |
Removed runtime flag ``envoy.restart_features.allow_client_socket_creation_failure`` and legacy code paths.
Expand Down
4 changes: 2 additions & 2 deletions contrib/checksum/filters/http/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ envoy_contrib_package()
envoy_cc_test(
name = "checksum_filter_test",
srcs = ["checksum_filter_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/checksum/filters/http/source:checksum_filter_lib",
"//source/common/buffer:buffer_lib",
Expand All @@ -26,7 +26,7 @@ envoy_cc_test(
envoy_cc_test(
name = "config_test",
srcs = ["config_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/checksum/filters/http/source:config",
"//test/mocks/server:factory_context_mocks",
Expand Down
4 changes: 2 additions & 2 deletions contrib/client_ssl_auth/filters/network/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ envoy_cc_test(
name = "client_ssl_auth_test",
srcs = ["client_ssl_auth_test.cc"],
data = glob(["test_data/**"]),
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/client_ssl_auth/filters/network/source:client_ssl_auth",
"//test/mocks/network:network_mocks",
Expand All @@ -29,7 +29,7 @@ envoy_cc_test(
envoy_cc_test(
name = "config_test",
srcs = ["config_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/client_ssl_auth/filters/network/source:config",
"//source/common/protobuf:utility_lib",
Expand Down
2 changes: 1 addition & 1 deletion contrib/config/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ envoy_cc_test(
data = [
"//test/config/integration/certs",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
":invalid_proto_kv_store_config_proto_cc_proto",
"//contrib/config/source:kv_store_xds_delegate",
Expand Down
2 changes: 1 addition & 1 deletion contrib/cryptomb/private_key_providers/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ envoy_cc_test(
data = [
"//contrib/cryptomb/private_key_providers/test/test_data:certs",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
":test_fake_factory",
"//source/common/common:random_generator_lib",
Expand Down
2 changes: 1 addition & 1 deletion contrib/dlb/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ envoy_cc_test(
"//bazel:linux_x86_64": ["config_test.cc"],
"//conditions:default": [],
}),
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/dlb/source:connection_balancer",
"//source/common/protobuf:utility_lib",
Expand Down
2 changes: 1 addition & 1 deletion contrib/dynamo/filters/http/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ envoy_cc_test(
envoy_cc_test(
name = "config_test",
srcs = ["config_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/dynamo/filters/http/source:config",
"//test/mocks/server:factory_context_mocks",
Expand Down
4 changes: 2 additions & 2 deletions contrib/exe/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SELECTED_CONTRIB_EXTENSIONS = select({

envoy_cc_binary(
name = "envoy-static",
rbe_pool = "2core",
rbe_pool = "6gig",
stamped = True,
visibility = ["//visibility:public"],
deps = ["//source/exe:envoy_main_entry_lib"] + SELECTED_CONTRIB_EXTENSIONS,
Expand All @@ -48,7 +48,7 @@ envoy_cc_test(
"DISABLE_TEST_MERGE": "true",
"GODEBUG": "cgocheck=0",
},
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//test/config_test:example_configs_test_lib",
] + SELECTED_CONTRIB_EXTENSIONS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ envoy_cc_test(
srcs = [
"config_test.cc",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/generic_proxy/filters/network/source/codecs/kafka:config",
"//test/extensions/filters/network/generic_proxy/mocks:codec_mocks",
Expand Down
10 changes: 5 additions & 5 deletions contrib/golang/filters/http/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ envoy_cc_test(
data = [
"//contrib/golang/filters/http/test/test_data/passthrough:filter.so",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/golang/filters/http/source:config",
"//test/mocks/server:factory_context_mocks",
Expand All @@ -31,7 +31,7 @@ envoy_cc_test(
"//contrib/golang/filters/http/test/test_data/passthrough:filter.so",
"//contrib/golang/filters/http/test/test_data/routeconfig:filter.so",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/golang/filters/http/source:golang_filter_lib",
"//source/common/stream_info:stream_info_lib",
Expand Down Expand Up @@ -62,7 +62,7 @@ envoy_cc_test(
"//contrib/golang/filters/http/test/test_data/property:filter.so",
"//contrib/golang/filters/http/test/test_data/routeconfig:filter.so",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/golang/filters/http/source:config",
"//source/exe:main_common_lib",
Expand All @@ -88,7 +88,7 @@ envoy_cc_fuzz_test(
name = "golang_filter_fuzz_test",
srcs = ["golang_filter_fuzz_test.cc"],
corpus = "golang_filter_corpus",
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
":golang_filter_fuzz_proto_cc_proto",
"//contrib/golang/common/dso/test:dso_mocks",
Expand All @@ -110,7 +110,7 @@ envoy_cc_test(
data = [
"//contrib/golang/filters/http/test/test_data/websocket:filter.so",
],
rbe_pool = "2core",
rbe_pool = "6gig",
tags = [
"cpu:3",
],
Expand Down
6 changes: 3 additions & 3 deletions contrib/golang/filters/network/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ envoy_cc_test(
data = [
"//contrib/golang/filters/network/test/test_data:filter.so",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/golang/filters/network/source:config",
"//test/mocks/server:factory_context_mocks",
Expand All @@ -26,7 +26,7 @@ envoy_cc_test(
envoy_cc_test(
name = "filter_test",
srcs = ["filter_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/golang/common/dso/test:dso_mocks",
"//contrib/golang/filters/network/source:golang",
Expand All @@ -45,7 +45,7 @@ envoy_cc_test(
envoy_cc_test(
name = "upstream_test",
srcs = ["upstream_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/golang/common/dso/test:dso_mocks",
"//contrib/golang/filters/network/source:upstream",
Expand Down
2 changes: 1 addition & 1 deletion contrib/golang/router/cluster_specifier/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ envoy_cc_test(
"//contrib/golang/router/cluster_specifier/test/test_data/simple:plugin.so",
],
env = {"GODEBUG": "cgocheck=0"},
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/golang/router/cluster_specifier/source:config",
"//source/exe:main_common_lib",
Expand Down
2 changes: 1 addition & 1 deletion contrib/hyperscan/matching/input_matchers/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ envoy_contrib_package()
envoy_cc_test(
name = "config_test",
srcs = ["config_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/hyperscan/matching/input_matchers/source:config",
"//test/mocks/server:factory_context_mocks",
Expand Down
4 changes: 2 additions & 2 deletions contrib/hyperscan/regex_engines/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ envoy_contrib_package()
envoy_cc_test(
name = "config_test",
srcs = ["config_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/hyperscan/regex_engines/source:config",
"//test/mocks/server:factory_context_mocks",
Expand All @@ -32,7 +32,7 @@ envoy_cc_test(
envoy_cc_test(
name = "integration_test",
srcs = ["integration_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/hyperscan/regex_engines/source:config",
"//test/integration:integration_lib",
Expand Down
2 changes: 1 addition & 1 deletion contrib/kafka/filters/network/source/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ envoy_cc_library(
"external/responses.h",
"kafka_response_parser.h",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
":kafka_response_lib",
":parser_lib",
Expand Down
4 changes: 2 additions & 2 deletions contrib/kafka/filters/network/test/broker/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ envoy_contrib_package()
envoy_cc_test(
name = "config_unit_test",
srcs = ["config_unit_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/kafka/filters/network/source/broker:config_lib",
"//test/mocks/server:factory_context_mocks",
Expand All @@ -22,7 +22,7 @@ envoy_cc_test(
envoy_cc_test(
name = "filter_unit_test",
srcs = ["filter_unit_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/kafka/filters/network/source/broker:filter_lib",
"//envoy/event:timer_interface",
Expand Down
4 changes: 2 additions & 2 deletions contrib/kafka/filters/network/test/mesh/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ envoy_contrib_package()
envoy_cc_test(
name = "config_unit_test",
srcs = ["config_unit_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
tags = ["skip_on_windows"],
deps = [
"//contrib/kafka/filters/network/source/mesh:config_lib",
Expand All @@ -24,7 +24,7 @@ envoy_cc_test(
envoy_cc_test(
name = "filter_unit_test",
srcs = ["filter_unit_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
tags = ["skip_on_windows"],
deps = [
"//contrib/kafka/filters/network/source/mesh:filter_lib",
Expand Down
4 changes: 2 additions & 2 deletions contrib/language/filters/http/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ envoy_contrib_package()
envoy_cc_test(
name = "language_config_test",
srcs = ["language_config_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/language/filters/http/source:config_lib",
"//test/mocks/server:factory_context_mocks",
Expand All @@ -23,7 +23,7 @@ envoy_cc_test(
envoy_cc_test(
name = "language_integration_test",
srcs = ["language_integration_test.cc"],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/language/filters/http/source:config_lib",
"//test/integration:http_protocol_integration_lib",
Expand Down
2 changes: 1 addition & 1 deletion contrib/mysql_proxy/filters/network/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ envoy_cc_test(
data = [
"mysql_test_config.yaml",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
":mysql_test_utils_lib",
"//contrib/mysql_proxy/filters/network/source:config",
Expand Down
2 changes: 1 addition & 1 deletion contrib/postgres_proxy/filters/network/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ envoy_cc_test(
"postgres_test_config.yaml-template",
"//test/config/integration/certs",
],
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
":postgres_integration_proto_cc_proto",
":postgres_test_utils_lib",
Expand Down
2 changes: 1 addition & 1 deletion contrib/qat/compression/qatzip/compressor/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ envoy_cc_test(
"//bazel:linux_x86_64": ["qatzip_compressor_impl_test.cc"],
"//conditions:default": [],
}),
rbe_pool = "2core",
rbe_pool = "6gig",
deps = [
"//contrib/qat/compression/qatzip/compressor/source:config",
"//source/extensions/compression/gzip/decompressor:zlib_decompressor_impl_lib",
Expand Down
Loading

0 comments on commit ead4115

Please sign in to comment.