The GitHub Actions job "Required Checks" on texera.git/main has succeeded.
Run started by GitHub user github-merge-queue[bot] (triggered by 
github-merge-queue[bot]).

Head commit for run:
81f4458e4995e7a2aed738ef83a90f3cc808f2a1 / Xinyuan Lin <[email protected]>
test(workflow-operator): cover CSV scan exec and Twitter v2 source descriptors 
(#6135)

### What changes were proposed in this PR?

Extends three existing source-operator specs in
`common/workflow-operator` to cover Codecov-reported uncovered lines:

- **`CSVScanSourceOpExecSpec`** — adds instance-side tests that drive
`open()`/`produceTuple()`/`close()` over real temp CSV files (the
previously-covered object helpers are left untouched): a header CSV
emitting one tuple per row, `offset`+`limit` windowing, and graceful
skipping of an unparseable row.
- **`TwitterSearchSourceOpDescSpec`** — adds a `getPhysicalOp` test
asserting the wired `OpExecWithClassName`, ports, and (by invoking the
closure) the schema-propagation function.
- **`TwitterFullArchiveSearchSourceOpDescSpec`** — adds the matching
`getPhysicalOp` test (the existing
`sourceSchema`/`operatorInfo`/round-trip tests already cover the rest).

No production code is changed; this is test-only.

### Any related issues, documentation, discussions?

Coverage gaps identified from the Codecov report for `apache/texera`.

### How was this PR tested?

New/extended ScalaTest specs, run locally:

```
sbt "WorkflowOperator/testOnly *CSVScanSourceOpExecSpec 
*TwitterSearchSourceOpDescSpec *TwitterFullArchiveSearchSourceOpDescSpec"
```

All pass. `scalafmt` and `scalafixAll --check` are 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/28731469320

With regards,
GitHub Actions via GitBox

Reply via email to