The GitHub Actions job "Required Checks" on texera.git/release/v1.2 has 
succeeded.
Run started by GitHub user xuang7 (triggered by xuang7).

Head commit for run:
911eb2f8546f55e070b9bcd59f682ef087d54683 / Kunwoo (Chris) 
<[email protected]>
fix(frontend): clean up websocket state when returning to the dashboard (#5565) 
[release/v1.2 backport] (#5609)

### What changes were proposed in this PR?

Backport of #5565 ("fix(frontend): clean up websocket state when
returning to the dashboard") to `release/v1.2`.

Applies as a clean `git cherry-pick -x` of the merged squash commit
`ad10b7f2b` — no conflicts and no prerequisite chain (unlike the #5280
backport in #5602). Frontend-only: 14 files changed, 391 insertions, 2
deletions, identical to the original.

For the full change description see #5565. In brief: websocket-derived
front-end state (the connection, plus execution status, console output,
and results built from its events) lives in singletons outside the
workspace and was never torn down when returning to the dashboard or
switching computing units, so stale state carried over. This tears that
state down in `WorkspaceComponent.ngOnDestroy()` and clears it again on
a computing-unit switch.

### Any related issues, documentation, discussions?

Backports #5565 (which closes #3120 on `main`). Related: #3093.

### How was this PR tested?

This is a backport with no changes beyond the single cherry-picked
commit, so it relies on the existing tests carried over from #5565
(added `*.spec.ts` cases across `computing-unit-status`,
`workspace.component`, `execute-workflow`, `workflow-console`,
`workflow-result`, `result-panel`, and `workflow-websocket`).

Backport fidelity was verified locally: after the cherry-pick, every
file touched by #5565 is byte-identical to its state on `main` at the
merged commit (`ad10b7f2b`), and `release/v1.2` had no independent
changes to any of those files.

Full compile and unit-test runs are left to CI.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 4.8)

Co-authored-by: Xinyuan Lin <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/27305479070

With regards,
GitHub Actions via GitBox

Reply via email to