bobbai00 opened a new pull request, #9604: URL: https://github.com/apache/texera/pull/9604
### What changes were proposed in this PR? Two ways an agent's chat could not be reopened: - **An agent on another workflow:** its tab was disabled behind a lock. It can now be selected, and shows the agent's workflow with a link to it in place of the chat. The agent stays inactive there, since an active agent loads its workflow into the canvas. The link is a plain one, as on the admin executions page: the workspace reads the workflow id only when it is created. - **Your own agent on this workflow:** a prompt sent right after its tab opened could arrive before the page fetched the workflow, carrying the content alone. The reload dropped the workflow's id and name, blanking the title and locking the tab. For an agent bound to the open workflow, the reload now keeps them. An agent bound to no workflow reloads as before. ### Any related issues, documentation, discussions? Part of #9575: this fixes the chats that cannot be reopened, and #9579 fixes the model card that does not respond. ### How was this PR tested? New specs cover the selectable tab, the link and the kept workflow id; each fails without its change. Also run in headless Chromium against a local stack with a real model, alone and merged with #9579. The link opens the agent's workflow, where the chat answers, and a prompt sent at once keeps the title. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Fable 5.2, Claude Opus 5.5) -- 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]
