The GitHub Actions job "Required Checks" on texera.git/main has succeeded.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
7e2163f56ea904e57c4db28682bbfef16237f61c / Xinyuan Lin <[email protected]>
test(amber): add unit test coverage for LinkExecution (#4753)

### What changes were proposed in this PR?

Add `LinkExecutionSpec` covering the per-link channel-execution tracker
in `LinkExecution`:

- A fresh `LinkExecution` exposes no channel executions
- `initChannelExecution` registers a new `ChannelExecution` for the
given channel id
- A second `initChannelExecution` for the same channel id raises an
`AssertionError`
- Multiple distinct channel ids are tracked independently

### Any related issues, documentation, discussions?

Closes #4752

### How was this PR tested?

`sbt "WorkflowExecutionService/testOnly
org.apache.texera.amber.engine.architecture.controller.execution.LinkExecutionSpec"`
— 4/4 tests pass.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 4.7)

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to