The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-6819-234270b32857e70f61e0dcc4701c1053bf13095e
 has succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
7a3a633aa48bc2b086fd8cdd985a55e807b19e71 / Xinyuan Lin <[email protected]>
test(frontend): extend ComputingUnitStatusService unit test coverage (#6819)

### What changes were proposed in this PR?

Extends `computing-unit-status.service.spec.ts` with 8 tests (18 -> 26),
covering `selectComputingUnit`'s cache-miss (refresh + wait-for-unit +
websocket open), no-op guard (same wid+cuid), and
reconnect-on-wid-change paths, the websocket open with `(wid, uid,
cuid)`, and the status/metric stream branches. Coverage 82% -> ~100%. No
existing tests modified.

### Any related issues, documentation, discussions?

Closes #6815.

### How was this PR tested?

`ng test --include='**/computing-unit-status.service.spec.ts'` -> 26/26
passing. `yarn format:ci` passes.

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

Generated-by: Claude Code (Opus 4.8 [1M context])

---------

Signed-off-by: Xinyuan Lin <[email protected]>
Co-authored-by: Copilot Autofix powered by AI 
<[email protected]>
Co-authored-by: Meng Wang <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to