The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-6762-b2ee4f6d69ff60cbe8a3c69b7e37613809a80178 has failed. Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).
Head commit for run: 7d74ec147c5e2143ea3e58379051f645dbbd85aa / Meng Wang <[email protected]> test(frontend): cover WorkflowCompilingService getOperatorInputSchemaMap (#6762) ### What changes were proposed in this PR? Extends the existing `WorkflowCompilingService` spec to cover `getOperatorInputSchemaMap` — and, through it, the private `extractOperatorInputPortSchemaMap` (`frontend/src/app/workspace/service/compile-workflow/workflow-compiling.service.ts`). > Note: the rest of the getters the issue lists > (`getWorkflowCompilationState` / `getWorkflowCompilationErrors` / > `getCompilationStateInfoChangedStream` / `getOperatorOutputSchemaMap` / > `getPortInputSchema` / `getOperatorInputAttributeType`) are already covered on > `main` (added in #6557), so this PR only fills the remaining gap. 4 tests cover `getOperatorInputSchemaMap`: - returns `undefined` when the compilation state is uninitialized; - returns `undefined` when there is no output-schema map; - returns `undefined` for an operator with no input links (the `extractOperatorInputPortSchemaMap` early-out); - resolves the input-port schema from an upstream operator's output schema over a real `scan → result` link. No production code was changed. ### Any related issues, documentation, discussions? Closes #6750 ### How was this PR tested? Extended unit tests, run locally in `frontend/` (all green; the failure path was verified by breaking an assertion to confirm the suite goes red): ``` ng test --watch=false --include src/app/workspace/service/compile-workflow/workflow-compiling.service.spec.ts # Test Files 1 passed (1) | Tests 33 passed (33) prettier --write <spec> # clean eslint <spec> # clean ``` ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Opus 4.8 [1M context]) Report URL: https://github.com/apache/texera/actions/runs/29896461256 With regards, GitHub Actions via GitBox
