aglinxinyuan opened a new pull request, #6159:
URL: https://github.com/apache/texera/pull/6159

   ### What changes were proposed in this PR?
   
   Adds `NetworkOutputGatewaySpec` (new) for the amber messaging layer's 
`NetworkOutputGateway`, which had no spec. Using a hand-rolled capture handler 
(no actor system), it covers the previously-untested paths:
   
   - `sendTo(ChannelIdentity, payload)` rewriting a `SELF` receiver to the 
actor id, and passing a non-`SELF` channel through verbatim;
   - `sendTo(SELF, DataPayload)` folding `SELF` to the actor id;
   - per-channel sequence-number increment and `getFIFOState`.
   
   No production code changed.
   
   ### Any related issues, documentation, discussions?
   
   Coverage gaps identified from the Codecov report for `apache/texera` (amber 
module coverage push toward 80%).
   
   ### How was this PR tested?
   
   ```
   sbt "WorkflowExecutionService/testOnly *NetworkOutputGatewaySpec"
   ```
   
   All 5 pass. `scalafmt` and `scalafixAll --check` are clean.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Opus 4.8 [1M context])
   


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