The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-6649-a833e717367ef59d649dc6d920fceeb55ed60322
 has failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
57213d53fe577e2c3e013fcb8bb2ce54eacca5c7 / 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/29981362789

With regards,
GitHub Actions via GitBox

Reply via email to