[Bugfix][MoE] Reject hash routing for unsupported monolithic backends (#57867)

Signed-off-by: Andreas Karatzas <Andreas.Karatzas@amd.com>
Co-authored-by: OpenAI Codex <noreply@openai.com>
This commit is contained in:
Andreas Karatzas
2026-09-21 16:28:35 -04:00
committed by GitHub
co-authored by OpenAI Codex
parent 54020c3c3e
commit 9179bcd416
5 changed files with 64 additions and 1 deletions
+1 -1
View File
@@ -58,6 +58,6 @@ def pytest_runtest_setup(item):
# Not tryfirst: the skipping plugin evaluates skip marks in a tryfirst
# hook, so tests about to be skipped never reach this, while fixture setup
# still runs afterwards.
if item.path.name in NEEDS_CLEAN_ENTRY:
if item.path.name in NEEDS_CLEAN_ENTRY or "dist_init" in item.fixturenames:
reset_workspace_manager()
cleanup_dist_env_and_memory()