The GitHub Actions job "Required Checks" on 
texera.git/gh-readonly-queue/main/pr-5205-9b850e2ed8927a28cf4842d8534d4cb3f0ab01b7
 has failed.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
b87d3b437e007485d0c10a841850e45067d07c70 / Yicong Huang 
<[email protected]>
test(amber): cover WorkflowExecutionsResource static helpers (#5205)

### What changes were proposed in this PR?

Extends `WorkflowExecutionsResourceSpec` to cover the companion-object
helpers that the JAX-RS endpoints lean on. The existing spec covered two
of them; this PR adds cases for status-filtered execution listing,
latest-execution lookup by `(wid, cuid)`, the expired-execution scan,
`insertOperatorExecutions`, `updateRuntimeStatsUri` (including the
no-match branch), the per-eid URI fetchers
(`getResultUrisByExecutionId`, `getConsoleMessagesUriByExecutionId`,
`getRuntimeStatsUriByExecutionId`) with their null/empty filtering,
`deleteConsoleMessageAndExecutionResultUris`, the DB-delete branch of
`removeAllExecutionFiles`, `updateResultSize`, the VFS-decoding logic in
`getResultUriByLogicalPortId`, and the private BFS-based
`getNonDownloadableOperatorMap` (via `PrivateMethodTester`).

Cleanup is extended to `OPERATOR_PORT_EXECUTIONS`,
`OPERATOR_EXECUTIONS`, `DATASET`, and `WORKFLOW_COMPUTING_UNIT` so
seeded rows don't leak between cases.

No production code is touched.

### Any related issues, documentation, discussions?

Closes #5204.

### How was this PR tested?

Added unit tests for the helpers listed above.

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

Generated-by: Claude Opus 4.7

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

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

With regards,
GitHub Actions via GitBox

Reply via email to