Skip to content

Pr/tammach/envoy 1.37 upgrade#1715

Draft
sayboras wants to merge 5 commits intomainfrom
pr/tammach/envoy-1.37-upgrade
Draft

Pr/tammach/envoy 1.37 upgrade#1715
sayboras wants to merge 5 commits intomainfrom
pr/tammach/envoy-1.37-upgrade

Conversation

@sayboras
Copy link
Member

No description provided.

@sayboras sayboras force-pushed the pr/tammach/envoy-1.37-upgrade branch 3 times, most recently from a8ebb42 to 643ef5f Compare January 16, 2026 11:48
@sayboras sayboras force-pushed the pr/tammach/envoy-1.37-upgrade branch 3 times, most recently from 94453d5 to 803d2f2 Compare February 14, 2026 01:52
@sayboras sayboras force-pushed the pr/tammach/envoy-1.37-upgrade branch 2 times, most recently from 5b3ebdd to f9c65bc Compare March 1, 2026 11:38
@sayboras sayboras force-pushed the pr/tammach/envoy-1.37-upgrade branch 5 times, most recently from 8daf9f8 to 2e42916 Compare March 13, 2026 23:38
Rebase all 7 custom patches against envoy v1.37.1:
- 0001: Resolve conflict in filter_manager.h (sendGoAwayAndClose
  gained graceful param) and router.cc (code restructured after
  shouldLoadShed block)
- 0003: Resolve conflict in original_dst_cluster.cc (HostImpl::create
  Locality arg changed) and original_dst_cluster.h (lock style change)
- 0006: Merge liburing arm cross-compilation env with upstream's new
  ENABLE_SHARED and clang_build env dict

Update build configuration for v1.37.1 toolchain changes:
- .bazelrc: Use clang-local config (v1.37.1 clang config now uses
  hermetic toolchain), set BAZEL_LLVM_PATH and BAZEL_USE_HOST_SYSROOT
  for local builds with system LLVM
- Makefile: Generate clang.bazelrc with clang-local config
- bazel/setup_clang.sh: Output clang-local config entries

Signed-off-by: Tam Mach <sayboras@yahoo.com>
The envoy v1.37.1 repo.bzl uses @yq (from aspect_bazel_lib) to parse
CI config during repository evaluation. In WORKSPACE mode
(noenable_bzlmod), the @yq hub repo creates a symlink to the
platform-specific binary, but Bazel's sandbox prevents resolving
cross-repo symlinks in repository_ctx.execute().

Add patch 0008 to make the yq call non-fatal: when yq is unavailable,
fall back to placeholder container image values. This only affects RBE
container references which are not needed for local or Docker builds.

Signed-off-by: Tam Mach <sayboras@yahoo.com>
…tion

Pre-declare org_golang_x_text go_repository BEFORE envoy_dependency_imports()
so it's included in Gazelle's go_repository_config (created by
gazelle_dependencies() inside envoy_dependency_imports). Without this,
Gazelle's BUILD file generation for com_github_spf13_afero can't resolve
imports of golang.org/x/text/* packages, causing "missing strict
dependencies" errors during Go compilation.

Signed-off-by: Tam Mach <sayboras@yahoo.com>
Signed-off-by: Tam Mach <sayboras@yahoo.com>
@sayboras sayboras force-pushed the pr/tammach/envoy-1.37-upgrade branch from 2e42916 to 2a88736 Compare March 14, 2026 15:46
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.

1 participant