Skip to content

gcc/ci: Quieten logging - #48631

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
phlax:gcc-quiet
Oct 26, 2026
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
phlax:gcc-quiet

Conversation

@phlax

@phlax phlax commented Oct 23, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No blocking correctness issues were identified; the remaining test-coverage suggestion is minor.

1 open issue
What changed in this PR

This PR reduces GCC build noise and makes embedded descriptor parse failures explicit in Envoy’s protobuf transcoder.

Changes:

  • Suppresses selected GCC warnings in Abseil, CEL, and generated protobuf sources.
  • Adds fatal logging when an embedded descriptor cannot be parsed.
  • Declares the required Abseil logging dependency.
File Description
api/​bazel/​cc_proto_descriptor_library/​text_format_transcoder.cc Checks descriptor parsing and logs failures with the filename.
api/​bazel/​cc_proto_descriptor_library/​BUILD Adds the Abseil logging dependency.
.bazelrc Adds GCC-specific warning suppressions.

Review effort: Balanced

Comment on lines +69 to +71
if (!file_descriptor_proto.ParseFromString(file_descriptor_bytes)) {
ABSL_LOG(FATAL) << "Failed to parse embedded file descriptor for: "
<< file_descriptor_info.file_name;
@phlax
phlax force-pushed the gcc-quiet branch 3 times, most recently from 770b10d to 93619b6 Compare October 23, 2026 18:38
@phlax phlax changed the title gcc/ci: Quieten logging [WIP] gcc/ci: Quieten logging Oct 23, 2026
@phlax
phlax marked this pull request as draft October 23, 2026 18:49
@phlax phlax changed the title [WIP] gcc/ci: Quieten logging gcc/ci: Quieten logging Oct 24, 2026
@phlax
phlax marked this pull request as ready for review October 24, 2026 22:19
@phlax
phlax force-pushed the gcc-quiet branch 4 times, most recently from 08735a4 to c95b373 Compare October 25, 2026 16:03
Signed-off-by: Ryan Northey <[email protected]>
@phlax
phlax merged commit 1774d73 into envoyproxy:main Oct 26, 2026
32 checks passed
phlax added a commit to phlax/envoy that referenced this pull request Nov 9, 2026
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 11, 2026
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 12, 2026
Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `antlr4_runtimes`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `antlr4_runtimes`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `antlr4_runtimes`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `com_google_absl`, `antlr4-cpp-runtime`, `com_google_cel_cpp`,
`com_google_protoprocessinglib`, `com_github_google_tcmalloc`,
`com_github_datadog_dd_trace_cpp`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `antlr4_runtimes`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `com_google_absl`, `antlr4-cpp-runtime`, `com_google_cel_cpp`,
`com_google_protoprocessinglib`, `com_github_google_tcmalloc`,
`com_github_datadog_dd_trace_cpp`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `com_google_absl`, `antlr4-cpp-runtime`, `com_google_cel_cpp`,
`com_google_protoprocessinglib`, `com_github_google_tcmalloc`,
`com_github_datadog_dd_trace_cpp`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `com_google_absl`, `antlr4-cpp-runtime`, `com_google_cel_cpp`,
`com_google_protoprocessinglib`, `com_github_google_tcmalloc`,
`com_github_datadog_dd_trace_cpp`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `com_google_absl`, `antlr4-cpp-runtime`, `com_google_cel_cpp`,
`com_google_protoprocessinglib`, `com_github_google_tcmalloc`,
`com_github_datadog_dd_trace_cpp`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `com_google_absl`, `antlr4-cpp-runtime`, `com_google_cel_cpp`,
`com_google_protoprocessinglib`, `com_github_google_tcmalloc`,
`com_github_datadog_dd_trace_cpp`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `com_google_absl`, `antlr4-cpp-runtime`, `com_google_cel_cpp`,
`com_google_protoprocessinglib`, `com_github_google_tcmalloc`,
`com_github_datadog_dd_trace_cpp`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `antlr4_runtimes`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `antlr4_runtimes`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
The CI logs of this branch are mostly the warnings of a few external
dependencies, each repeated with its context for every file, and again as
annotations:

- V8, which this branch builds from source, redefines the ASAN
  interface's macros in every file that includes its heap: ~1400
  `-Wmacro-redefined` warnings with their include chains, which is ~30k
  of the ASAN job's ~36k lines;
- proto-processing ignores `nodiscard` results (~60 `-Wunused-result`
  warnings in every job that compiles it);
- a handful each from grpc, protobuf (also when built for the host),
  simdutf, c-ares, libprotobuf-mutator and sql-parser.

`main` and `release/v1.40` do not have these: the dependencies are fixed
or patched as modules there, and V8 is prebuilt (envoyproxy#48631 and envoyproxy#48838 are
their equivalents for what is left). Here they are suppressed for the
files of those repositories only, with this branch's (WORKSPACE)
repository names.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `antlr4_runtimes`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
The CI logs of this branch are mostly the warnings of a few external
dependencies, each repeated with its context for every file, and again as
annotations:

- V8, which this branch builds from source, redefines the ASAN
  interface's macros in every file that includes its heap: ~1400
  `-Wmacro-redefined` warnings with their include chains, which is ~30k
  of the ASAN job's ~36k lines;
- proto-processing ignores `nodiscard` results (~60 `-Wunused-result`
  warnings in every job that compiles it);
- a handful each from grpc, protobuf (also when built for the host),
  simdutf, c-ares, libprotobuf-mutator and sql-parser.

`main` and `release/v1.40` do not have these: the dependencies are fixed
or patched as modules there, and V8 is prebuilt (envoyproxy#48631 and envoyproxy#48838 are
their equivalents for what is left). Here they are suppressed for the
files of those repositories only, with this branch's (WORKSPACE)
repository names.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `antlr4_runtimes`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
The CI logs of this branch are mostly the warnings of a few external
dependencies, each repeated with its context for every file, and again as
annotations:

- V8, which this branch builds from source, redefines the ASAN
  interface's macros in every file that includes its heap: ~1400
  `-Wmacro-redefined` warnings with their include chains, which is ~30k
  of the ASAN job's ~36k lines;
- proto-processing ignores `nodiscard` results (~60 `-Wunused-result`
  warnings in every job that compiles it);
- a handful each from grpc, protobuf (also when built for the host),
  simdutf, c-ares, libprotobuf-mutator and sql-parser.

`main` and `release/v1.40` do not have these: the dependencies are fixed
or patched as modules there, and V8 is prebuilt (envoyproxy#48631 and envoyproxy#48838 are
their equivalents for what is left). Here they are suppressed for the
files of those repositories only, with this branch's (WORKSPACE)
repository names.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
The CI logs of this branch are mostly the warnings of a few external
dependencies, each repeated with its context for every file, and again as
annotations:

- V8, which this branch builds from source, redefines the ASAN
  interface's macros in every file that includes its heap: ~1400
  `-Wmacro-redefined` warnings with their include chains, which is ~30k
  of the ASAN job's ~36k lines;
- proto-processing ignores `nodiscard` results (~60 `-Wunused-result`
  warnings in every job that compiles it);
- a handful each from grpc, protobuf (also when built for the host),
  simdutf, c-ares, libprotobuf-mutator and sql-parser.

`main` and `release/v1.40` do not have these: the dependencies are fixed
or patched as modules there, and V8 is prebuilt (envoyproxy#48631 and envoyproxy#48838 are
their equivalents for what is left). Here they are suppressed for the
files of those repositories only, with this branch's (WORKSPACE)
repository names.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `com_google_absl`, `antlr4-cpp-runtime`, `com_google_cel_cpp`,
`com_google_protoprocessinglib`, `com_github_google_tcmalloc`,
`com_github_datadog_dd_trace_cpp`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
The CI logs of this branch are mostly the warnings of a few external
dependencies, each repeated with its context for every file, and again as
annotations:

- V8, which this branch builds from source, redefines the ASAN
  interface's macros in every file that includes its heap: ~1400
  `-Wmacro-redefined` warnings with their include chains, which is ~30k
  of the ASAN job's ~36k lines;
- proto-processing ignores `nodiscard` results (~60 `-Wunused-result`
  warnings in every job that compiles it);
- a handful each from grpc, protobuf (also when built for the host),
  simdutf, c-ares, libprotobuf-mutator and sql-parser.

`main` and `release/v1.40` do not have these: the dependencies are fixed
or patched as modules there, and V8 is prebuilt (envoyproxy#48631 and envoyproxy#48838 are
their equivalents for what is left). Here they are suppressed for the
files of those repositories only, with this branch's (WORKSPACE)
repository names.

Backport note (release/v1.37): as on `release/v1.38`, with this branch's repository names
(`com_github_cares_cares`, `com_github_google_libprotobuf_mutator`,
`com_google_protoprocessinglib`, `com_github_envoyproxy_sqlparser`). The warnings were counted
on `release/v1.39`, not again here.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
The CI logs of this branch are mostly the warnings of a few external
dependencies, each repeated with its context for every file, and again as
annotations:

- V8, which this branch builds from source, redefines the ASAN
  interface's macros in every file that includes its heap: ~1400
  `-Wmacro-redefined` warnings with their include chains, which is ~30k
  of the ASAN job's ~36k lines;
- proto-processing ignores `nodiscard` results (~60 `-Wunused-result`
  warnings in every job that compiles it);
- a handful each from grpc, protobuf (also when built for the host),
  simdutf, c-ares, libprotobuf-mutator and sql-parser.

`main` and `release/v1.40` do not have these: the dependencies are fixed
or patched as modules there, and V8 is prebuilt (envoyproxy#48631 and envoyproxy#48838 are
their equivalents for what is left). Here they are suppressed for the
files of those repositories only, with this branch's (WORKSPACE)
repository names.

Backport note (release/v1.37): as on `release/v1.38`, with this branch's repository names
(`com_github_cares_cares`, `com_github_google_libprotobuf_mutator`,
`com_google_protoprocessinglib`, `com_github_envoyproxy_sqlparser`). The warnings were counted
on `release/v1.39`, not again here.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
The CI logs of this branch are mostly the warnings of a few external
dependencies, each repeated with its context for every file, and again as
annotations:

- V8, which this branch builds from source, redefines the ASAN
  interface's macros in every file that includes its heap: ~1400
  `-Wmacro-redefined` warnings with their include chains, which is ~30k
  of the ASAN job's ~36k lines;
- proto-processing ignores `nodiscard` results (~60 `-Wunused-result`
  warnings in every job that compiles it);
- a handful each from grpc, protobuf (also when built for the host),
  simdutf, c-ares, libprotobuf-mutator and sql-parser.

`main` and `release/v1.40` do not have these: the dependencies are fixed
or patched as modules there, and V8 is prebuilt (envoyproxy#48631 and envoyproxy#48838 are
their equivalents for what is left). Here they are suppressed for the
files of those repositories only, with this branch's (WORKSPACE)
repository names.

Backport note (release/v1.37): as on `release/v1.38`, with this branch's repository names
(`com_github_cares_cares`, `com_github_google_libprotobuf_mutator`,
`com_google_protoprocessinglib`, `com_github_envoyproxy_sqlparser`). The warnings were counted
on `release/v1.39`, not again here.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 17, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `antlr4_runtimes`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
The CI logs of this branch are mostly the warnings of a few external
dependencies, each repeated with its context for every file, and again as
annotations:

- V8, which this branch builds from source, redefines the ASAN
  interface's macros in every file that includes its heap: ~1400
  `-Wmacro-redefined` warnings with their include chains, which is ~30k
  of the ASAN job's ~36k lines;
- proto-processing ignores `nodiscard` results (~60 `-Wunused-result`
  warnings in every job that compiles it);
- a handful each from grpc, protobuf (also when built for the host),
  simdutf, c-ares, libprotobuf-mutator and sql-parser.

`main` and `release/v1.40` do not have these: the dependencies are fixed
or patched as modules there, and V8 is prebuilt (envoyproxy#48631 and envoyproxy#48838 are
their equivalents for what is left). Here they are suppressed for the
files of those repositories only, with this branch's (WORKSPACE)
repository names.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
The CI logs of this branch are mostly the warnings of a few external
dependencies, each repeated with its context for every file, and again as
annotations:

- V8, which this branch builds from source, redefines the ASAN
  interface's macros in every file that includes its heap: ~1400
  `-Wmacro-redefined` warnings with their include chains, which is ~30k
  of the ASAN job's ~36k lines;
- proto-processing ignores `nodiscard` results (~60 `-Wunused-result`
  warnings in every job that compiles it);
- a handful each from grpc, protobuf (also when built for the host),
  simdutf, c-ares, libprotobuf-mutator and sql-parser.

`main` and `release/v1.40` do not have these: the dependencies are fixed
or patched as modules there, and V8 is prebuilt (envoyproxy#48631 and envoyproxy#48838 are
their equivalents for what is left). Here they are suppressed for the
files of those repositories only, with this branch's (WORKSPACE)
repository names.

Backport note (release/v1.37): as on `release/v1.38`, with this branch's repository names
(`com_github_cares_cares`, `com_github_google_libprotobuf_mutator`,
`com_google_protoprocessinglib`, `com_github_envoyproxy_sqlparser`). The warnings were counted
on `release/v1.39`, not again here.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 18, 2026
Signed-off-by: Ryan Northey <[email protected]>
Backport note: the `external/` patterns use this branch's (WORKSPACE) repository
names (`com_google_protobuf`, `com_github_grpc_grpc`,
`grpc_httpjson_transcoding`, `com_google_absl`, `antlr4-cpp-runtime`, `com_google_cel_cpp`,
`com_google_protoprocessinglib`, `com_github_google_tcmalloc`,
`com_github_datadog_dd_trace_cpp`), and dd-trace-cpp is quietened too:
this branch's GCC (the build image's) warns in it at `-c opt`, which `main's`
hermetic GCC does not.

