anthonychengit opened a new pull request, #6547: URL: https://github.com/apache/texera/pull/6547
### What changes were proposed in this PR? This PR adds unit-test coverage for `checkIfWorkflowBroken`. Covered behavior: - returns `false` when every link references existing operators; - returns `true` when a link source references a missing operator; - returns `true` when a link target references a missing operator; - returns `false` when the workflow has no links. ### Any related issues, documentation, discussions? Closes #6258 ### How was this PR tested? Tested with: - `node .yarn/releases/yarn-4.14.1.cjs prettier --check src/app/common/util/workflow-check.spec.ts` - `node .yarn/releases/yarn-4.14.1.cjs eslint src/app/common/util/workflow-check.spec.ts` - `node .yarn/releases/yarn-4.14.1.cjs test --include=src/app/common/util/workflow-check.spec.ts` ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex was used for implementation and verification assistance. I reviewed the final code and test output before submission. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
