Skip to content

proxy: drop the carried Envoy patches (#47743, #47740) and the SPIRE DNS-SAN prerequisite once a plain pin contains them #980

Open

Description

@bpalermo

Successor to #957 and #967 (both closed). proxy/MODULE.bazel carries two upstream fixes as single_version_override(patches) on the 1.40.0-dev.20260926.726d7ac pin:

When both are merged upstream and the proxy pin moves to a snapshot that contains them:

  1. remove both entries from proxy/MODULE.bazel and proxy/bazel/patches/, and the "Carried today" line in proxy/README.md;
  2. drop the SPIRE dnsNameTemplates prerequisite from docs/runbook.md (East-west QUIC section), docs/getting-started.md §11, docs/configuration.md and e2e/soak/README.md — keep the <port>.<fqdn> SNI shape (proxy.QUICServerName), it is valid either way; the e2e ClusterSPIFFEIDs and the talos GitOps entry (k8s-talos-main#126) may keep the DNS SANs (harmless) or drop them;
  3. test/mtlspool's path-A tests (test(mtlspool): aether#957 path-A validation — URI-only SVID + SNI "18008" handshakes once envoy#47740 is in the pin #973) must stay green on the new pin — they are the proof the plain pin carries the fix; TestQUICPathAGuardOffRestoresHostnameCheck keeps the guard honest.
    Until then the pin cannot move without re-carrying both patches (or confirming the snapshot contains them).

Activity

  1. bpalermo commented on Sep 27, 2026

    @bpalermo
    OwnerAuthor

    Scope: a third carried patch is now in #1028, proxy/bazel/patches/envoy-aether1022-exec-in-netns-thread-self.patch (#1022, execInNetworkNamespace restores the calling thread's netns via /proc/thread-self). It is not an upstream PR yet, so dropping it waits on the maintainer upstreaming it and a pin that contains it; its tests run from //bazel/patches:carried_patch_tests and go with it.

  2. bpalermo commented on Oct 1, 2026

    @bpalermo
    OwnerAuthor

    Status 2026-10-01 (from the envoy session's read-only analysis)

    No patch can be dropped yet: the newest envoy bazel-registry snapshot is 1.40.0-dev.20260927.5f95744, which predates the 2026-09-30 merges. The bump waits for a snapshot containing 9018c8cee8 (#47492, the last of the three merges). Moving to 5f95744 gains nothing.

    carried patch upstream state action at the bump
    envoy-47743-udp-hot-restart-forwarding-netns #47743 (a644fc670e) merged drop (identical, 91/91 non-test lines)
    envoy-aether1022-exec-in-netns-thread-self #47776 (7d6ca3273c) merged drop (same fix; ours only adds a <3.17-kernel fallback Talos does not need)
    envoy-47740-quic-hostname-check-explicit-san #47740 open keep; applies cleanly
    envoy-aether1050-hotrestart-nonblocking-forward #47834 open keep, refresh from #47834's diff (two test hunks carry 47743 test changes now upstream; the refresh adds server.hot_restart_udp_forwarding_{datagrams,retries,dropped})
    envoy-aether1054-hotrestart-terminate-wait-h3-goaway none not proposed keep
    envoy-aether1054b-quic-time-wait-before-forward none not proposed keep
    envoy-aether1054c-paused-udp-listener-no-read #47868 open (integration test added 10-01) keep
    envoy-aether1074-quic-persistent-info-lifetime #47893 open keep

    Arriving with the bump without ever being carried: #47492 (successor inherits listen sockets before entering the netns) and #47737.

    Re-test list for the bump PR (726d7ac..main, 113 commits):

    • #47743/#47776/#47492: netns hot restart is native now. staleNetns in agent/internal/xds/cache/listener.go stays (new listeners and remove-then-re-add in a missing netns still fail); update its comment — the successor-wipeout case is gone — and run one kind check (delete a pod's netns pin, hot-restart without the filter, successor keeps the listener).
    • #47664: HTTP filter stats move into the HCM's http.<prefix>. scope (names/tags claimed unchanged, runtime guard exists) → diff /stats before/after for everything aether scrapes or tag-matches.
    • #47627: udp_proxy upstream sockets honor upstream_bind_config → re-test udp_proxy.
    • #47732: removes the tcp_proxy_odcds_over_ads_fix guard → re-test tcp_proxy on-demand CDS over ADS.
    • #47394: histograms cleared during shutdown → re-test stats merging across hot restart.
    • #47907 boringssl bump; #47863 http2 codec errors at error level (log volume); #47494; #47822.
    • No QUIC source change in the range besides the 47743 forwarding; quiche unchanged.

    Scope note: this issue now tracks all eight carried patches, not only #47743/#47740.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

  3. added
    enhancement
    proxy
    blocked
    on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedenhancementproxy

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions