Skip to content

docs(proposals): 045, move aether-proxy to the Envoy 1.41 dev snapshot under Bazel 9 - #1732

Merged
bpalermo merged 5 commits into
mainfrom
upgrade/proxy-envoy-proposal
Nov 1, 2026
Merged

bpalermo merged 5 commits into
mainfrom
upgrade/proxy-envoy-proposal

Conversation

@bpalermo

@bpalermo bpalermo commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

Proposal 045 (docs only; the implementation is #1733, stacked on this one).

Decision: aether-proxy moves from envoy/envoy_api 1.40.0.envoy (registry a1264b53) to 1.41.0-dev.20261028.011e396.envoy (registry 36d481b01b), the only newer version the envoy bazel-registry publishes. Its workspace moves from Bazel 8.7.0 to 9.3.1 in the same change.

Release and soak (the owner's decision, 2026-11-01). There is no release hold.

  • When proxy: Envoy 1.41.0-dev.20261028.011e396 under Bazel 9.3.1; drop aether1054c and aether1074 (proposal 045) #1733 merges, proxy-release.yml runs in its normal auto mode: it publishes the image, opens the chart pin PR and arms auto-merge on it.
  • talos-main, the reference cluster, deploys only by a manual helm upgrade of the aether release. Nothing upgrades it automatically.
  • The soak validates the deployed full bump there, after that upgrade. In order:
    1. a same-version baseline roll;
    2. the upgrade, which is the 1.40.0 → 1.41-dev handoff;
    3. the 8 h soak;
    4. a rollback and forward roll.
  • Remaining review notes (stat keys, reset counters, per-node routing and attribution, TLS version per source version, the agent probe fix before the proxy upgrade) are deferred to a follow-up doc PR, fixed before the soak.

No upstream Envoy PR, issue or comment: the owner posts upstream.

Written by an agent (the aether repo agent in the fleet).

🤖 Generated with Claude Code

https://claude.ai/code/session_01YacWmjoxWSZRJC38XYxuZx

…t under Bazel 9

The pin moves from 1.40.0.envoy to 1.41.0-dev.20261028.011e396.envoy, the only
newer version the envoy bazel-registry publishes. It contains
envoyproxy/envoy#47868 and #47893, so aether1054c and aether1074 drop; 47740
and aether1126 stay as they are, aether1050 and aether1054 with their context
refreshed (aether1050 checked against #47068's change to the same receive
loop). The proxy workspace moves to Bazel 9.3.1 in the same change: the
1.40.0 closure does not load under Bazel 9. Lists the upstream changes that
touch aether (#45504, the TLS 1.3 client default, CDS warming, ODCDS, GRO) and
the validation: the proxy workflow, the Envoy-workspace tests, and an 8 h soak
before release.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YacWmjoxWSZRJC38XYxuZx

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

TLS 1.3 can allow readiness checks to pass despite certificate rejection, while the soak lacks guaranteed TCP mTLS coverage and an enforceable release gate, and the documented rollback is ineffective.

4 open issues
What changed in this PR

This documentation-only PR proposes moving Aether’s Envoy proxy to the 1.41 development snapshot and Bazel 9.3.1, with implementation deferred to a stacked PR.

Changes:

  • Explains the coupled Envoy and Bazel upgrade and supporting compatibility checks.
  • Identifies two patches to drop and four to retain, including two context refreshes.
  • Documents runtime risks, validation requirements, an eight-hour soak, and rollback guidance.
File Description
docs/​proposals/​045_envoy-1.41-dev-snapshot.md Adds the upgrade proposal, patch assessment, and validation and rollback plans.

Review effort: Balanced

@bpalermo-agent-review bpalermo-agent-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

pr-reviewer: changes @ 778d9e3
CI: green on this head: every required and reported check passed (ci, test, race, shell, format, diff, deps-audit, netns, proxy-pin, envoy-api-parity, actionlint, CodeQL, coverage and the proxy gate). e2e, integration and the proxy test legs were skipped, as the change is docs-only.

Previous findings

None. This is the first review of this PR.

Findings

Six findings: 1 major, 3 minor, 2 nits. Each is an inline thread.

  1. major (line 244): the proposal never addresses hot restart between a 1.40.0 Envoy and a 1.41-dev Envoy. Every node's upgrade roll is a cross-version handoff, and so is every rollback roll. The validation plan only soaks 1.41-to-1.41 rolls.
  2. minor (line 46): the risk of running a dev snapshot in production is not named. Nothing says how a security fix reaches it, or when the pin moves to the 1.41.0 release.
  3. minor (lines 200 and 153): QUICHE is misattributed. #48288 moved QUICHE to 132bfd9 (261013-132bfd9). The snapshot's 261019-67bce2e came from #48484 (QUICHE 67bce2e).
  4. minor (line 251): /runtime_modify does not fully work as a rollback lever. Both guards are read only when a listener or an upstream TLS context is built, so existing ones keep the old behaviour.
  5. nit (line 202): the text says aether "sets" hot_restart_propagate_stat_tags. It doesn't: it relies on the default, and line 250 says there is no runtime layer.
  6. nit (line 235): the soak procedure is named after something that is not in this repository. Point to proposal 042 and the external soak harness instead.

Verified

  • Numbering and format: 045 is the next free number (000 to 044 exist on main). The header (Status / Author / Date / Related) matches proposals 043 and 044. The branch is based on main at 9b256ed5, the commit the doc says it read.
  • Repo facts at 9b256ed5: proxy/.bazelversion is 8.7.0. envoy/envoy_api are 1.40.0.envoy. The registry pin is a1264b53. The six carried patches are as listed. rules_cc 0.2.25, rules_python 2.3.3 and proxy-wasm-cpp-host …f2db56a.envoy are as stated. .bazelrc carries --incompatible_merge_fixed_and_default_shell_env and the two compiler-rt=false/libunwind=false lines. The MODULE.bazel comment calls #47893 "still open", which is stale as the doc says.
  • aether configuration: inbound QUIC sets prefer_gro: true (ingress.go). Upstream TLS sets only a TLSv1_2 minimum and max_session_keys: 0. Nothing sets wait_for_warm_on_init. The proxy bootstrap has no layered_runtime. go-control-plane/envoy is v1.40.0. check-envoy-api-parity.sh accepts bindings one minor behind a -dev pin.
  • Envoy (local history, read only):
    • 2eff6e8ccf (#47868) and 77b512527c (#47893) are ancestors of 011e39616b and not of v1.40.0 or v1.40.2.
    • v1.40.0..011e39616b is 276 commits.
    • .bazelversion at 011e39616b is 9.3.1, set by #48527. #48608 is in the range.
    • Every cited PR in the risk table is in the range.
    • defer_worker_routing_init is a default-on restart guard. default_client_tls_max_version_is_1_3 is default on. odcds_missing_cluster_cache is default off. hot_restart_propagate_stat_tags and use_connection_event_drain still exist.
    • The four conn_manager_impl.cc commits in the range are as described.
    • #45504 touches no hot-restart IPC file. #47068 is the only hot-restart IPC change in the range.
    • Upstream's .envoy closure at 011e39616b matches the stated rules_cc 0.2.27, rules_python 2.4.5 and proxy-wasm-cpp-host …envoy.1.
    • v1.40.0..v1.40.2 is CI, dependency, CA-distrust and istio backports. The CA-distrust change (#48515) is also in the snapshot.
  • Patches, checked with git apply --check against a temporary index (no worktree): aether1054c reverse-applies at 011e39616b and applies forward at v1.40.0. aether1074 applies neither forward nor reverse at 011e39616b. Upstream's #47893 makes the same shared-ownership change to PersistentQuicInfo, plus a cluster_manager_impl.cc hunk.
  • Hot-restart wire compatibility (relevant to finding 1): HOT_RESTART_VERSION is 11 at both pins. hot_restart_impl.h (SharedMemory) and hot_restart.proto are unchanged across the range. This suggests the handoff is compatible, but the proposal doesn't say so and doesn't test it.
  • Commit: author and committer are the maintainer's identity. The repo uses no DCO sign-off. The attribution trailers and the PR body's agent statement are what AGENTS.md requires for agent-authored commits.
  • Ownership: the one changed path, docs/, belongs to this repo. The stacked implementation PR's diff matches the doc's list of proxy/ changes; that PR gets its own review.

Not run

  • The bazel-registry claims (metadata.json at 36d481b01b listing four versions, the .envoy.1 revisions of about twenty modules): no local registry checkout, and nothing was fetched.
  • The Bazel 9 measurements (yanked c-ares, emsdk, CcInfo), bazel mod graph, bazel aquery of the link line, and --nobuild analysis. No Bazel or Envoy build was run.
  • "Envoy main past 011e396 is 55 commits on 2026-10-31": depends on when the remote was fetched; not checked.
  • The aether1050 refresh (ab652e7164..39dacbff0f byte-identical +/- lines) and the semantic check against #47068. Both commits exist locally, but the refreshed patch is in the stacked PR and was not diffed here. The aether1054 refresh was not checked either.
  • Envoy-workspace tests and the soak: these are future steps in the plan.

Deploy risk

None from this PR. It adds one Markdown file and changes no workflow-triggering path. The deploy risk belongs to the stacked implementation PR: a new proxy image through proxy-release.yml, then the chart pin PR.

Notes

The fix for the major finding is documentation. Write down the cross-version handoff evidence (above), and add a validation step that rolls a node from the 1.40.0 proxy image to the new one, and back, under the prober.

…ot risk, release hold, TLS 1.3 probe

- Hot restart across 1.40.0 and 1.41-dev, both directions: the evidence that
  they interoperate (HOT_RESTART_VERSION 11 at both pins, hot_restart.proto and
  the IPC sources unchanged, #47068 the only receive-loop change, identical
  carried IPC patches), and a validation step rolling one node 1.40 -> 1.41 ->
  1.40 under the prober.
- The risk of a dev snapshot in production: no backport branch; fixes arrive
  by a later snapshot, the 1.41.0 release (the pin moves to 1.41.0.envoy when
  published) or a carried patch.
- QUICHE: #48288 (132bfd9) and #48484 (67bce2e, what ships).
- TLS 1.3 vs the connect-only inbound readiness probe: the failure mode from
  the upstream release note, and a pre-release mitigation (the probe pins TLS
  1.2, a separate agent PR). A TCP-routed soak check for the TLS version and
  the source identity.
- A release hold: proxy-release.yml publishes and arms auto-merge on the
  chart pin; the owner disables it and soaks the published digest first.
- Rollback: the guards are read only when a TLS context or listener is built;
  a static runtime layer plus a proxy roll is the lever, /runtime_modify is not.
- aether1733 (the validate-mode crash #1733's CI found) added to the patch
  set; the soak points to proposal 042 and the external harness; aether relies
  on hot_restart_propagate_stat_tags' default rather than setting it; the
  local-gate claims say what the sandbox could and could not run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YacWmjoxWSZRJC38XYxuZx
Copilot AI balanced review requested due to automatic review settings November 1, 2026 13:17
…rnatives, upstream text

The validate-mode crash needs concurrency > 1 (the BPF reuseport option);
today's chart bootstraps have static clusters only, so production does not
crash today, but a future static QUIC listener would fail the supervisor's
pre-restart check and every hot restart. Records why the runtime guard and
--concurrency 1 were set aside, that the FilterState key rejection in the
same log is an expected negative case, and the upstream issue/PR text,
prepared for the owner to post.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YacWmjoxWSZRJC38XYxuZx
bpalermo-agent-bot Bot pushed a commit that referenced this pull request Nov 1, 2026
…proxy-envoy-1.41-dev

Restacks #1733 on #1732's new head with a merge instead of a rebase, so the
branch moves forward without a force-push.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YacWmjoxWSZRJC38XYxuZx

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The release hold can race auto-merge, the canary is not node-scoped, QUIC handoffs lack node-specific traffic verification, and the production bootstrap impact remains unverified.

4 open issues
4 resolved since last review

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 1, 2026 13:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Superseding releases can bypass the soak hold, the proposed one-node canary rolls the fleet, and the rollback uses incorrect runtime keys.

3 open issues
3 previously missed issues

In code that hasn't changed since last review

High severity Envoy feature keys are missing required prefixes

docs/​proposals/​045_envoy-1.41-dev-snapshot.md:463

These are not the runtime keys Envoy reads: a static layer using the listed names will not override either feature because both require their full envoy.reloadable_features. or envoy.restart_features. prefix. Please list the fully qualified keys here so the documented rollback actually takes effect.

Medium severity QUIC selection can create an unpublished twin on demand

docs/​proposals/​045_envoy-1.41-dev-snapshot.md:417

A service having no published QUIC twin does not keep eligible HTTP traffic on TCP: quicFanout.armsFor installs selection arms before the twin exists, and the first request creates it on demand. Specify a route that cannot select a twin, such as a weighted GAMMA split, and verify the selected cluster during the soak.

Medium severity TCP routing cannot produce the required HTTP identity log

docs/​proposals/​045_envoy-1.41-dev-snapshot.md:422

A raw TCP target satisfies the TCP-routing requirement but cannot produce this destination log: the inbound tcp_proxy chain has no access logger, while downstream_peer_uri_san comes from the HTTP logger. Require HTTP traffic over the TCP mesh hop, with access logging and collection enabled, so the mandatory identity check is observable.

1 resolved since last review

Review effort: Balanced

@bpalermo-agent-review bpalermo-agent-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

pr-reviewer: changes @ 077afbc
CI: green on this head. Every reported check passed: ci, test, race, shell, format, diff, deps-audit, netns, proxy-pin, envoy-api-parity, actionlint, CodeQL, coverage and the proxy gate. e2e, integration and the proxy test legs were skipped, as the change is docs-only.

Re-review of docs/proposals/045_envoy-1.41-dev-snapshot.md at 077afbc, covering the delta from 778d9e3 (372f219 and 077afbc) and a full re-read of the doc.

Previous findings

  1. major, hot restart across 1.40.0 and 1.41-dev (old line 244): fixed. The risk table has a cross-version row (line 309). Lines 311-332 explain that a surge roll is a 1.40.0 parent to 1.41-dev child handoff, and a revert is the reverse. They list the interoperability evidence and name what that evidence does not cover. Validation step 5 (lines 395-408) adds the 1.40 -> 1.41 -> 1.40 single-node roll under the prober, with per-handoff criteria. I verified that the proxy DaemonSet rolls with maxSurge: 1 / maxUnavailable: 0 and that the supervisor's envoyHotRestartVersion is 11. The doc's upstream IPC claims match the evidence from the previous review. I did not re-run them this round (see Not run).
  2. minor, the risk of running a dev snapshot was unnamed (old line 46): fixed. Lines 52-73 cover it: no release branch, the three ways a fix can arrive, the pin moving to 1.41.0.envoy when it is published, and the comparison with staying on 1.40.0.
  3. minor, QUICHE attribution (old lines 200, 153): fixed. Lines 257-260 and the risk table row at line 308 now cite #48288 (to 132bfd9) and #48484 (to 67bce2e, the revision that ships). This matches the previous review's findings. I did not re-verify it upstream this round.
  4. minor, /runtime_modify overstated as a rollback lever (old line 251): fixed. Lines 457-475 say each guard is read only when a TLS context or listener is built. They name a static runtime layer plus a proxy roll as the working lever, and say why /runtime_modify is not one. I verified both read sites at 011e396 and that the proxy bootstrap has no layered_runtime.
  5. nit, aether doesn't "set" hot_restart_propagate_stat_tags (old line 202): fixed. Lines 334-338 now say aether relies on the default and that the chart sets no runtime.
  6. nit, the soak procedure isn't in the repo (old line 235): fixed. Step 6 (lines 409-411) points to proposal 042 and the external soak harness. Proposal 042 exists at this head.

Findings

2 findings: 1 major, 1 minor.

  1. major (line 439): the release hold can be bypassed automatically. Any later proxy-release run opens a new pin pull request with auto-merge armed and closes the held one as superseded, so the unsoaked 1.41 image ships.
  2. minor (line 301): the #45504 risk row still says "No behaviour change intended" and lists only the soak as the watch. It doesn't mention the validate-mode crash, aether1733, or envoy_validate_test, all of which lines 145-220 describe.

Verified

  • The doc at 077afbc is 487 lines. The PR still changes only this one file, under docs/, which this repo owns.
  • The new aether1733 text (lines 145-220), checked against Envoy at 011e396:
    • initializeWorkerRouting() applies options_ to *factory->getListenSocket(i) with no null check.
    • The only thing pushed into options_ is the BPF reuseport option, and only when concurrency_ > 1. Socket::applyOptions() dereferences the socket only inside its loop over the options. So the crash needs concurrency > 1, as the doc says.
    • ActiveRawUdpListenerConfig::initializeWorkerRouting() is a no-op.
  • The production exposure claim (lines 172-177), checked at this head:
    • The supervisor runs envoy --mode validate with the same extra args as the serving Envoy (validateConfig appends ExtraArgs), so it validates at the same concurrency.
    • The node proxy and edge bootstraps in the chart declare static_resources with clusters only, and take listeners over lds_config.
    • The test bootstraps that crashed, node_bootstrap.json and edge_bootstrap.json, are generated inputs to envoy_validate_test.
  • The doc stays consistent with the implementation pull request at its current head: same cause, same corrected production exposure, same fix and regression test. The decision section (lines 26-29) still says the bug is unreported, which matches "prepared and not posted" (line 189).
  • At 011e396: defer_worker_routing_init and default_client_tls_max_version_is_1_3 are registered in runtime_features.cc. The TLS guard is read in context_config_impl.cc, and the restart feature is read in the listener and QUIC listener factory build paths.
  • The #48570 release note's wording matches the doc's description of the TLS 1.3 failure mode.
  • NewInboundReadyProbeCluster is a connect-only TCP health check over its own InboundReadyProbeTransportSocket.
  • proxy-release.yml, in auto mode, opens the pin pull request, arms gh pr merge --auto --squash, and closes every other open chore/proxy-image-bump-* pull request as superseded. It triggers on proxy/** (excluding *.md), bazel/registry/** and its own file.

Not run

  • Re-checking the upstream hot-restart IPC claims (HOT_RESTART_VERSION at both pins, the diff of hot_restart.proto, hot_restart_impl, hot_restarting_{base,child,parent}) and the QUICHE bump history against the local Envoy checkout. The command was refused by a local policy hook, and I did not retry it in another form. Those claims match the previous review's evidence but are unverified this round.
  • No reproduction of the validate-mode crash, no Envoy build, no git apply --check of the patch series, and no make test-unit. This is a docs-only change.

Deploy risk

None from this pull request. It adds a file under docs/, which none of the release workflow trigger paths cover. The deploy risk sits in the stacked implementation, where merging triggers proxy-release.yml (image publish plus an auto-merging chart pin). That is why the hold in this doc has to be airtight (finding 1).

Notes

  • Suggested fix for finding 1: extend the hold to cover superseding runs. Freeze merges to proxy/**, bazel/registry/** and proxy-release.yml until the soak verdict, or disable auto-merge on, and hold, every pin pull request that supersedes the held one. Also note that a superseding pin carries a different image from the one soaked.
  • The corrected aether1733 exposure analysis, the reasons given for setting aside the alternatives, and the prepared upstream text are accurate against the sources I checked.

…ss-version roll with QUIC traffic

- The hold is set up before #1733 merges: manual release mode (RELEASE_PAT
  removed from the `release` environment until the soak verdict, so
  proxy-release.yml opens, arms and supersedes no pin), a merge freeze on
  proxy/** (not *.md), bazel/registry/** and proxy-release.yml, and the
  fallback for an armed pin (disable auto-merge on it and on any superseding
  pin, which carries a different, unsoaked digest). Nothing else merges on its
  own: Dependabot opens no PRs, no Renovate, main.yaml only updates pin
  branches, and re-runs are covered by the freeze.
- Step 5 is a cluster-wide roll (1.40.0 -> candidate -> 1.40.0 -> candidate):
  a Helm image override rolls every node and the edge Deployment, DaemonSets
  have no partition, and OnDelete is no handoff. It needs QUIC traffic pinned
  across nodes and connections established before each roll, with per-handoff
  twin-cluster and inbound QUIC listener counters.
- The #45504 risk row names the validate-mode crash, aether1733 and
  envoy_validate_test; the Status line points at the hold; the test-unit
  wording is neutral.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YacWmjoxWSZRJC38XYxuZx
Copilot AI balanced review requested due to automatic review settings November 1, 2026 13:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The handoff checks use unsuitable or non-reset-aware counters, and the proposed topology does not exercise inherited listeners on every rolled node.

3 open issues
3 resolved since last review

Review effort: Balanced

@bpalermo-agent-review bpalermo-agent-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

pr-reviewer: approve @ 2e0d76c
CI: green on this head. Every reported check passed: ci, test, race, shell, format, diff, deps-audit, netns, proxy-pin, envoy-api-parity, actionlint, CodeQL, coverage and the proxy gate. e2e, integration and the proxy test legs were skipped, as the change is docs-only.

Previous findings

  1. Major, release hold could be bypassed automatically: fixed at this head. Layer 1 removes RELEASE_PAT from the release environment before #1733 merges. In proxy-release.yml, the bump-chart job's "Resolve release token" step then picks manual mode. Opening the PR, arming gh pr merge --auto --squash and closing superseded pins all happen only in the step gated on steps.token.outputs.mode == 'auto'. In manual mode the job pushes only the per-release branch, using GITHUB_TOKEN. Without the token, main.yaml's refresh-pin-prs exits 0. The coverage questions:

    • Superseding releases: they open, arm and close nothing.
    • workflow_dispatch: the workflow has none; its only trigger is push.
    • A re-run: it opens nothing, and since the image is reproducible at a given commit it re-pushes the same digest.
    • The chart release path: #1733 touches no charts/ file, so no published chart references the candidate until a pin merges.
    • Superseding pins: layer 3 says they carry a different digest, so the soak is redone or the change is reverted.

    The soaked digest is the one on that commit's pin branch, and the PR is opened from that branch after the verdict. The hold adds no workflow change, in this PR or in #1733: it uses the existing #703 manual fallback. What's left is minor and inline: nothing confirms before #1733 merges that the token is absent at every secret scope.

  2. Minor, #45504 risk row: fixed. The row (now line 303) names the validate-mode crash, aether1733 and //agent/test/envoy_validate:envoy_validate_test, which the proxy workflow runs against the built binary, plus the cross-version roll.

This head reintroduces none of the earlier findings.

Findings

5 findings (3 minor, 2 nits), all inline:

  • minor (line 422): the twin's stat key is <ns>/<svc>@<ns>/<sa> (its alt_stat_name), not quic:<svc>@<source-sa>.
  • minor (line 425): step 5's pass criteria don't separate a clean handoff from a broken one. downstream_cx_total counts only new sessions, nothing bounds request failures, and the "same-version" baseline is never run.
  • minor (line 472): layer 1 isn't confirmed before the merge: nothing checks repository- or organization-scope RELEASE_PAT, and the first evidence of manual mode comes after the merge.
  • nit (line 482): "the lead" is undefined, and under per-release branches the stated reason for the freeze is off.
  • nit (line 292, also line 499): text still describes auto mode (the pin PR opened by the workflow, a re-run opening and superseding a pin).

Verified

  • The head is 2e0d76c, and the delta from 077afbc is this one doc file.
  • proxy-release.yml at this head: push-only trigger on proxy/**, !proxy/**/*.md, bazel/registry/** and its own file. The token resolution picks manual mode when the token is missing, rejected or expired. Auto-only PR, auto-merge and supersede steps. Per-release branch chore/proxy-image-bump-<short sha>, pushed with --force-with-lease. A manual hand-off one-liner in the run summary. A pin step that no-ops when unchanged.
  • main.yaml refresh-pin-prs: it exits when there is no token, runs only gh pr update-branch on BEHIND pins, and never arms auto-merge.
  • .github/dependabot.yml: a single ecosystem with open-pull-requests-limit: 0, and no Renovate config.
  • proxy/BUILD.bazel: no timestamp in the image, reproducible at a given commit.
  • The proxy DaemonSet uses RollingUpdate with maxSurge 1 and maxUnavailable 0. The edge Deployment uses a plain rolling update, not a hot restart, and renders only when edge.enabled.
  • The QUIC twin's name and alt_stat_name come from agent/internal/xds/proxy/egress.go.
  • Envoy 011e396: envoy_restart_features_defer_worker_routing_init is a runtime guard. downstream_cx_total is incremented on session creation, and the counter is stateless_reset_packets_sent.
  • #1733 changes no file under charts/, and auto-merge is not armed on it.

Not run

  • Repository settings: the secret scopes (environment, repository, organization), the main ruleset, and environment protection rules. These can't be read with gh pr view/gh pr diff.
  • Nothing was built and no tests ran (docs-only change).

Deploy risk

None from this PR: it changes one proposal document and nothing triggers on docs/. The release risk sits with #1733. The hold in this doc has to be in place, with RELEASE_PAT absent from every secret scope, before #1733 merges into main, and it lasts until the soak verdict. Step 5 rolls the proxy DaemonSet across the whole reference cluster three times.

Notes

  • Layer 2, the merge freeze, is procedural. Under layer 1 it isn't load-bearing for digest equality, because pin branches are per release. It does keep unsoaked proxy changes off main while the hold lasts.
  • Restoring the token early (layer 3's trigger) re-arms automatic supersede for the next proxy release. That release would close a hand-opened soaked pin, since the one-liner's body carries the same marker.

…elease hold

The owner decided on 2026-11-01 that the soak runs only after the full bump:
the release goes out through proxy-release.yml in its normal auto mode, and the
three-layer hold (manual mode, merge freeze, fallback) is removed.

- The cross-version hot restart is folded into the soak: a same-version
  baseline roll that is actually run, the upgrade (the deploy), the 8 h soak,
  then rollback and forward, all cluster-wide (the chart has no node-scoped
  proxy canary).
- Pass criteria that tell a clean handoff from a broken one: reset-aware
  increases (counters are per generation), forward progress on the destination
  inbound's downstream_rq_total and the source twin's upstream_rq_total,
  request failures (5xx, resets, cx destroyed with active requests, the load
  generator's errors) and prober misses bounded by the baseline's worst
  handoff; downstream_cx_total only as a diagnostic, since it counts new
  sessions.
- A QUIC destination on every node with a remote source, so every inherited
  listener carries traffic through its own handoff.
- The twin's stat key is <ns>/<svc>@<ns>/<sa> (QUICAltStatName), not quic:...
- Auto mode described accurately; rollback by reverting the pin or the
  implementation, and the static runtime layer for a behaviour.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YacWmjoxWSZRJC38XYxuZx
Copilot AI balanced review requested due to automatic review settings November 1, 2026 15:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The release plan can upgrade the proxy before the fixed agent is published and rolled out, leaving readiness probes able to accept rejected client certificates under TLS 1.3.

6 open issues
3 resolved since last review

Review effort: Balanced

@bpalermo-agent-review bpalermo-agent-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

pr-reviewer: approve @ 6bb0089
CI: green on this head. Every reported check passed: ci, test, race, shell, format, diff, deps-audit, netns, proxy-pin, envoy-api-parity, actionlint, CodeQL, coverage and the proxy gate. e2e, integration and the proxy test legs were skipped, as the change is docs-only.

Previous findings

  • Twin stat key (was line 422): fixed. Lines 459-463 now give <ns>/<svc>@<ns>/<sa> from QUICAltStatName, and aether_cluster=~"<ns>/<svc>@.*". That matches agent/internal/xds/proxy/egress.go on main.
  • Step 5 pass criteria (was line 425): fixed. The same-version baseline roll is now actually run (5.1), and its worst handoff is the bar. Counters are read as reset-aware increase()/rate(). Forward progress is checked on both the destination inbound and the source twin. Request failures (5xx, resets, cx_destroy_remote_with_active_rq, the load generator's errors) and prober misses are bounded by the baseline. downstream_cx_total is now only a diagnostic.
  • Manual-mode release hold not confirmed before merge (was line 472): moot. The owner removed the release hold (Status line and Release and soak), so manual mode is no longer a precondition.
  • Undefined role and the freeze rationale (was line 482): moot. The hold, the freeze and the undefined role are all gone from the text.
  • Auto-mode wording (was line 292, also 499): fixed. Lines 292-295 and 402-407 describe auto mode as proxy-release.yml implements it: open the pin, arm --auto --squash, close superseded pins. Line 495-499 states the accepted consequence.

Previously fixed items, re-checked: the #45504 risk row still names the validate-mode crash, aether1733 and envoy_validate_test (line 305). The bypass where superseding auto-mode runs got around the hold no longer applies, because the owner removed the hold on purpose. Lines 495-499 record that decision and its cost: the first cross-version handoffs happen at the deploy itself, with the pin already on main.

Findings

One nit, inline (line 485): the TCP-path TLS check names cluster.<svc>.…, which is not the stat key the cluster reports under.

Verified

  • On main at 9b256ed5f4:
    • QUICAltStatName returns <h2 alt_stat_name>@<ns>/<sa>.
    • The proxy DaemonSet uses maxSurge: 1, maxUnavailable: 0, and the edge Deployment is gated on edge.enabled.
    • The chart has no layered_runtime.
    • HOT_RESTART_VERSION 11 is mirrored as envoyHotRestartVersion.
    • The supervisor exports restart_triggers (with stale_initializing_flag_cleared) and config_validation_failures.
    • The inbound access log carries downstream_peer_uri_san.
    • The readiness-probe cluster has its own per-pod alt_stat_name, so its TLS 1.2 pin does not show up in a service cluster's ssl.versions.
  • proxy-release.yml auto/manual mode logic matches the description.
  • The patch arithmetic is consistent: six patches at 1.40.0; two dropped, two refreshed, two kept, one added.

Not run

  • No local build or tests: this is a docs-only change.
  • The upstream Envoy claims (commit ancestry, HOT_RESTART_VERSION at 011e396, the #45504 code path) were not re-derived at this head. They are unchanged from earlier heads.

Deploy risk

None from this PR: it only adds a proposal under docs/. The deploy risk it describes belongs to #1733. When #1733 merges, proxy-release.yml publishes the image and auto-merges the chart pin with no hold, as the proposal records.

Notes

The implementation is #1733, stacked on this PR.

@bpalermo
bpalermo merged commit 12910b1 into main Nov 1, 2026
32 checks passed
@bpalermo
bpalermo deleted the upgrade/proxy-envoy-proposal branch November 1, 2026 17:39
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.

2 participants