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

Head commit for run:
56d270dfc8e5797fd7b5c6ef43955cc7d7dbee2e / 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]>

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

With regards,
GitHub Actions via GitBox

Reply via email to