Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into ads_replacment_part2
Browse files Browse the repository at this point in the history
Signed-off-by: Adi Suissa-Peleg <[email protected]>
  • Loading branch information
adisuissa committed Oct 23, 2024
2 parents 916e63d + a5f9f35 commit 7f55517
Show file tree
Hide file tree
Showing 38 changed files with 470 additions and 563 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
4 changes: 2 additions & 2 deletions .github/workflows/codeql-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@f779452ac5af1c261dce0346a8f964149f49322b # codeql-bundle-v3.26.13
uses: github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd # codeql-bundle-v3.27.0
# Override language selection by uncommenting this and choosing your languages
with:
languages: cpp
Expand Down Expand Up @@ -74,4 +74,4 @@ jobs:
git clean -xdf
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@f779452ac5af1c261dce0346a8f964149f49322b # codeql-bundle-v3.26.13
uses: github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd # codeql-bundle-v3.27.0
4 changes: 2 additions & 2 deletions .github/workflows/codeql-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:

- name: Initialize CodeQL
if: ${{ env.BUILD_TARGETS != '' }}
uses: github/codeql-action/init@f779452ac5af1c261dce0346a8f964149f49322b # codeql-bundle-v3.26.13
uses: github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd # codeql-bundle-v3.27.0
with:
languages: cpp

Expand Down Expand Up @@ -109,4 +109,4 @@ jobs:
- name: Perform CodeQL Analysis
if: ${{ env.BUILD_TARGETS != '' }}
uses: github/codeql-action/analyze@f779452ac5af1c261dce0346a8f964149f49322b # codeql-bundle-v3.26.13
uses: github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd # codeql-bundle-v3.27.0
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
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ jobs:
retention-days: 5

- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0
with:
sarif_file: results.sarif
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
217 changes: 0 additions & 217 deletions bazel/cel-cpp.patch

This file was deleted.

2 changes: 0 additions & 2 deletions bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,6 @@ def _com_github_facebook_zstd():
def _com_google_cel_cpp():
external_http_archive(
"com_google_cel_cpp",
patches = ["@envoy//bazel:cel-cpp.patch"],
patch_args = ["-p1"],
)

def _com_github_google_perfetto():
Expand Down
6 changes: 3 additions & 3 deletions bazel/repository_locations.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -1254,8 +1254,8 @@ REPOSITORY_LOCATIONS_SPEC = dict(
project_name = "Common Expression Language (CEL) C++ library",
project_desc = "Common Expression Language (CEL) C++ library",
project_url = "https://opensource.google/projects/cel",
version = "0abd738f9f54388452e6ebb0955eb039f9162b3d",
sha256 = "d163805320a782c5194b7496cdd5e8c9d9604eeffc1e531770cf6b130bc182fd",
version = "b03438ae95cac305d672b56c35472894a09fba19",
sha256 = "0c5778861e427c704e0c07287269d8a490af623284c50b017132e77638c7bdfb",
strip_prefix = "cel-cpp-{version}",
urls = ["https://github.com/google/cel-cpp/archive/{version}.tar.gz"],
use_category = ["dataplane_ext"],
Expand All @@ -1276,7 +1276,7 @@ REPOSITORY_LOCATIONS_SPEC = dict(
"envoy.matching.inputs.cel_data_input",
"envoy.matching.matchers.cel_matcher",
],
release_date = "2023-12-20",
release_date = "2024-10-22",
cpe = "N/A",
),
com_github_google_flatbuffers = dict(
Expand Down
3 changes: 3 additions & 0 deletions changelogs/current.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,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
6 changes: 0 additions & 6 deletions mobile/library/cc/engine_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,6 @@ EngineBuilder& EngineBuilder::setNumTimeoutsToTriggerPortMigration(int num_timeo
return *this;
}

EngineBuilder& EngineBuilder::setForceAlwaysUsev6(bool value) {
always_use_v6_ = value;
return *this;
}

EngineBuilder& EngineBuilder::enableInterfaceBinding(bool interface_binding_on) {
enable_interface_binding_ = interface_binding_on;
return *this;
Expand Down Expand Up @@ -862,7 +857,6 @@ std::unique_ptr<envoy::config::bootstrap::v3::Bootstrap> EngineBuilder::generate
(*reloadable_features.mutable_fields())[guard_and_value.first].set_bool_value(
guard_and_value.second);
}
(*reloadable_features.mutable_fields())["always_use_v6"].set_bool_value(always_use_v6_);
(*reloadable_features.mutable_fields())["prefer_quic_client_udp_gro"].set_bool_value(
use_gro_if_available_);
ProtobufWkt::Struct& restart_features =
Expand Down
2 changes: 0 additions & 2 deletions mobile/library/cc/engine_builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ class EngineBuilder {
EngineBuilder& enablePlatformCertificatesValidation(bool platform_certificates_validation_on);

EngineBuilder& enableDnsCache(bool dns_cache_on, int save_interval_seconds = 1);
EngineBuilder& setForceAlwaysUsev6(bool value);
// Adds the hostnames that should be pre-resolved by DNS prior to the first request issued for
// that host. When invoked, any previous preresolve hostname entries get cleared and only the ones
// provided in the hostnames argument get set.
Expand Down Expand Up @@ -184,7 +183,6 @@ class EngineBuilder {
std::vector<std::pair<std::string, int>> quic_hints_;
std::vector<std::string> quic_suffixes_;
int num_timeouts_to_trigger_port_migration_ = 0;
bool always_use_v6_ = false;
#if defined(__APPLE__)
// TODO(abeyad): once stable, consider setting the default to true.
bool respect_system_proxy_settings_ = false;
Expand Down
Loading

0 comments on commit 7f55517

Please sign in to comment.