Yicong-Huang opened a new pull request, #4800: URL: https://github.com/apache/texera/pull/4800
### What changes were proposed in this PR? Adds scalatest coverage for `amber/src/main/scala/org/apache/texera/amber/engine/architecture/scheduling/config/ChannelConfig.scala`. The `generateChannelConfigs` partition-routing helper had no dedicated spec. ### Any related issues, documentation, discussions? Closes #4798. Bug pinned in the spec with explanatory comment (filed separately as a Bug issue): the `OneToOnePartition` arm uses `List.zip`, which silently truncates to the shorter input. Other arms either compute the full cross product or assert exact lengths (`SinglePartition` requires `toWorkerIds.size == 1`); only `OneToOne` drops surplus pairings without warning. ### How was this PR tested? ``` sbt scalafmtCheckAll sbt "WorkflowExecutionService/testOnly org.apache.texera.amber.engine.architecture.scheduling.config.ChannelConfigSpec" ``` ### 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]
