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:
ddfe28469bc164937bbf24488b4f84c9c91b6871 / Xinyuan Lin <[email protected]>
test(amber): cover CostBasedScheduleGenerator greedy search paths (#6157)

### What changes were proposed in this PR?

Extends `CostBasedScheduleGeneratorSpec` to cover the greedy
(`globalSearch = false`) search paths, which the existing tests never
exercised (they only ever call `bottomUpSearch`/`topDownSearch` with
`globalSearch = true`). Reusing the spec's existing pure-JVM harness
(the 4-op `csv → filter → join → filter` workflow), the new tests call
`bottomUpSearch()` and `topDownSearch()` with default args (greedy) and
assert a schedulable result (non-empty region DAG, finite cost, chosen
state ⊆ physical links, and fewer states explored than global search).

No production code changed.

### Any related issues, documentation, discussions?

Coverage gaps identified from the Codecov report for `apache/texera`
(amber module coverage push toward 80%).

### How was this PR tested?

```
sbt "WorkflowExecutionService/testOnly *CostBasedScheduleGeneratorSpec"
```

All 11 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])

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/28844792997

With regards,
GitHub Actions via GitBox

Reply via email to