Skip to content

[Serve] Route HAProxy ingress through request routers - #66589

Merged
eicherseiji merged 0 commit into
seiji/multiplexed-ingress-router-appfrom
seiji/haproxy-ingress-router-dispatch
Sep 30, 2026
Merged

eicherseiji merged 0 commit into
seiji/multiplexed-ingress-router-appfrom
seiji/haproxy-ingress-router-dispatch

Conversation

@eicherseiji

Copy link
Copy Markdown
Contributor

Summary

Make HAProxy consult an application's ingress request router for every HTTP request, independent of method. Forward end-to-end request headers while filtering hop-by-hop/framing fields, canonicalize the multiplexed model ID, and pin the returned replica.

Generic model multiplexing remains header-only; request-body forwarding is still separately opt-in for body-aware routers.

Tests

  • Real-HAProxy coverage for POST, GET, header forwarding/filtering, model-ID restoration, and replica pinning
  • Existing multiplexing E2E test enabled under HAProxy
  • Focused pre-commit and HAProxy Lua/config validation
  • Full pytest requires CI because the local compiled Ray extension predates this checkout

Duplicate search

No open duplicate found. #65678 and #65679 do not connect generic HAProxy ingress to Serve's model-aware router.

AI assistance

AI assistance was used; the changes require submitter review before this draft is marked ready.

@eicherseiji
eicherseiji removed this pull request from stack #66591 September 30, 2026 00:48
@eicherseiji
eicherseiji merged commit 673fccb into seiji/multiplexed-ingress-router-app Sep 30, 2026
@eicherseiji
eicherseiji force-pushed the seiji/multiplexed-ingress-router-app branch from 97a9b72 to 80b844d Compare September 30, 2026 00:48
@eicherseiji
eicherseiji deleted the seiji/haproxy-ingress-router-dispatch branch September 30, 2026 00:48
@eicherseiji
eicherseiji force-pushed the seiji/haproxy-ingress-router-dispatch branch from e205459 to 673fccb Compare September 30, 2026 00:48
@eicherseiji

Copy link
Copy Markdown
Contributor Author

Superseded by #66592 after reordering the native stack. GitHub auto-marked this PR merged when its rewritten head became an ancestor of its then-base branch; nothing from it was merged into master.

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.

1 participant