(cherry picked from commit 1774d73)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 18, 2026
The CI logs of this branch are mostly the warnings of a few external
dependencies, each repeated with its context for every file, and again as
annotations:

- V8, which this branch builds from source, redefines the ASAN
  interface's macros in every file that includes its heap: ~1400
  `-Wmacro-redefined` warnings with their include chains, which is ~30k
  of the ASAN job's ~36k lines;
- proto-processing ignores `nodiscard` results (~60 `-Wunused-result`
  warnings in every job that compiles it);
- a handful each from grpc, protobuf (also when built for the host),
  simdutf, c-ares, libprotobuf-mutator and sql-parser.

`main` and `release/v1.40` do not have these: the dependencies are fixed
or patched as modules there, and V8 is prebuilt (envoyproxy#48631 and envoyproxy#48838 are
their equivalents for what is left). Here they are suppressed for the
files of those repositories only, with this branch's (WORKSPACE)
repository names.

Backport note (release/v1.37): as on `release/v1.38`, with this branch's repository names
(`com_github_cares_cares`, `com_github_google_libprotobuf_mutator`,
`com_google_protoprocessinglib`, `com_github_envoyproxy_sqlparser`). The warnings were counted
on `release/v1.39`, not again here.

Signed-off-by: Ryan Northey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants