GitHub user sshiv012 added a comment to the discussion: Revert & Redo for AI 
Agent turns (rewind the workflow to before an agent edit)

Thanks for pointing this out. This edge case was overlooked because the current 
implementation serializes agent-side history operations, but assumes the 
persisted workflow still matches the snapshot recorded after the agent turn. A 
manual edit or update from another client can violate that assumption without 
changing the agent’s HEAD, causing revert to overwrite newer changes.
I’ll look into adding a workflow revision or digest precondition so revert can 
detect the mismatch and preserve the current state instead of replacing it. A 
patch-based revert may be a useful longer-term improvement.

GitHub link: 
https://github.com/apache/texera/discussions/6039#discussioncomment-17744285

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to