missing commits

This commit is contained in:
2026-05-02 19:00:40 -04:00
parent 2441ea64a3
commit fbd03dc336
5 changed files with 226 additions and 6 deletions
+3 -5
View File
@@ -56,12 +56,10 @@ def test_mma_step_mode_approval_flow(live_gui) -> None:
tickets = status.get('active_tickets', [])
tid = tickets[0]['id']
# 4. Attempt to approve (THIS SHOULD FAIL OR DO NOTHING CURRENTLY)
# 4. Attempt to approve
print(f"[SIM] Attempting to approve ticket {tid}...")
# We'll try to use mutate_mma_dag to set status to in_progress
# (Note: this uses the bugged '_mutate_dag' endpoint internally if not fixed)
res = client.mutate_mma_dag({"ticket_id": tid, "status": "in_progress"})
print(f"[SIM] Mutate result: {res}")
res = client.approve_mma_ticket(tid)
print(f"[SIM] Approve result: {res}")
# 5. Verify it moved to in_progress
ok, status = _poll_mma_status(client, timeout=10, label="verify-in-progress",