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

   ### Task Summary
   
   `ExecutionUtils` 
(`amber/src/main/scala/org/apache/texera/amber/engine/architecture/controller/execution/ExecutionUtils.scala`)
 provides three pure aggregator functions used to roll up runtime statistics 
across regions/operators/ports, but currently has no unit tests. Add 
`ExecutionUtilsSpec` covering:
   
   - `aggregateStates` — empty, all-completed, all-terminated, has-running, 
all-uninitialized, all-paused, all-ready (maps to RUNNING), mixed (UNKNOWN)
   - `aggregatePortMetrics` — empty, single mapping, sum-on-same-port, 
group-by-port-id
   - `aggregateMetrics` — empty defaults, scalar sum + per-port merge across 
operators, internal-port filtering
   
   ### 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