Skip to content

Check Motor PD roles and rank health before routing - #36

Draft
huangxinV587 wants to merge 4 commits into
mainfrom
branch/motor-gateway-readiness
Draft

huangxinV587 wants to merge 4 commits into
mainfrom
branch/motor-gateway-readiness

Conversation

@huangxinV587

@huangxinV587 huangxinV587 commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Motor exposes readiness on a separate management port and can report healthy instances even when a registered rank is unreachable. For a strict P/D deployment, the gateway checks management readiness and requires healthy, active, available prefill and decode instances for the configured model. An additional endpoint-probe option checks every rank in a candidate instance; other backend health behavior is unchanged.

Validation: python -m unittest discover -s tests -v (232 tests, 8 skipped); isolated Coordinator tests covered a P-only registry and a registered unreachable decode, both of which Motor still reported ready. With endpoint probing enabled, the candidate gateway routed a synthetic streaming session to the other Coordinator. This does not prove full physical failure recovery or continuation of an already-started stream.

@huangxinV587 huangxinV587 changed the title Support management-port readiness probes Check Motor readiness and required PD roles Nov 3, 2026
@huangxinV587 huangxinV587 changed the title Check Motor readiness and required PD roles Check Motor PD roles and rank health before routing Nov 3, 2026

This branch has not been deployed

No deployments
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