The GitHub Actions job "Release Auditing" on texera.git/main has succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
71812eb2bb7c38f5b2a0c86c46e2383c75bbecc9 / Xinyuan Lin <[email protected]>
test(amber): add unit test coverage for Schedule iterator semantics (#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)

---------

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to