The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-9328-4584c5cb9b0d242aa3f930769cedcadb55eed749
 has failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
ae2ebce0d417d8edaaadd3948799847110667a24 / Xinyuan Lin <[email protected]>
test(workflow-operator): drop unused IntervalOpExecSpec helpers (#9328)

### What changes were proposed in this PR?

`IntervalOpExecSpec` in `common/workflow-operator` previously contained
several unused test helper methods, dead fields, and unnecessary
imports:
- `physicalLink()`: constructs a `PhysicalLink` but is uncalled in any
test case.
- `physicalOpId()`: called only by `physicalLink()`.
- `counter`: field used exclusively by `physicalOpId()`, along with dead
reset statements `counter = 0`.
- `integerTuple()`: uncalled tuple construction helper (test cases
exclusively use `newTuple`, `doubleTuple`, or `timeStampTuple`).
- `longTuple()`: uncalled tuple construction helper.
- Unused imports: `OperatorIdentity`, `PhysicalOpIdentity`, and
`PhysicalLink`.
- `BeforeAndAfter`: the spec has no `before` or `after` block, so the
mixin and its import go too.

This PR removes these unused helpers, fields, and imports (-34 net
lines).

### Any related issues, documentation, discussions?

Closes #9326

### How was this PR tested?

Verified locally via sbt in the `WorkflowOperator` project:

```bash
sbt "WorkflowOperator/Test/compile" "WorkflowOperator/scalafmtCheckAll" 
"WorkflowOperator/scalafixAll --check" "WorkflowOperator/testOnly 
org.apache.texera.amber.operator.intervalJoin.IntervalOpExecSpec"
```

Result:
- Test/compile, `scalafmtCheckAll` and `scalafixAll --check`:
`[success]`
- `[info] Total number of tests run: 16`
- `[info] Suites: completed 1, aborted 0`
- `[info] Tests: succeeded 16, failed 0, canceled 0, ignored 0, pending
0`
- `[info] All tests passed.`

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

Generated-by: Google Antigravity (Gemini 2.5 Pro), Claude Code (Claude
Opus 5.5)

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

With regards,
GitHub Actions via GitBox

Reply via email to