You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by GitBox <gi...@apache.org> on 2026/07/23 01:11:06 UTC
[GH] (texera/gh-readonly-queue/main/pr-6762-c4569b1a35b3e038d826263bc2d41039f765d090): Workflow run "Required Checks" is working again!
The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-6762-c4569b1a35b3e038d826263bc2d41039f765d090 has succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).
Head commit for run:
f5ce72e1ac72a9749a5068de9846623284fb345f / Meng Wang <me...@uci.edu>
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/29970254614
With regards,
GitHub Actions via GitBox