The GitHub Actions job "Required Checks" on texera.git/main has failed.
Run started by GitHub user github-merge-queue[bot] (triggered by 
github-merge-queue[bot]).

Head commit for run:
40526b8e1783e7782ce6043e7ca72840b7fbe04d / Xinyuan Lin <[email protected]>
test(amber): add NetworkOutputGateway SELF-rewrite and FIFO-state tests (#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])

Report URL: https://github.com/apache/texera/actions/runs/28853590747

With regards,
GitHub Actions via GitBox

Reply via email to