The GitHub Actions job "Benchmarks" on texera.git/main has succeeded.
Run started by GitHub user github-merge-queue[bot] (triggered by 
github-merge-queue[bot]).

Head commit for run:
a42c573f7d4515fbaa4dcecbb4399b01829310ef / Xinyuan Lin <[email protected]>
refactor(frontend): remove unused workflow endpoint constants (#8896)

### What changes were proposed in this PR?

Removes three exported REST endpoint constants from
`execute-workflow.service.ts` that nothing imports:
`EXECUTE_WORKFLOW_ENDPOINT`, `PAUSE_WORKFLOW_ENDPOINT` and
`RESUME_WORKFLOW_ENDPOINT`. **−5 lines.** There is no behaviour change.
Execute, pause and resume are sent over the websocket
(`WorkflowExecuteRequest` / `WorkflowPauseRequest` /
`WorkflowResumeRequest`), and the backend has no `queryplan/execute`,
`pause` or `resume` REST routes.

### History

| | |
| --- | --- |
| **Introduced by** | #622 (2018-06-21), the first execute-workflow
service: `EXECUTE_WORKFLOW_ENDPOINT`. #684 (2019-03-10), pause/resume
buttons: the other two |
| **Usage removed by** | #811 (2020-08-21), the Amber merge, which moved
pause/resume to websocket requests and removed their `http.post` calls.
#982 (2021-01-25), "Improves multiple ports support in Texera operators
(Step 4)", which removed the last REST execute call |

The pause/resume constants have been unused for six years, and the
execute one for nearly five.

### Any related issues, documentation, discussions?

Closes #8895

### How was this PR tested?

No new tests; no spec imported the constants.

>From `frontend/`:

- `npx ng test --watch=false`, covering
`execute-workflow.service.spec.ts` plus all 17 specs that import the
service (18 files): 1363 tests pass, 1 is skipped (an existing
`it.skip`).
- `yarn format:ci`: clean.
- `npx ng build`: success.

To re-check:

```
git grep -n -w -E 
"EXECUTE_WORKFLOW_ENDPOINT|PAUSE_WORKFLOW_ENDPOINT|RESUME_WORKFLOW_ENDPOINT"   
# no hits
```

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

Generated-by: Claude Code (Claude Opus 5.5)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

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

With regards,
GitHub Actions via GitBox

Reply via email to