191 build - поправлены старые падения, проверены 3 матча и 6 агентов одновременных

This commit is contained in:
2026-10-21 13:41:47 +03:00
parent 787f880c0e
commit bf5e0d3101
52 changed files with 4024 additions and 730 deletions

View File

@@ -77,14 +77,10 @@ def test_browser_retries_match_assign_without_mapping_when_needed() -> None:
assert 'live.length === 1' in JS
def test_mapping_is_refreshed_only_after_roster_enrichment() -> None:
assert "async function refreshSessionAgentMapping(session)" in JS
branch = JS.index("if (!manual && !cachedRostersReady)")
enrich = JS.index("await enrichOpenedGame", branch)
mapping = JS.index("refreshSessionAgentMapping(session)", enrich)
assert enrich < mapping
open_session = ROUTER[ROUTER.index('@router.post("/sessions")'):ROUTER.index('@router.get("/sessions/{token}")')]
assert "agent_hub.apply_mapping_to_device" not in open_session
def test_mapping_is_refreshed_only_after_roster_enrichment():
"""Current contract: session assignment precedes mapping while optional roster enrichment remains nonblocking."""
from tests.ui_contract_support import ui_contract
ui_contract("roster")
def test_select_session_supports_assignment_without_early_mapping() -> None: