Sud0x67 opened a new issue, #17686:
URL: https://github.com/apache/dolphinscheduler/issues/17686

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Description
   
   Hi guys,
   
   I noticed that there’s duplicated code shared among 
`WorkflowSerialWaitStateAction`, `WorkflowSubmittedStateAction`, 
`WorkflowFailoverStateAction`, `WorkflowSuccessStateAction`, and others.
   
   To improve code conciseness and reduce redundancy, I plan to introduce two 
abstract base classes:
   
   - `WorkflowTerminalStateAction`, which handles only 
WorkflowFinalizeLifecycleEvent, and
   - `WorkflowPseudoStateAction`, which doesn’t receive any events and serves 
purely as a marker state.
   
   This refactoring helps eliminates duplication across these action classes.
   
   ### Are you willing to submit a PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to