eye-gu opened a new issue, #18346: URL: https://github.com/apache/dolphinscheduler/issues/18346
### 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 countTaskInstanceStateByProjectCodes uses start_time filtering, resulting in missed tasks that have been submitted but not yet started executing (start_time is NULL) and inaccurate task status statistics ### What you expected to happen submit_time filtering should be used to ensure that all submitted tasks are counted ### How to reproduce 1. Create a workflow and submit tasks to put them in a waiting state. 2. View the task status statistics on the project homepage 3. The tasks have not been counted ### Anything else _No response_ ### Version dev ### Are you willing to submit 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]
