Long Running

Reconnect to active workflow runs and replay persisted events over WebSockets.

ExampleDescription
Disruption CatchupTests full catch-up behavior for a running workflow when reconnecting with last_event_index=None.
Events ReplayTests replay behavior when reconnecting to a completed workflow run.
WebSocket ReconnectTests reconnect behavior for a running workflow: initial subscription, disconnection, reconnect, and missed-event catch-up.

Companion server

All three clients need the same local AgentOS server at ws://localhost:7777/workflows/ws, registering content-creation-workflow. Follow the shared server setup before starting a client. Active catch-up versus completed replay depends on the run state at reconnection.