aglinxinyuan opened a new pull request, #4562: URL: https://github.com/apache/texera/pull/4562
### What changes were proposed in this PR? Add `ScheduleSpec` covering the iterator semantics of `Schedule` (`amber/src/main/scala/org/apache/texera/amber/engine/architecture/scheduling/Schedule.scala`): - `getRegions` flattens all level sets across the map - Iteration order follows ascending level keys, starting from the minimum - `hasNext` / `next()` semantics including empty schedule, exhaustion, and non-zero starting level keys - Gap-stop behavior on non-contiguous level keys ### Any related issues, documentation, discussions? Closes #4561 ### How was this PR tested? `sbt "WorkflowExecutionService/testOnly org.apache.texera.amber.engine.architecture.scheduling.ScheduleSpec"` — 7/7 tests pass. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 4.7) -- 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]
