HejiaHo opened a new issue, #18406: URL: https://github.com/apache/dolphinscheduler/issues/18406
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened <img width="1576" height="146" alt="Image" src="https://github.com/user-attachments/assets/4afd3266-4306-4526-897d-75b56e7ba854" /> workflow instance remains in RUNNING state <img width="618" height="363" alt="Image" src="https://github.com/user-attachments/assets/460df649-89c0-439b-a0c5-c1ca4d603842" /> The task instance failed. ### What you expected to happen Workflow instance should fail when a task instance fails instead of running indefinitely ### How to reproduce https://github.com/apache/dolphinscheduler/pull/18146 I found a fix for a similar issue in version 3.4.2, but the problem still remains. <img width="540" height="346" alt="Image" src="https://github.com/user-attachments/assets/e78265d8-297c-4566-a812-69ed9c85f40e" /> Success task code: ```shell sleep 5 exit 0 ``` Fail task code: ```shell sleep 5 exit 1 ``` ### Anything else _No response_ ### Version 3.4.2 ### Are you willing to submit PR? - [ ] 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]
