Skip to content

docs+test(038): a single-backendRef GAMMA rule to the parent rides QUIC; only weighted splits stay h2 (#961) - #964

Merged
bpalermo merged 1 commit into
feat/quic-per-source-alt-stat-namefrom
feat/quic-gamma-single-backend
Sep 26, 2026
Merged

bpalermo merged 1 commit into
feat/quic-per-source-alt-stat-namefrom
feat/quic-gamma-single-backend

Conversation

@bpalermo

@bpalermo bpalermo commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #962 (stack #963). Closes #961.

ApplyQUICClusterSelection reaches every route on the vhost whose action names the h2 cluster: the default route and a GAMMA (HTTPRoute) rule whose single backendRef is the parent Service, since it renders as the same cluster: action. That rule rides QUIC with the caller's own twin exactly like the default route — nothing is lost. What stays h2 is a WeightedClusters action: the matcher plugin's action names one cluster, so a per-source weighted split has no representation. #956 said "GAMMA stays h2"; this makes the statement exact instead of narrowing the feature.

  • route.go: the doc says which routes are reached and why the weighted shape is a representation limit, not a policy.
  • TestApplyQUICClusterSelection: a single-backend rule to the parent is selected; a single-cluster rule to another service's cluster is left alone; the weighted case unchanged.
  • e2e/eastwest-quic.sh: new E4b applies a single-backendRef HTTPRoute to the parent (with a RequestHeaderModifier so its liveness is observable on the data — the backend is the parent itself, so /hostname cannot tell the rule from the default route) and asserts it rides each caller's own twin over HTTP/3 with the caller's identity. E4 (weighted) unchanged. Not yet run on kind — same condition as test(e2e): east-west QUIC on kind — HTTP/3 per source identity, h2-only and GAMMA untouched, Q3 (038 PR 8) #959.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

…IC; only weighted splits stay h2 (#961)

ApplyQUICClusterSelection reaches every route on the vhost whose action
names the h2 cluster: the default route and a GAMMA rule whose single
backendRef is the parent Service (it renders as the same `cluster:` action).
That rule rides QUIC with the caller's own twin exactly like the default
route; nothing is lost. What stays h2 is a WeightedClusters action -- the
matcher plugin's action names ONE cluster, so a per-source weighted split has
no representation. #956 said "GAMMA stays h2"; this makes the statement
exact instead of narrowing the feature.

- route.go: the doc says which routes are reached and why the weighted shape
  is a representation limit, not a policy.
- TestApplyQUICClusterSelection: a single-backend rule to the parent IS
  selected; a single-cluster rule to another service is left alone.
- e2e/eastwest-quic.sh: E4b applies a single-backendRef HTTPRoute (with a
  request-header filter so its liveness is observable on the data, since the
  backend is the parent itself) and asserts it rides each caller's own twin
  over HTTP/3; E4's weighted case unchanged.

Closes #961.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
@bpalermo
bpalermo force-pushed the feat/quic-gamma-single-backend branch from 181650e to 725d7a8 Compare September 26, 2026 21:51
@bpalermo
bpalermo merged commit 937a8fd into main Sep 26, 2026
47 checks passed
@bpalermo
bpalermo deleted the feat/quic-gamma-single-backend branch September 26, 2026 22:07
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]>
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.

038: ApplyQUICClusterSelection rewrites single-backend GAMMA rules to the parent — "GAMMA stays h2" holds for weighted routes only

1 participant