The GitHub Actions job "Comment commands" on texera.git/main has succeeded.
Run started by GitHub user Amer-Mukhtar (triggered by Amer-Mukhtar).

Head commit for run:
0ba5d1a22a3baaa61a36d1bbb8c4573d40e89b5c / Matthew B. <[email protected]>
test(frontend): add unit tests for execute-workflow guards (#6649)

### What changes were proposed in this PR?
- Add
`frontend/src/app/workspace/types/execute-workflow.interface.spec.ts`, a
new Vitest spec for the execute-workflow type guards, which previously
had no dedicated unit tests.
- Cover isWebPaginationUpdate (pagination vs snapshot/delta) and
isWebDataUpdate (snapshot/delta vs pagination).
- Cover isNotInExecution for all four terminal/uninitialized states
(true) and the seven active states (false).
### Any related issues, documentation, discussions?
Closes: #6648
### How was this PR tested?
- Run: `cd frontend && node --max-old-space-size=8192
./node_modules/nx/dist/bin/nx.js test gui --watch=false
--include=src/app/workspace/types/execute-workflow.interface.spec.ts`,
expect all 6 tests passing.
- Test-only change; no production code is modified.
### Was this PR authored or co-authored using generative AI tooling?
Co-authored with Claude Opus 4.8 in compliance with ASF

---------

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

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

With regards,
GitHub Actions via GitBox

Reply via email to