The GitHub Actions job "Build" on texera.git/main has succeeded. Run started by GitHub user Xiao-zhen-Liu (triggered by Xiao-zhen-Liu).
Head commit for run: f406e256ca4fe8fe09e89d359f4231c16f8d13c8 / Seongjin Yoon <[email protected]> fix(gui): reopen workflow websocket when switching workflows (#3773) ### Description: Ensure workflow executions are always attributed to the correct workflow even when reusing a computing unit across multiple workflows. Closes #3759 ### Problem: When users switch workflows without changing the computing unit, the frontend keeps the existing WebSocket session so the backend continues to use the previous wid and execution history is midfiled. In Texera, a WebSocket connection requires `wid` and `cuid`. When we switch to a different workflow, we call `registerWorkflowMetadataSubscription()`. This function calls `onComputingUnitChange()` when `wid` changes, but `onComputingUnitChange()` only checks for changes in `cuid` without checking `wid` changes. ### Solution: Have the Angular computing-unit status service track the `wid` and `cuid`, forcing the websocket to reconnect whenever either of them change and clear the cached identifiers when the selection disappears or is terminated. Additionally, fixed typo in `core/gui/src/app/workspace/component/power-button/computing-unit-selection.component.ts` --------- Co-authored-by: Seongjin Yoon <[email protected]> Co-authored-by: Seongjin Yoon <[email protected]> Report URL: https://github.com/apache/texera/actions/runs/18138305434 With regards, GitHub Actions via GitBox
