anthonychengit opened a new pull request, #6548: URL: https://github.com/apache/texera/pull/6548
### What changes were proposed in this PR? This PR adds unit-test coverage for the pure helpers in `workflow-compilation-utils`. Covered behavior: - empty and single-element schema arrays compare equal; - deeply equal schemas and all-undefined schemas compare equal; - mismatched and mixed defined/undefined schemas compare unequal; - compilation errors produce a failed state keyed by operator ID; - existing errors are preserved only from an already-failed state; - output-port schema maps are initialized or carried over based on the input state. ### Any related issues, documentation, discussions? Closes #6259 ### How was this PR tested? Tested with: - `node .yarn/releases/yarn-4.14.1.cjs prettier --check src/app/common/util/workflow-compilation-utils.spec.ts` - `node .yarn/releases/yarn-4.14.1.cjs eslint src/app/common/util/workflow-compilation-utils.spec.ts` - `node .yarn/releases/yarn-4.14.1.cjs test --include=src/app/common/util/workflow-compilation-utils.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]
