Yicong-Huang opened a new pull request, #4803:
URL: https://github.com/apache/texera/pull/4803

   ### What changes were proposed in this PR?
   
   Adds scalatest coverage for 
`amber/src/main/scala/org/apache/texera/amber/engine/architecture/scheduling/config/LinkConfig.scala`.
 The `toPartitioning` partition-routing helper had no dedicated spec.
   
   ### Any related issues, documentation, discussions?
   
   Closes #4801.
   
   Two related bugs are pinned in the spec with explanatory comments and filed 
separately as Bug issues: (1) the `OneToOne` arm uses `List.zip` and silently 
truncates on unequal-length input — the same hazard as the parallel 
`ChannelConfig` issue (#4799). (2) The `BroadcastPartition` arm uses `zip` 
instead of the cross product, both diverging from the broadcast contract and 
from `ChannelConfig`'s broadcast routing in the same package.
   
   ### How was this PR tested?
   
   ```
   sbt scalafmtCheckAll
   sbt "WorkflowExecutionService/testOnly 
org.apache.texera.amber.engine.architecture.scheduling.config.LinkConfigSpec"
   ```
   
   ### 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]

Reply via email to