You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(workflow): filter rewound invocations during workflow rehydration
Runner.rewind_async records rewinds by appending an event with
rewind_before_invocation_id rather than deleting historical events from
session.events. ReplayManager._ensure_index, ReplayManager.scan_workflow_events,
NodeRunner._create_child_context, _find_unresolved_task_delegations,
_find_active_task_scope, restore_branch_from_history,
_find_user_message_for_invocation, and _resolve_invocation_id_from_fr
previously read raw session.events directly, so re-running or resuming a
workflow after rewind_async replayed rewound node outputs, branches, user
inputs, and task scopes instead of executing fresh.
Filter session.events through _apply_rewinds before indexing or scanning
workflow history.
Co-authored-by: Shangjie Chen <deanchen@google.com>
PiperOrigin-RevId: 987118607
0 commit comments