Repository navigation
fix(038): per-source alt_stat_name on the quic: twins (#960) - #962
Merged
Merged
Conversation
This was referenced Sep 26, 2026
bpalermo
marked this pull request as ready for review
September 26, 2026 21:50
QUICClusterFrom is a proto clone of the h2 service cluster, so every per-source twin kept the h2 cluster's alt_stat_name and all of them reported into ONE cluster.<ns>/<svc>.* tree: Prometheus could not tell HTTP/3 from HTTP/2, or one source's twin from another's, and a wrong-arm selection (#831's shape) was invisible in stats. Each twin now carries QUICAltStatName(h2 key, "<ns>/<sa>") = "<ns>/<svc>@<ns>/<sa>" -- the h2 key with the same "@<source>" suffix the cluster name carries. No dots, so the cluster_name tag extraction still captures the whole key; the h2 series keep their exact name, and a dashboard that wants both matches `aether_cluster=~"<ns>/<svc>(@.*)?"`. Gates seen red with the assignment removed: TestQUICClusterFrom, TestQUICFanoutPublishesPerSourceTwins, and envoy_validate's new TestQUICUpstreamsHaveTheirOwnStatsKey (QUICUpstreamsSharingStatsKey). The eastwest-quic e2e header no longer describes the shared tree. Closes #960. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
force-pushed
the
feat/quic-per-source-alt-stat-name
branch
from
September 26, 2026 21:51
85cf8f1 to
829e1fe
Compare
This was referenced Sep 27, 2026
Merged
bpalermo
added a commit
that referenced
this pull request
Sep 27, 2026
… never publish (#975) (#978) publish runs once per push to main, for the push's head. gh-stack #963 landed #959/#962/#964/#965/#966 as five squash commits in ONE push headed by 4930733: publish ran for 4930733 and published it fully, and d74d77a, 690dbb5, 937a8fd and ef44437 were never the tree of any publish run. The --recent sweep checked every commit on main and filed #975 for all four. The sweep now checks the push heads in its window and prints every other commit as `skip <sha> (not a push head ...)`. Heads come from GitHub's activity log for refs/heads/main (scripts/push-heads-lib.sh), not from the list of publish runs: the log records the push itself, so a push whose publish run was cancelled (#880) or never created is still a head and still goes red. The quiet-window fallback now picks the newest push head older than the grace period, and an empty/unreadable/abbreviated head list is inconclusive (exit 2), never "nothing to check". Explicit commits (make check-published COMMIT=..., workflow_run) are unchanged. scripts/check-push-head-selection.sh pins the selection in CI (no network), including the fail-closed inputs. Closes #975 Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr Co-authored-by: Claude Fable 5.1 <[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.
Stacked on #959 (stack #963). Closes #960.
QUICClusterFromis a proto clone of the h2 service cluster, so every per-sourcequic:twin kept the h2 cluster'salt_stat_nameand all of them reported into onecluster.<ns>/<svc>.*tree: Prometheus could not tell HTTP/3 from HTTP/2, or one source's twin from another's, and a wrong-arm selection (#831's shape) was invisible in stats.What
proxy.QUICAltStatName(h2Key, "<ns>/<sa>")=<ns>/<svc>@<ns>/<sa>— the h2 stats key with the same@<source>suffix the cluster name carries. No dots, so thecluster_nametag extraction still captures the whole key; the h2 series keep their exact name; a dashboard that wants both matchesaether_cluster=~"<ns>/<svc>(@.*)?". An empty h2 key or source key yields""(Envoy keys by the twin's own, unique, name) — never the shared key.test/envoy_validate:QUICUpstreamsSharingStatsKey+TestQUICUpstreamsHaveTheirOwnStatsKeyover the generated fixture (whose twins are h2 clones — exactly the shape that shared the key)./clustershost rows) does not depend on the stats-key shape either way.Gates, each seen red with the assignment removed
TestQUICClusterFrom("a twin must NOT share the h2 cluster's stat tree"),TestQUICFanoutPublishesPerSourceTwins(per-twin key),TestQUICUpstreamsHaveTheirOwnStatsKey.Not changed: PR 9's talos soak still grades HTTP/3 from the admin endpoint until this is deployed; after it,
envoy_cluster_upstream_rq_total{aether_cluster=~".*@.*"}is the per-source HTTP/3 series.🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr