#813 Several apps call ctx.wait_for_event(timeout=...) but SDK AppContext.wait_for_event takes timeout_seconds -> waiting actions crash (#agentic)

closed medium agentic Created 2026-07-06 01:03 · Updated 2026-07-06 23:31

Description

Edit
AppContext.wait_for_event (enterprise/apps/sdk/context.py:525) signature is (step_name, event_name, timeout_seconds=3600). But hello_world.wait_for_approval, notification_hub.send_alert_and_wait, and order_processing.{process_order_with_signals,ship_order,process_payment} call it with timeout= -> RuntimeError 'unexpected keyword argument timeout' -> action fails instead of suspending. SDK/app drift. Fix: accept timeout as an alias in the SDK, or correct the apps. Found while testing #812 (routing now correctly keeps them inline, but they still crash on the bad kwarg). approval_email/approval_gateway call it correctly.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...