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/22 09:57:13 UTC

[GH] (texera/gh-readonly-queue/main/pr-6762-8b9de82ee79b49f049c5dad451743d6cc170a964): Workflow run "Required Checks" failed!

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

Head commit for run:
2e2cb7650b70c14932f044ed01da3cbaae65514a / 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/29903845038

With regards,
GitHub Actions via GitBox