anthonychengit opened a new pull request, #8533: URL: https://github.com/apache/texera/pull/8533
### What changes were proposed in this PR? Return `WorkflowAggregatedState.READY` when all non-completed child states are ready. This makes the existing workflow-level READY branch reachable. ``` Before: workers READY → operator RUNNING → workflow RUNNING After: workers READY → operator READY → workflow READY ``` Mixed READY/PAUSED states still aggregate to UNKNOWN. ### Any related issues, documentation, discussions? Closes #8148 ### How was this PR tested? The new operator/workflow expectations failed 3 tests before the one-line production fix; all 41 focused tests pass afterward: ```bash sbt "WorkflowExecutionService / Test / testOnly org.apache.texera.amber.engine.architecture.coordinator.execution.ExecutionUtilsSpec org.apache.texera.amber.engine.architecture.coordinator.execution.WorkflowExecutionSpec" sbt scalafmtAll sbt "scalafixAll --check" ``` ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Codex was used for implementation and verification assistance. I reviewed the final code and test output before submission. -- 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]
