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

Head commit for run:
5ecf746ff12c84431991bd314eda25bd8d38ae14 / Xinyuan Lin <[email protected]>
test(workflow-core): add unit test coverage for FinalizePort and 
FinalizeExecutor markers (#4792)

### What changes were proposed in this PR?

Add `InternalMarkerSpec` covering the `FinalizePort` and
`FinalizeExecutor` payloads used to signal finalization within a
`TupleLike` stream:

- `FinalizePort` carries the configured `portId` and `input` direction
- Both markers are `TupleLike` with empty `getFields` and zero
`inMemSize`
- `FinalizePort` respects case-class equality on its constructor
arguments
- Two `FinalizeExecutor` instances are equal (no-field case class)
- The two markers are distinguishable via pattern matching (the test
classifies a heterogeneous `List[TupleLike]` and asserts the dispatch
labels), exercising the actual call-site idiom rather than just `==`

### Any related issues, documentation, discussions?

Closes #4791

### How was this PR tested?

`sbt "WorkflowCore/testOnly
org.apache.texera.amber.core.tuple.InternalMarkerSpec"` — 6/6 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/25284050724

With regards,
GitHub Actions via GitBox

Reply via email to