The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-5924-c2e2f9c1cd9ce519460b5c74531763445b0acc4c has failed. Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).
Head commit for run: 85b17641f22df0025459675e3a2475a8a5c9a630 / Xinyuan Lin <[email protected]> test(workflow-operator): add unit test coverage for external API source descriptors (Twitter, Reddit) (#5924) ### What changes were proposed in this PR? Pin behavior of three previously-untested external-API source descriptors in `common/workflow-operator`. No production-code changes. | Spec | Source class | Tests | | --- | --- | --- | | `TwitterSearchSourceOpDescSpec` | `TwitterSearchSourceOpDesc` | 4 | | `TwitterFullArchiveSearchSourceOpDescSpec` | `TwitterFullArchiveSearchSourceOpDesc` | 4 | | `RedditSearchSourceOpDescSpec` | `RedditSearchSourceOpDesc` | 7 | **Behavior pinned** | Surface | Contract | | --- | --- | | `operatorInfo` | exact name + description; External API group; 0 inputs / 1 output | | field defaults | runtime defaults (Twitter `limit` is `0` not the schema's `100`; query/credential fields `null`; `APIName` `Some(...)`; Reddit `limit` is `100`) | | `sourceSchema()` | Twitter's fixed 33-column tweet schema; Reddit's fixed 17-column post schema (types pinned) | | `getOutputSchemas` | Reddit exposes its source schema keyed by the declared output port | | `generatePythonCode` | Reddit emits the PRAW source operator honoring the sorting method, and rejects missing credentials | | Round-trip | config fields preserved through the polymorphic `LogicalOp` base | Note: the Twitter source operators are `@deprecated` (no longer executable) but retained so legacy workflows still deserialize; those specs are annotated `@nowarn("cat=deprecation")` and pin that backward-compatible contract. ### Any related issues, documentation, discussions? Part of the ongoing `workflow-operator` unit-test coverage effort. ### How was this PR tested? - `sbt "WorkflowOperator/testOnly *TwitterSearchSourceOpDescSpec *TwitterFullArchiveSearchSourceOpDescSpec *RedditSearchSourceOpDescSpec"` — 15 tests, all green - `sbt "WorkflowOperator/Test/scalafmtCheck"` and `sbt "WorkflowOperator/scalafixAll --check"` — clean - CI to confirm ### 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/28224825866 With regards, GitHub Actions via GitBox
