Skip to content

Commit 13090c3

Browse files
authored
Merge branch 'main' into luacounter
Signed-off-by: code <[email protected]>
2 parents b5f227a + 96fbf3c commit 13090c3

File tree

325 files changed

+14635
-1533
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

325 files changed

+14635
-1533
lines changed

.bazelrc

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ build --incompatible_enforce_config_setting_visibility
6464
test --test_verbose_timeout_warnings
6565
test --experimental_ui_max_stdouterr_bytes=11712829 #default 1048576
6666

67-
test --test_tag_filters=-runtime-cpu
68-
6967
# Allow tags to influence execution requirements
7068
common --experimental_allow_tags_propagation
7169

@@ -92,6 +90,7 @@ build --@com_googlesource_googleurl//build_config:system_icu=0
9290
# Common flags for sanitizers
9391
build:sanitizer --define tcmalloc=disabled
9492
build:sanitizer --linkopt -ldl
93+
test:sanitizer --build_tests_only
9594

9695
# Common flags for Clang (shared between all clang variants)
9796
build:clang-common --action_env=BAZEL_COMPILER=clang
@@ -148,7 +147,7 @@ build:asan-common --config=sanitizer
148147
build:asan-common --define signal_trace=disabled
149148
build:asan-common --define ENVOY_CONFIG_ASAN=1
150149
build:asan-common --build_tag_filters=-no_san
151-
build:asan-common --test_tag_filters=-no_san,-runtime-cpu
150+
build:asan-common --test_tag_filters=-no_san
152151
build:asan-common --copt -fsanitize=address,undefined
153152
build:asan-common --linkopt -fsanitize=address,undefined
154153
# vptr and function sanitizer are enabled in asan if it is set up via bazel/setup_clang.sh.
@@ -199,7 +198,7 @@ build:tsan --copt -fsanitize=thread
199198
build:tsan --linkopt -fsanitize=thread
200199
build:tsan --copt -DTHREAD_SANITIZER=1
201200
build:tsan --build_tag_filters=-no_san,-no_tsan
202-
build:tsan --test_tag_filters=-no_san,-no_tsan,-runtime-cpu
201+
build:tsan --test_tag_filters=-no_san,-no_tsan
203202
# Needed due to https://github.com/libevent/libevent/issues/777
204203
build:tsan --copt -DEVENT__DISABLE_DEBUG_MODE
205204
# https://github.com/abseil/abseil-cpp/issues/760
@@ -211,7 +210,7 @@ build:tsan --test_timeout=120,600,1500,4800
211210
build:msan --action_env=ENVOY_MSAN=1
212211
build:msan --config=sanitizer
213212
build:msan --build_tag_filters=-no_san
214-
build:msan --test_tag_filters=-no_san,-runtime-cpu
213+
build:msan --test_tag_filters=-no_san
215214
build:msan --define ENVOY_CONFIG_MSAN=1
216215
build:msan --copt -fsanitize=memory
217216
build:msan --linkopt -fsanitize=memory
@@ -272,10 +271,10 @@ build:coverage --coverage_report_generator=@envoy//tools/coverage:report_generat
272271

273272
build:test-coverage --test_arg="-l trace"
274273
build:test-coverage --test_arg="--log-path /dev/null"
275-
build:test-coverage --test_tag_filters=-nocoverage,-fuzz_target,-runtime-cpu
274+
build:test-coverage --test_tag_filters=-nocoverage,-fuzz_target
276275
build:fuzz-coverage --config=plain-fuzzer
277276
build:fuzz-coverage --run_under=@envoy//bazel/coverage:fuzz_coverage_wrapper.sh
278-
build:fuzz-coverage --test_tag_filters=-nocoverage,-runtime-cpu
277+
build:fuzz-coverage --test_tag_filters=-nocoverage
279278
# Existing fuzz tests don't need a full WASM runtime and in generally we don't really want to
280279
# fuzz dependencies anyways. On the other hand, disabling WASM reduces the build time and
281280
# resources required to build and run the tests.

