Repository navigation
chore(proxy): the Envoy pin moves to 1.40.0-dev.20261009.189f198 and the two carried patches it contains are dropped (#980) - #1643
Merged
Conversation
…the two carried patches it contains are dropped (#980) The pin is one fact in three places and moves as one: envoy and envoy_api (proxy/MODULE.bazel) and the envoyproxy/bazel-registry commit (proxy/.bazelrc, 5db29c09de17218d24f58c665be38208284754d8), written by scripts/bump-envoy-pin.sh. rules_python follows what the envoy module requests (2.2.0 -> 2.3.3). The lockfile is refreshed. Dropped, because Envoy 189f198 contains them: - envoy-47743-udp-hot-restart-forwarding-netns (envoyproxy/envoy#47743, a644fc670e): the carried hunks reverse-apply cleanly to the snapshot. - envoy-aether1022-exec-in-netns-thread-self (envoyproxy/envoy#47776, 7d6ca3273c): the snapshot opens /proc/thread-self/ns/net. The carried fallback for kernels older than 3.17 and its per-thread model test go with it. Kept, in the same order: - 47740 (still open upstream): unchanged content, hunk positions refreshed. - aether1050: replaced by the diff of its upstream pull request, envoyproxy/envoy#47834 at 72408727eb, docs and changelog dropped. Same source as before plus three counters, server.hot_restart_udp_forwarding_{datagrams,retries,dropped}; the test hunks no longer carry the 47743 test changes. - aether1054: rebased over envoyproxy/envoy#47991, which rewrote ConnectionManagerImpl::onDrain() to drain idle connections proactively in the last third of the drain time. That arms nothing when the drain time leaves no room after the drain timeout (the chart's 10s with the default 5s), so the carried idle HTTP/3 drain stays, armed beside it from armIdleHttp3DrainTimer(). Upstream's ProactiveDrain* tests notify the drain before a codec exists and turn the carried timer off; the carried gradual case now asserts both timers. - aether1054b, aether1054c, aether1074, aether1126: unchanged content. proxy/.bazelrc: envoyproxy/envoy#47806 removed the --@envoy//bazel:libc++ flag and the force_libcpp define, so both leave the libc++ config; nothing else upstream removed from its own .bazelrc is required to go, and the rest is kept as built before. Refs #980 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
added a commit
that referenced
this pull request
Oct 10, 2026
…cts in the runbook, AGENTS.md, CLAUDE.md, README and the configuration reference are corrected (#1653) Proposal statuses (the website's proposals index is generated from them): - 042: Implemented; the harness is maintained outside this repository. The three passages that left the soak's mesh_dns timeouts "under investigation" now state the outcome (CPU saturation on one node, #1320). - 036: Implemented; phase 1 is the only phase in this repository. Phases 0, 2 and 3 are platform configuration. - 037: Implemented for Phases 0-3, Phase 4 pending (the any-port shim is still emitted); one Phase 3 item that was not built is named. - 040: the status line is re-wrapped so the index no longer cuts it at a continuation line that began with '#'. Doc drift: - runbook: the aether1022 Envoy patch is no longer carried (#1643); the inbound-readiness WARN sample shows the fields and the cluster name the agent logs since #1634; the agent-roll section no longer says a caller retries "a 503" (#1641). - AGENTS.md, configuration reference: no literal module count for the proxy-supervisor; AGENTS.md gains uds-csi, agent-ready and the two missing proto packages. - CLAUDE.md, README: load-all and push-all cover six images, uds-csi included. - devcontainer comment: DynamoDB Local left in #760. Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #980. Two of the carried Envoy patches are dropped; seven stay (list below), so the issue stays open.
Written by an agent (Claude Code).
The pin
envoy,envoy_api(proxy/MODULE.bazel)1.40.0-dev.20260926.726d7ac.envoy1.40.0-dev.20261009.189f198.envoyproxy/.bazelrc)263a259ec7498fe90ad0308edd3592992243560e5db29c09de17218d24f58c665be38208284754d8source.json)726d7acb73934085cbbccc83ea47fdd78b583d7e189f1988cff19241b038d0075e8ba29ba7eb0984rules_pythonenvoymodule requests; MVS selected it anyway).envoysiblings (protobuf,proxy-wasm-cpp-host,rules_rust,toolchains_llvm)envoymodule at the same versionsMoved with
scripts/bump-envoy-pin.sh --write latest. The registry commit is the registry'smainHEAD, the commit that added the snapshot; a walk of everybazel_depfrommodules/envoyandmodules/envoy_apiat that commit finds a directory for every.envoy-suffixed version (68 modules, no miss). 221 upstream commits lie between the two Envoy commits.Carried patches
Evidence is from the Envoy history (
git merge-base --is-ancestor <merge> 189f198) and from applying each patch, inMODULE.bazelorder, to the 189f198 tree.47743-udp-hot-restart-forwarding-netnsa644fc670e(2026-09-30), an ancestor of 189f198aether1022-exec-in-netns-thread-self7d6ca3273c(2026-09-30), an ancestorutility.hopens/proc/thread-self/ns/net. Not byte-identical: the carried patch also fell back to/proc/self/task/<tid>/ns/neton kernels older than 3.17 and carried a per-thread model test47740-quic-hostname-check-explicit-sanaether1050-hotrestart-nonblocking-forward72408727eb(docs and changelog dropped). Against the carried source the only difference is three counters,server.hot_restart_udp_forwarding_{datagrams,retries,dropped}; the test hunks no longer bring the 47743 test changesaether1054-hotrestart-terminate-wait-h3-goawayaether1054b-quic-time-wait-before-forwardaether1054c-paused-udp-listener-no-readaether1074-quic-persistent-info-lifetimeaether1126-forwarded-udp-worker-indexArriving with the snapshot without ever being carried: envoyproxy/envoy#47492 (
9018c8cee8, a hot-restart successor inherits its listen sockets before entering the network namespace) and #47737 (3e87b117bf).envoyproxy/envoy#47740 is not upstream, so the SPIRE
dnsNameTemplatesprerequisite text is unchanged (the issue's step 2).The one real rebase: aether1054 and upstream's proactive drain
envoyproxy/envoy#47991 (2026-10-05, in the snapshot) rewrote
ConnectionManagerImpl::onDrain(): the connection manager now drains connections that sent no response on its own, at a random point in[2/3 * drain time, drain time - drain timeout]. That overlaps the second half of the carried patch (idle HTTP/3 connections start their own drain sequence inside the drain window), but does not replace it:Network::proactiveDrainDelay()returns zero when the window is empty, and at the chart'sproxy.hotRestart.drainTime: 10swith the default 5s drain timeout it is (6.67s >= 5s). So the carried behaviour is kept exactly as it was, moved intoarmIdleHttp3DrainTimer()and armed after upstream's timer; whichever fires first starts the drain sequence.In the patch's test hunks: upstream's seven
ProactiveDrain*/ResponseDrainKeepsUpgradedStreamHttp2/NoProactiveDrainForConnectionAcceptedLatecases notify the drain before the connection has a codec, where the carried timer is armed too, so they setenvoy.reloadable_features.http3_drain_idle_connectionsto false (they are about the proactive timer alone); the carriedHttp3IdleConnectionDrainsInsideGradualDrainWindownow asserts both timers and that the proactive one finds the connection draining. Seen red first: without the guard, six of those upstream cases failed on an unexpectedcreateTimer_call.Whether that second half can be retired in favour of upstream's mechanism (it would need a longer drain time) is a decision for a maintainer, not for a pin bump.
proxy/.bazelrcagainst upstream'senvoyproxy/envoy#47806 ("bazel/rc: Rationalize flags") removed
--config=clangfrom Envoy's own.bazelrc.common:libc++ --@envoy//bazel:libc++=trueandcommon:libc++ --define force_libcpp=enabled(the standard library is derived from the compiler now).clang/clang-common/libc++configs and--host_platform=@clang_platform, the Java 11 lines and--extra_toolchains=@envoy//bazel:envoy_java_toolchain_definition(the filter-cc template still sets them),-std=c++20(the toolchain's default since before this pin),--define envoy_mobile_listener=enabled,-fsized-deallocation,prefer_prebuilt_protoc(the template and upstream'sbazel/tests/externalstill set it).--per_file_copt=external/<module>…), and--incompatible_default_to_explicit_init_py, which upstream has long set and this workspace never did.rules_python2.3.3 now prints a deprecation warning about it for one Envoy tool target.Upstream changes between the two commits that touch what aether uses
hot_restarting_{child,parent}_test(carried targets, which now also run upstream's own cases). Not covered by a test here: the kind check the issue asks for (delete a pod's netns pin, hot-restart, successor keeps the listener)drainTime: 10severy response on a draining connection carries the drain decision from 5s on (was a ramp over the full 10s); idle connections of other protocols are not drained proactively at these timingsconn_manager_impl_test(carried target). Not covered: the effect on a live hot restartquic:twins and on-demand capture clusters//agent/test/mtlspool(TestOnDemandQUIC*), run here against the built proxytcp_proxy_odcds_over_ads_fixguard is gonetcp_proxyon-demand CDS over ADS has no dedicated test herehttp.<prefix>.scope instead of a prefix string (names and tags stated unchanged; guarduse_stats_prefix_scope_for_http_filter)aether_statscreates its stats incontext.scope()and ignores the prefixaether_stats_test,aether_stats_integration_test,tag_extraction_test;//agent/test/envoy_validatestats cases against the built proxy. Not covered: a/statsdiff of a running proxyudp_proxyupstream sockets honourupstream_bind_configTestCaptureUDP*validate the config only; no UDP data-path test heretrusted_cais always treated as a set of certificates//agent/test/mtlspoolhandshakes against the built proxy0.0.0-261006-9e60ac2.envoynow (the lockfile); the only QUIC source changes in Envoy are #47743 and #47472//agent/test/mtlspoolQUIC cases against the built proxyenvoy.http.ai_filters.schema_validation,envoy.http.ai_filters.transcoder. New and dropped by the existingdynamic_modulerule: two morebazel test //...links//:envoyRuntime guards aether sets (
hot_restart_propagate_stat_tags,quic_hostname_check_deferred_to_explicit_san_match) both still exist.What ran (amd64, the compile on RBE with the release config)
In
proxy/:bazel mod graph --depth=1 --lockfile_mode=update;bazel mod show_repo --base_module=envoy @envoy_build_configprints the localbazel/build_config;bazel mod explain quiche protobuf abseil-cpp. The lockfile is unchanged after the builds below.bazel test //bazel/patches:carried_patch_tests: 6 of 6 pass (conn_manager_impl_test,udp_listener_impl_test,hot_restart_impl_test,hot_restarting_{base,child,parent}_test).bazel test //...: 12 of 12 pass (those six,//:image_test,//integration:{build_id,symtab}_test, the threeaether_statstests). This is the full Envoy build.bazel aquery 'mnemonic("CppLink", //:envoy)': the last--build-idon the link line issha1.In the root workspace:
agent/test/envoy_validate/validate-built-proxy.sh <built envoy>(the gateproxy.ymlruns): pass.//agent/test/...(envoyargs,envoy_validate,mtlspool) with the same override, so against the built proxy: 3 of 3 pass. Not a CI gate; it is the earliest look at what the chart pin PR will run.//agent/test/...unmodified, against the chart-pinned released proxy: 3 of 3 pass (served from cache: nothing they depend on changes here).scripts/check-envoy-pin.sh --online,--self-test(27/27),scripts/check-envoy-api-parity.sh(bindings v1.39, proxy 1.40-dev: aligned),scripts/lint-proxy.sh,scripts/check-registry-config.sh,make format-check.Not run: the arm64 leg (it needs an arm64 driver;
proxy.ymlruns it), the three patch tests that only build in the Envoy workspace (envoy_quic_dispatcher_test, http3conn_pool_test, thequic_http_integration_testcase; unchanged content), any kind or cluster run.The root workspace does not move here
//agent/test/envoybintakes the Envoy it runs from the published proxy image at the digestcharts/aether/values.yamlpins (//bazel/proxy_pin), so nothing in the root workspace is re-pinned in this pull request (proxy/README.md, "Envoy version bumps"). No chart file changes, so no chart version bump.What merging does
proxy-release.ymlbuilds and pushes the proxy image for both arches, tagged with the merge commit, and opens the chart pin pull request that movesproxy.imageincharts/aether/values.yaml. Only that second pull request changes what a cluster runs and what the root tests run against. An operator on the new image sees: labelsdev.aethermesh.envoy.revision=189f198and the new registry commit; three new countersserver.hot_restart_udp_forwarding_*; the earlier drain ramp described above.🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr