Repository navigation
refactor(frontend): remove unused workflow endpoint constants - #8896
Merged
aglinxinyuan merged 1 commit intoOct 8, 2026
Merged
aglinxinyuan merged 1 commit into
aglinxinyuan merged 1 commit into
Conversation
Execute, pause and resume have gone over the websocket since apache#811 (pause and resume) and apache#982 (execute) removed their http.post calls, leaving EXECUTE_WORKFLOW_ENDPOINT, PAUSE_WORKFLOW_ENDPOINT and RESUME_WORKFLOW_ENDPOINT unused. Drop them.
Contributor
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8896 +/- ##
=========================================
Coverage 92.59% 92.59%
Complexity 5043 5043
=========================================
Files 1252 1252
Lines 53583 53583
Branches 6672 6672
=========================================
Hits 49615 49615
Misses 2319 2319
Partials 1649 1649
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No unresolved issues were identified, and all changes preserve existing behavior.
0 open findings
🧠 Review effort: Lite
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
kunwp1
approved these changes
Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
Removes three exported REST endpoint constants from
execute-workflow.service.tsthat nothing imports:EXECUTE_WORKFLOW_ENDPOINT,PAUSE_WORKFLOW_ENDPOINTandRESUME_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 noqueryplan/execute,pauseorresumeREST routes.History
EXECUTE_WORKFLOW_ENDPOINT. #684 (2019-03-10), pause/resume buttons: the other twohttp.postcalls. #982 (2021-01-25), "Improves multiple ports support in Texera operators (Step 4)", which removed the last REST execute callThe 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, coveringexecute-workflow.service.spec.tsplus all 17 specs that import the service (18 files): 1363 tests pass, 1 is skipped (an existingit.skip).yarn format:ci: clean.npx ng build: success.To re-check:
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 5.5)
🤖 Generated with Claude Code