.github/workflows/scorecard.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
analysis:
1616
name: Scorecard analysis
1717
runs-on: ubuntu-24.04
18+
if: github.repository == 'envoyproxy/envoy'
1819
permissions:
1920
security-events: write
2021
id-token: write

CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ extensions/upstreams/tcp @ggreenway @mattklein123
274274
/*/extensions/compression/zstd @rainingmaster @mattklein123
275275
# cel
276276
/*/extensions/access_loggers/filters/cel @kyessenov @douglas-reid @adisuissa
277+
# process rate limit
278+
/*/extensions/access_loggers/filters/process_ratelimit @taoxuy @kyessenov
277279
# health check
278280
/*/extensions/filters/http/health_check @mattklein123 @adisuissa
279281
# lua
@@ -366,6 +368,8 @@ extensions/upstreams/tcp @ggreenway @mattklein123
366368
/*/extensions/string_matcher/ @ggreenway @cpakulski
367369
# Header mutation
368370
/*/extensions/filters/http/header_mutation @wbpcode @yanavlasov
371+
# Body transform
372+
/*/extensions/filters/http/transform @wbpcode @UNOWNED
369373
# Health checkers
370374
/*/extensions/health_checkers/grpc @zuercher @botengyao
371375
/*/extensions/health_checkers/http @zuercher @botengyao
@@ -411,6 +415,7 @@ extensions/upstreams/tcp @ggreenway @mattklein123
411415
/*/source/extensions/api_listeners/default_api_listener @UNOWNED @UNOWNED
412416
/*/source/extensions/listener_managers/listener_manager @yanavlasov @ggreenway
413417
/*/source/extensions/listener_managers/validation_listener_manager @adisuissa @ggreenway
418+
/*/source/extensions/matching/common_inputs/transport_socket @agrawroh @kyessenov
414419
/*/source/extensions/config_subscription/ @adisuissa @UNOWNED
415420
/*/source/extensions/config_subscription/grpc @adisuissa @UNOWNED
416421

OWNERS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ routing PRs, questions, etc. to the right place.
5454
* Request mirroring, data plane
5555
* Mike Krinkin ([krinkinmu](https://github.com/krinkinmu)) ([email protected])
5656
* Build, tooling.
57+
* Jonh Wendell ([jwendell](https://github.com/jwendell)) ([email protected])
58+
* CI, Build.
5759

5860
# Envoy mobile maintainers
5961

SECURITY-INSIGHTS.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ project-lifecycle:
2222
- github:adisuissa
2323
- github:agrawroh
2424
- github:botengyao
25+
- github:jwendell
2526
- github:KBaichoo
2627
- github:keith
2728
- github:krinkinmu

WORKSPACE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ load("//bazel:repositories.bzl", "envoy_dependencies")
1616

1717
envoy_dependencies()
1818

19+
load("//bazel:bazel_deps.bzl", "envoy_bazel_dependencies")
20+
21+
envoy_bazel_dependencies()
22+
1923
load("//bazel:repositories_extra.bzl", "envoy_dependencies_extra")
2024

2125
envoy_dependencies_extra()

api/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ proto_library(
132132
"//envoy/data/tap/v3:pkg",
133133
"//envoy/extensions/access_loggers/file/v3:pkg",
134134
"//envoy/extensions/access_loggers/filters/cel/v3:pkg",
135+
"//envoy/extensions/access_loggers/filters/process_ratelimit/v3:pkg",
135136
"//envoy/extensions/access_loggers/fluentd/v3:pkg",
136137
"//envoy/extensions/access_loggers/grpc/v3:pkg",
137138
"//envoy/extensions/access_loggers/open_telemetry/v3:pkg",
@@ -225,6 +226,7 @@ proto_library(
225226
"//envoy/extensions/filters/http/stateful_session/v3:pkg",
226227
"//envoy/extensions/filters/http/tap/v3:pkg",
227228
"//envoy/extensions/filters/http/thrift_to_metadata/v3:pkg",
229+
"//envoy/extensions/filters/http/transform/v3:pkg",
228230
"//envoy/extensions/filters/http/upstream_codec/v3:pkg",
229231
"//envoy/extensions/filters/http/wasm/v3:pkg",
230232
"//envoy/extensions/filters/listener/http_inspector/v3:pkg",

api/bazel/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ load(":repository_locations_utils.bzl", "load_repository_locations_spec")
1212
licenses(["notice"]) # Apache 2
1313

1414
exports_files([
15+
"extensions.bzl",
1516
"repository_locations.bzl",
1617
"repository_locations_utils.bzl",
1718
"utils.bzl",

api/bazel/api_build_system.bzl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
load("@com_envoyproxy_protoc_gen_validate//bazel:pgv_proto_library.bzl", "pgv_cc_proto_library")
22
load("@com_github_grpc_grpc//bazel:cc_grpc_library.bzl", "cc_grpc_library")
33
load("@com_github_grpc_grpc//bazel:python_rules.bzl", _py_proto_library = "py_proto_library")
4+
load("@com_google_protobuf//bazel:java_proto_library.bzl", "java_proto_library")
45
load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library")
56
load("@io_bazel_rules_go//go:def.bzl", "go_test")
67
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
8+
load("@rules_cc//cc:defs.bzl", "cc_test")
79
load(
810
"//bazel:external_proto_deps.bzl",
911
"EXTERNAL_PROTO_CC_BAZEL_DEP_MAP",
@@ -23,6 +25,7 @@ _CC_GRPC_SUFFIX = "_cc_grpc"
2325
_GO_PROTO_SUFFIX = "_go_proto"
2426
_GO_IMPORTPATH_PREFIX = "github.com/envoyproxy/go-control-plane/"
2527
_JAVA_PROTO_SUFFIX = "_java_proto"
28+
_IS_BZLMOD = str(Label("//:invalid")).startswith("@@")
2629

2730
_COMMON_PROTO_DEPS = [
2831
"@com_google_protobuf//:any_proto",
@@ -42,7 +45,8 @@ _COMMON_PROTO_DEPS = [
4245
def _proto_mapping(dep, proto_dep_map, proto_suffix):
4346
mapped = proto_dep_map.get(dep)
4447
if mapped == None:
45-
prefix = "@" + Label(dep).workspace_name if not dep.startswith("//") else ""
48+
prefix = "@@" if _IS_BZLMOD else "@"
49+
prefix = prefix + Label(dep).repo_name if not dep.startswith("//") else ""
4650
return prefix + "//" + Label(dep).package + ":" + Label(dep).name + proto_suffix
4751
return mapped
4852

@@ -112,7 +116,7 @@ def api_cc_py_proto_library(
112116
)
113117

114118
if java:
115-
native.java_proto_library(
119+
java_proto_library(
116120
name = name + _JAVA_PROTO_SUFFIX,
117121
visibility = ["//visibility:public"],
118122
deps = [relative_name],
@@ -126,7 +130,7 @@ def api_cc_py_proto_library(
126130
_api_cc_grpc_library(name = cc_grpc_name, proto = relative_name, deps = cc_proto_deps)
127131

128132
def api_cc_test(name, **kwargs):
129-
native.cc_test(
133+
cc_test(
130134
name = name,
131135
**kwargs
132136
)

api/bazel/cc_proto_descriptor_library/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ cc_library(
3737
"@com_google_absl//absl/strings:str_format",
3838
"@com_google_protobuf//:protobuf",
3939
"@com_google_protobuf//src/google/protobuf/compiler:code_generator",
40-
"@com_google_protobuf//src/google/protobuf/compiler:retention",
4140
],
4241
)
4342

0 commit comments

Comments
 (0)