Repository navigation
feat(epp): support named policies in Runtime mode - #18189
Draft
andrewzyxing wants to merge 2 commits into
Draft
andrewzyxing wants to merge 2 commits into
andrewzyxing wants to merge 2 commits into
Conversation
Signed-off-by: zyxing <xingzheyuan16@gmail.com>
andrewzyxing
temporarily deployed
to
external_collaborator
November 5, 2026 10:37 — with
GitHub Actions
Inactive
andrewzyxing
temporarily deployed
to
external_collaborator
November 5, 2026 10:37 — with
GitHub Actions
Inactive
Contributor
|
👋 Hi andrewzyxing! Thank you for contributing to ai-dynamo/dynamo. Just a reminder: The 🚀 |
Author
|
@ishandhanani @jthomson04 Discovered while developing the Runtime EPP/Frontend conformance coverage in #17580. Please review this Draft's one-time linked-registry installation, typed-role policy consumption and preservation of the builtin default, and confirm that this direction fits the separate RoutingHost work in #17293. Request-classifier execution remains unsupported in this change. The PR description records the exact scope and validation status. |
Signed-off-by: zyxing <xingzheyuan16@gmail.com>
andrewzyxing
temporarily deployed
to
external_collaborator
November 5, 2026 10:51 — with
GitHub Actions
Inactive
This branch was previously deployed
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.
Overview
Allow the Runtime EPP to install the worker-selection catalog supplied by its binary, including Dynamo's shipped named providers for the stock
run(None)path. This extends the documented standalone-only catalog boundary; it was discovered while developing the Runtime EPP/Frontend conformance coverage in #17580.The configured catalog reaches the existing native routers through their process registry and typed worker roles. Unconfigured routing retains the builtin default; duplicate shipped type names and repeated installation fail explicitly.
Key Changes
49 added production-code lines, excluding tests, comments and blank lines. No new dependency, shared router API, registry global or request-path synchronization.
runuses this mode dispatch; Standalone keeps its existing registry path.Validation
Current head:
ef340a91dccb1ac69cf7ae143cf9a86dd9e918c1, based on main7e9dc291b12a8ae66459396725f727924eaa8029.Fixed-head Linux validation is pending. Initial CI on
f339b9e3reported Rustfmt differences and two E0282 errors in the test-factory closures. Follow-upef340a91corrects all reported differences and gives both factories an explicit expected type. No fixed-head formatter, compilation, clippy or test pass is claimed yet. No project commands ran on the Mac mini. The official Linux Rust jobs will validate this public source; a separate CPU run is needed only if those results leave a gap.Added coverage, not yet executed:
UnknownTypecontrol, calls the actual Runtime mode bootstrap, constructs a native ModelManager router and observes the Prefill role/model partition, then checks repeated-install failure.The uninstalled control is not a historical executable baseline run. The host-construction test is not a live Gateway or independent disaggregated routing test. Classifier lifecycle and live Gateway/disaggregated execution remain follow-up work.
Issues and Ongoing Work
Part of #16591 and #16595. This addresses the worker-selection catalog refusal described in #16591; that issue stays open for classifier and request-lifecycle work. Discovered while working on #17580; its conformance changes remain in their separate PR.
Pull Request Checklist
/pr-checklistskill.