aglinxinyuan opened a new issue, #4567:
URL: https://github.com/apache/texera/issues/4567

   ### Task Summary
   
   `Region` 
(`amber/src/main/scala/org/apache/texera/amber/engine/architecture/scheduling/Region.scala`)
 is the unit of execution for the workflow scheduler but currently has no 
dedicated unit tests. Add `RegionSpec` covering its public surface:
   
   - Constructor exposes `physicalOps`, `physicalLinks`, and `ports` via 
`getOperators`/`getLinks`/`getPorts`
   - `getOperator(id)` looks up by `PhysicalOpIdentity` and throws 
`NoSuchElementException` for unknown ids
   - `topologicalIterator` yields operators in topological order derived from 
`physicalLinks`
   - `getSourceOperators` treats operators without input ports as sources
   - `getStarterOperators` equals `getSourceOperators` when no `resourceConfig` 
is provided
   
   ### Priority
   P3 – Low
   
   ### Task Type
   - [x] Testing / QA


-- 
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]

Reply via email to