Sud0x67 opened a new pull request, #17687: URL: https://github.com/apache/dolphinscheduler/pull/17687
<!--Thanks very much for contributing to Apache DolphinScheduler, we are happy that you want to help us improve DolphinScheduler! --> ## Purpose of the pull request This refactoring helps eliminates duplication across workflow state action classes. ## Brief change log I noticed that there’s duplicated code shared among `WorkflowSerialWaitStateAction`, `WorkflowSubmittedStateAction`, `WorkflowFailoverStateAction`, `WorkflowSuccessStateAction`, and others. To improve code conciseness and reduce redundancy, I have introduced two abstract base classes in this PR: `WorkflowTerminalStateAction`, which handles only WorkflowFinalizeLifecycleEvent, and `WorkflowPseudoStateAction`, which doesn’t receive any events and serves purely as a marker state. ## Verify this pull request <!--*(Please pick either of the following options)*--> This PR contains only refactoring changes and is covered by existing tests. -- 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]
