Repository navigation
feat: bidirectional request-plane dispatch + runtime-side ingress #9674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
GuanLuo
merged 52 commits into
main
from
gluo/dis-1861-multimodal-streaming-input-3n-request-plane-enablement
Jun 5, 2026
Merged
Changes from 47 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
2398055
refactor(runtime/network): consolidate RequestControlMessage and add …
GuanLuo 416cd35
feat(runtime/egress): add AddressedPushRouter::generate_bidirectional
GuanLuo ee5d274
feat(runtime/router): wire bidirectional PushRouter through Addressed…
GuanLuo 0433966
feat(runtime/ingress): add BidirectionalIngress + PushWorkHandler imp…
GuanLuo 8a93d07
refactor(runtime/router): reserve bidirectional worker up front befor…
GuanLuo 321f1eb
refactor(runtime/transport): use header-only envelope for bidirection…
GuanLuo 5c9f6df
refactor(runtime/pipeline): drop BidirectionalIngress; relax Frontend…
GuanLuo 7bfa9e0
test(runtime/router): end-to-end bidirectional echo over the full Rus…
GuanLuo 679175a
docs(runtime/router): replace speculative #[ignore] reason with empir…
GuanLuo 0f198b6
fix(runtime/bidirectional): cancellation + serialize-error gaps from …
GuanLuo 9817a75
refactor(runtime/ingress): extract pump_response_stream from PushWork…
GuanLuo a87a333
test(runtime): move bidirectional E2E test to integration binary; dro…
GuanLuo 1dca505
fix(runtime/bidirectional): adapt to new 2/N API after rebase
GuanLuo 2eee690
refactor(runtime/router): extract resolve_transport / check_workers /…
GuanLuo 61ea902
refactor(runtime/egress): extract finalize_response_stream from Addre…
GuanLuo 310fe83
refactor(runtime/egress): extract AddressedPushRouter::register_streams
GuanLuo 9e47736
fix(runtime/tcp): track both halves in associate_instance / cancel_in…
GuanLuo 7f6493b
feat(runtime/pipeline): promote ManyIn<T> to a struct carrying Contex…
GuanLuo 2dccc6d
refactor(runtime/pipeline): rename ManyIn struct to RequestStream
GuanLuo e109fa7
refactor(runtime/pipeline): redesign ManyIn as Context<RequestStream<T>>
GuanLuo dc138b1
docs(runtime/pipeline): drop stale ManyIn references and historical p…
GuanLuo 95a3e69
refactor(runtime/egress): parametrize bidirectional dispatch on enabl…
GuanLuo fac1c09
refactor(runtime/egress): extract AddressedPushRouter::resolve_subjects
GuanLuo 29dd214
refactor(runtime/egress): extract AddressedPushRouter::dispatch_reque…
GuanLuo f679aac
refactor(runtime/egress): centralize cancellation cleanup behind Canc…
GuanLuo 5a8496b
refactor(runtime/egress): fold RequestControlMessage construction int…
GuanLuo faf0852
refactor(runtime/egress): extract AddressedPushRouter::dispatch_buffer
GuanLuo 5bb52f9
refactor(runtime/egress): split build_request_envelope from wire disp…
GuanLuo 9af8715
perf(runtime/egress): start bidirectional request forwarder before aw…
GuanLuo 5c7802f
refactor(runtime/egress): extract spawn_request_stream_forwarder
GuanLuo 2635869
refactor(runtime/egress): resolve_subjects returns CancelGuard, drop …
GuanLuo 787a803
refactor(runtime/egress): unify bidi+unary dispatch behind dispatch_a…
GuanLuo 6d3f28a
docs(runtime/egress): trim WHAT-narration, caller refs, and stale lines
GuanLuo 807efff
docs(runtime/egress): restore pre-existing comments not added by this…
GuanLuo 93816e3
refactor(runtime/pipeline): restore Frontend/SegmentSource/Ingress Sy…
GuanLuo 0354ba6
refactor(runtime/ingress): move pump_response_stream into push_handle…
GuanLuo 87e6c13
refactor(runtime/ingress): extract IngressDispatch strategy + handle_…
GuanLuo 4ba0e89
refactor(runtime/egress): replace CancelGuard with RegisteredStream RAII
GuanLuo 76bc89f
chore: update comments
GuanLuo 1819f89
refactor(runtime/egress): derive engine_ctx in dispatch_and_finalize,…
GuanLuo fcb1b4e
refactor(runtime/egress): rename finalize_response_stream to decode_r…
GuanLuo 3083ddf
docs(runtime/egress): move forwarder lifecycle detail from doc to bod…
GuanLuo 5fa4735
chore: add comments
GuanLuo 8f0cd99
refactor(runtime/pipeline): restore SegmentSink/ServiceBackend Sink S…
GuanLuo 30f17f5
refactor(runtime/network): drop unused PartialEq on RequestType/Respo…
GuanLuo 1ba3b64
feat(runtime/ingress): add bidirectional PushWorkHandler via IngressD…
GuanLuo 2805e9b
docs(runtime/engine): stop AsyncEngineStream doc referencing pipeline…
GuanLuo c00e576
fix(runtime): return errors instead of panicking on bidirectional dis…
GuanLuo 27fb870
feat(runtime/router): reject unsupported router modes for bidirection…
GuanLuo a5accd6
fix(runtime/ingress): bidirectional request forwarder honors stop_gen…
GuanLuo 4caa158
style(runtime): address review nits on bidirectional dispatch
GuanLuo d66857e
refactor(runtime/ingress): share decode_control_message between unary…
GuanLuo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.