Yicong-Huang opened a new pull request, #5205: URL: https://github.com/apache/texera/pull/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 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
