bobbai00 opened a new issue, #9464: URL: https://github.com/apache/texera/issues/9464
### Task Summary The agent edits its own copy of the workflow, loaded when the chat starts, and only hears about executions it starts. The user's later edits get lost, and the agent can't see why the user's execution failed or came back empty. Both already have live channels: the canvas joins a shared editing room, and every open canvas gets the computing unit's execution events. The agent joins neither. Add a shared session client to the agent service. It joins both for the chat's workflow, with the user's access: - the agent edits the shared workflow, not a copy - it gets every execution's events, whoever started it - its model sees a short summary of what changed at each step - the server saves the workflow, so the agent's edits stick with no browser open This settles the open question in #9457 about which copy the agent edits, and replaces the browser report in #9423. <img width="2560" height="1654" alt="The agent and the user in one shared editing and execution session: both edit the workflow and both start executions whose events reach everyone" src="https://github.com/user-attachments/assets/39af6935-ea1f-4209-b43b-9a87055b9c02" /> ### Task Type - [x] Refactor / Cleanup - [ ] DevOps / Deployment / CI - [ ] Testing / QA - [ ] Documentation - [ ] Performance - [ ] Other -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
