aglinxinyuan opened a new pull request, #6157: URL: https://github.com/apache/texera/pull/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]) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
