aglinxinyuan opened a new pull request, #6140: URL: https://github.com/apache/texera/pull/6140
### What changes were proposed in this PR? Extends `WorkflowExecutionSpec` to cover the two `WorkflowExecution.getState` branches the existing spec never exercised: - **PAUSED** — a running region whose operators are all paused; - **UNKNOWN** — a running operator with mixed worker states (one paused, one ready) that aggregates to `UNKNOWN`. Both are driven with the spec's existing region/operator/worker construction (a region carrying an incomplete port keeps its `RegionExecution` in `RUNNING`, so operator states are actually inspected). The `READY` return branch is intentionally not tested — it is dead code, since all-ready workers aggregate to `RUNNING`, so `OperatorExecution.getState` never returns `READY`. 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? Extended ScalaTest spec, run locally: ``` sbt "WorkflowExecutionService/testOnly *WorkflowExecutionSpec" ``` All 14 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]
