<#4333 [BUG] UI show unknown state and inaccessbil...
# flyte-github
c
#4333 [BUG] UI show unknown state and inaccessbility to logs for timeout task Issue created by leonlnj ### Describe the bug As a user running a task that got timed out, the ui show inconsistent behaviour and misleading/missing information. For the timeout task, the state in the db for executions is updated to
aborted
, however on the UI it show different presentations. The task went from
Running
to
Unknown
state. Inconsistently the UI shows
timeout in node
, which is misleading to users as the node had ran and the inaccessibility to logs hinder debuggability. • Incorrect state of task execution (unknown) • Incorrect start time duration (it runs forever when there is no task underlying • It doesn't show logs when clicked on task The execution state from the db is aborted [image](https://private-user-images.githubusercontent.com/30390872/279251589-0105fb0f-6113-4066-bb35-c7b33339b965.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDgwNDU2NjMsIm5iZiI6MTc0ODA0NTM2MywicGF0aCI6Ii8zMDM5MDg3Mi8yNzkyNTE1ODktMDEwNWZiMGYtNjExMy00MDY2LWJiMzUtYzdiMzMzMzliOTY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA1MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNTI0VDAwMDkyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE3YjY5YTE3YTY1ODQ5NmI4NTJlMzA2MDhmODNhYjZhOGQ5OTQwNWM1NTdlMjg0NDk1MmYwMzA4ZDE0ZjFlMGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.KWAE2w-q1hCp99yL0z0b0oHeQZgLF1akKaxX7-RfES4) [image](https://private-user-images.githubusercontent.com/30390872/280580974-d3bec95f-d108-4352-9070-0b4379287ff0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDgwNDU2NjMsIm5iZiI6MTc0ODA0NTM2MywicGF0aCI6Ii8zMDM5MDg3Mi8yODA1ODA5NzQtZDNiZWM5NWYtZDEwOC00MzUyLTkwNzAtMGI0Mzc5Mjg3ZmYwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA1MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNTI0VDAwMDkyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk0NjBhZjgxYTEzZjRhZjJhOWMyM2EwYTVmOTU2NjIzZmU3ZDMzMDE4MWEwNWVmNTM1NzBmOGE1OWUzMmViMTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.6nNyd_OToYhjYCyQUiKqFGQGZnmFlSx_ImhK2LG9qhs) ### Expected behavior The expected behaviour is shown below where a timeout message is shown and the state is failed with accessibility to logs [image](https://private-user-images.githubusercontent.com/30390872/279252474-f27dfcad-3d70-47b6-bfc6-0cc712b7f012.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDgwNDU2NjMsIm5iZiI6MTc0ODA0NTM2MywicGF0aCI6Ii8zMDM5MDg3Mi8yNzkyNTI0NzQtZjI3ZGZjYWQtM2Q3MC00N2I2LWJmYzYtMGNjNzEyYjdmMDEyLnBuZz9Y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GVhZGVycz1ob3N0In0.gWpVl-5Z0AE35Nm5QyqQKfkaL5oa_ZjoGUoq1CJeeJ4) ### Additional context to reproduce inject-finalizer has been set true. The issue happen only to timeout task and inconsistently.
Copy code
plugins:
      k8s:
        inject-finalizer: true
### Screenshots No response ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte