WIP: PAIN2

This commit is contained in:
2026-03-05 14:43:45 -05:00
parent 0e3b479bd6
commit fca57841c6
8 changed files with 162 additions and 104 deletions

View File

@@ -21,11 +21,11 @@ def test_gui_ux_event_routing(live_gui) -> None:
print("[SIM] Testing Streaming Event Routing...")
stream_id = "Tier 3 (Worker): T-SIM-001"
# We use push_event which POSTs to /api/gui with action=mma_stream_append
# As defined in App._process_pending_gui_tasks
client.push_event('mma_stream_append', {'stream_id': stream_id, 'text': 'Hello '})
# We use push_event which POSTs to /api/gui with action=mma_stream
# As defined in AppController._process_event_queue
client.push_event('mma_stream', {'stream_id': stream_id, 'text': 'Hello '})
time.sleep(0.5)
client.push_event('mma_stream_append', {'stream_id': stream_id, 'text': 'World!'})
client.push_event('mma_stream', {'stream_id': stream_id, 'text': 'World!'})
time.sleep(1.0)
status = client.get_mma_status()