You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
proxy: bump Envoy to v1.40.0 to pick up envoy#45674 (hot-restart stat tags) and retire the aether_stats stats_tags regex workaround; envoy#45975 already in v1.39.0, leave envoy#45976 unset #695
proxy/bazel/envoy/repository.bzl pins Envoy v1.39.0 (8eea3285, 2026-07-14). Three upstream fixes by @bpalermo are relevant to aether; one is already in the pin, two are not and arrive with v1.40.0:
The stale-netns SIGSEGV class (missed CNI DEL → Envoy crash, #245 era) is already a graceful LocalConnectionFailure on the deployed proxy. Worth a note in the ghost-sweep docs: the sweep still matters for correctness, but a stale registration no longer crashes the node proxy.
This is the real fix for the aether_stats hot-restart tag loss.charts/aether/templates/agent-proxy-configmap.yaml carries seven stats_tags regexes (reporter, source_service, source_pod, destination_service, …) purely to re-derive the programmatic tags the StatMerger drops; guarded by aether_stats:tag_extraction_test. With the fix (runtime flag envoy.reloadable_features.hot_restart_propagate_stat_tags, default on) those regexes become redundant, and — the important part — a new programmatic tag key added to aether_stats.cc stops silently losing its labels after the first hot restart.
BindConfig.validate_network_namespaces. Do not enable by default: the PR's own rationale is that a namespace may legitimately not exist at config load, and the node proxy's per-pod netns binds are exactly that case (pods come and go between pushes). Possibly useful in the e2e/kind harness as a fail-fast; not for production.
Plan for the v1.40.0 bump (one PR in proxy/, then a chart PR)
proxy/: ENVOY_SHA/ENVOY_SHA256 → the v1.40.0 tag per the recipe in repository.bzl; re-check .bazelversion / envoy.bazelrc; rebuild via the proxy-release workflow; --mode validate test and the symtab guard (test(proxy): guard the shipped Envoy's symbol table, correct the "stripped" docs #656) as usual; re-upload symbols happen via the debuginfo CronJob automatically.
Confirm hot_restart_propagate_stat_tags is on by default in that release (or set it in the bootstrap runtime layer).
Validate on talos-main: force a proxy hot restart (a proxy DaemonSet roll) and assert aether_requests_total{reporter,source_service,…} labels are intact on the merged counters — the historical symptom was the tag values collapsing into the metric name with empty labels.
Chart PR: delete the six programmatic-tag stats_tags regexes (keep aether.cluster and aether.pod, which are genuine regex-extracted tags), bump Chart.yaml, update tag_extraction_test to guard the new invariant (labels survive a merge without regexes) instead of the regex path.
Leave #45976 unset.
Not urgent — the regexes work — but the bump should not land without step 4, or the workaround will outlive its reason indefinitely.
Refs: memory of the original symptom (talos-main epoch 53), aether#011 (native stats filter), aether#656.
Blocked on #697.envoyproxy/envoy#42890 (2026-09-04) made Envoy bzlmod-only and removed six of the ten @envoy//bazel:*.bzl WORKSPACE macros proxy/WORKSPACE loads, plus bazel/extension_config/. The v1.40.0 bump is therefore a bzlmod migration of proxy/ first, then a pin change. Plan and shape in #697.
Update: the bzlmod migration (#697) now has a first-party template (envoyproxy/examples/filter-cc, 2026-09-04), and the envoyproxy bazel-registry consumes Envoy as a module whose only published version is the rolling 1.40.0-dev.<date>.<sha>.envoy snapshot. That snapshot already contains envoy#45674 (this issue's payoff) and #45976. So there is a choice: (a) migrate and stay on v1.39.0 in production until a 1.40.0.envoy module exists (~mid-Oct), or (b) migrate onto the dev snapshot and take the stat-tag fix ~6 weeks early at the cost of running an Envoy main snapshot. The migration work is the same either way; (a) is the conservative default.
Step 4 done and validated — labels survive a hot restart with NO regexes (rev198, chart 0.92.3, 2026-09-05 19:38Z)
#707 removed the six programmatic-tag stats_tags regexes (kept aether.cluster, aether.pod); the packaged ConfigMap has exactly 2 tag_name entries. Deployed as helm rev198, then kubectl rollout restart ds/aether-proxy to force a hot restart on every node with the regex-free bootstrap (T_ROLL 19:38:17Z → converged 19:40:32Z).
series whose NAME contains the tag keys (the pre-fix collapse)
0
freshest sample per node after T_ROLL
152–156s, i.e. exported by the post-restart generation on all five nodes
prober across the roll
liveness 0/4,492; mesh_dns http_error 0, timeout 0, connection_error 5 (forwarded path, during a double restart on one node)
So envoy#45674 does in production what #707's TagsSurviveHotRestartWithoutRegexes pins in the test (including the dynamic-span round-trip the test had to add — upstream's own test doesn't cover it).
Separate, pre-existing observation, not caused by this change: counter VALUES do not carry across the cross-pod hot restart — sum(aether_requests_total) fell 1,063,305 → 17,073 at the 19:09Z roll (regexes present) and 233,133 → 6,416 at this one. Filed separately.
Remaining on this issue: re-pin envoy/envoy_api to 1.40.0.envoy when the registry publishes it, and bump the root @envoy_binary_linux_* (v1.39.0) so --mode validate stops trailing the proxy. envoy#45976 stays unset.
Not done, deliberately: re-pinning to the 1.40.0.envoy release module. Whether the proxy runs the release tag or a main snapshot is not what matters; what matters is that the root //test/envoy_validate gate runs the same Envoy as the proxy, and today it does not (stock v1.39.0 release binary vs a 1.40.0-dev custom build). That misalignment is tracked in the follow-up issue linked below.
Activity
bpalermo commentedon Sep 5, 2026
Blocked on #697. envoyproxy/envoy#42890 (2026-09-04) made Envoy bzlmod-only and removed six of the ten
@envoy//bazel:*.bzlWORKSPACE macrosproxy/WORKSPACEloads, plusbazel/extension_config/. The v1.40.0 bump is therefore a bzlmod migration ofproxy/first, then a pin change. Plan and shape in #697.bpalermo commentedon Sep 5, 2026
Update: the bzlmod migration (#697) now has a first-party template (
envoyproxy/examples/filter-cc, 2026-09-04), and the envoyproxy bazel-registry consumes Envoy as a module whose only published version is the rolling1.40.0-dev.<date>.<sha>.envoysnapshot. That snapshot already contains envoy#45674 (this issue's payoff) and #45976. So there is a choice: (a) migrate and stay on v1.39.0 in production until a1.40.0.envoymodule exists (~mid-Oct), or (b) migrate onto the dev snapshot and take the stat-tag fix ~6 weeks early at the cost of running an Envoymainsnapshot. The migration work is the same either way; (a) is the conservative default.chore(charts): retire the aether_stats stats_tags regex workaround (#695
chore: retire the aether_stats stats_tags regex workaround (#695 step…
bpalermo commentedon Sep 5, 2026
Step 4 done and validated — labels survive a hot restart with NO regexes (rev198, chart 0.92.3, 2026-09-05 19:38Z)
#707 removed the six programmatic-tag
stats_tagsregexes (keptaether.cluster,aether.pod); the packaged ConfigMap has exactly 2tag_nameentries. Deployed as helm rev198, thenkubectl rollout restart ds/aether-proxyto force a hot restart on every node with the regex-free bootstrap (T_ROLL 19:38:17Z → converged 19:40:32Z).count(aether_requests_total)count(aether_requests_total{reporter!="",source_service!="",destination_service!="",response_code!=""})So envoy#45674 does in production what #707's
TagsSurviveHotRestartWithoutRegexespins in the test (including the dynamic-span round-trip the test had to add — upstream's own test doesn't cover it).Separate, pre-existing observation, not caused by this change: counter VALUES do not carry across the cross-pod hot restart —
sum(aether_requests_total)fell 1,063,305 → 17,073 at the 19:09Z roll (regexes present) and 233,133 → 6,416 at this one. Filed separately.Remaining on this issue: re-pin
envoy/envoy_apito1.40.0.envoywhen the registry publishes it, and bump the root@envoy_binary_linux_*(v1.39.0) so--mode validatestops trailing the proxy. envoy#45976 stays unset.bpalermo commentedon Sep 5, 2026
Closing: the payoff this issue was opened for is in production and validated.
1.40.0-dev.20260904.13144fb.envoyvia proxy: migrate to bzlmod on the Envoy main dev snapshot (#697) #705, rev197).stats_tagsregexes are gone (chore: retire the aether_stats stats_tags regex workaround (#695 step 4) #707, rev198); all 25aether_requests_totalseries kept full labels through a forced regex-free hot restart on every node (comment above).Not done, deliberately: re-pinning to the
1.40.0.envoyrelease module. Whether the proxy runs the release tag or a main snapshot is not what matters; what matters is that the root//test/envoy_validategate runs the same Envoy as the proxy, and today it does not (stock v1.39.0 release binary vs a 1.40.0-dev custom build). That misalignment is tracked in the follow-up issue linked below.bpalermo commentedon Sep 5, 2026
Follow-up for the validate-binary misalignment: #709.