feat: improve mode and peripheral orchestration
This commit is contained in:
@@ -24,6 +24,14 @@ def compiled_mixed_result() -> dict[str, object]:
|
||||
"provider_used": "local_rules+infrared_local_rules",
|
||||
"execution_mode": "dry_run",
|
||||
"control_transport": "wired_can",
|
||||
"parallel_dispatch": {
|
||||
"enabled": True,
|
||||
"preflight_status": "succeeded",
|
||||
"dispatch": {
|
||||
"started_skew_ms": 1.2,
|
||||
"total_ms": 120.5,
|
||||
},
|
||||
},
|
||||
"function_configs": {
|
||||
"native_climate": {
|
||||
"spec": {
|
||||
@@ -155,6 +163,10 @@ class ValidatedControlProjectionTest(unittest.TestCase):
|
||||
"compile",
|
||||
],
|
||||
)
|
||||
self.assertEqual(
|
||||
projection["parallel_dispatch"]["preflight_status"],
|
||||
"succeeded",
|
||||
)
|
||||
serialized = json.dumps(projection, ensure_ascii=False)
|
||||
self.assertNotIn("command_plans", serialized)
|
||||
self.assertNotIn("data_hex", serialized)
|
||||
@@ -362,6 +374,10 @@ class ValidatedControlProjectionTest(unittest.TestCase):
|
||||
)
|
||||
self.assertNotIn("command_plans", safe_result)
|
||||
self.assertNotIn("validated_control_commands", safe_result)
|
||||
self.assertEqual(
|
||||
safe_result["parallel_dispatch"]["preflight_status"],
|
||||
"succeeded",
|
||||
)
|
||||
|
||||
def test_agent_tool_path_queues_projection_for_the_browser_thread(self) -> None:
|
||||
client = type("UnavailableClient", (), {"available": False})()
|
||||
|
||||
Reference in New Issue
Block a user