Unable to retry / retrigger from /jobs UI a file stuck in an active state when source and converted files are in different statuses
cc @kin
Expected behaviour
System Admin should be able to retrigger any file stuck in an active status so that content can continue to be processed in a MVP production system.
Current behaviour
System Admin is unable to retrigger from /jobs UI a file stuck in an active status when its component and converted XML files are in another non-active status.
Steps to reproduce - Example 1
- Go to: https://ncbi.cloud68.co/organizations/6c4d37c4-b9f2-4962-9080-b3e29a37dfbd/bookmanager/b829db17-c2e8-43d0-adac-060d7769ee3b/8aca4d0e-e602-4ef1-a6ab-c299aa420f45#undefined
- Note Component and Converted XML file status are Previewing but the Source file status is Converting
- Go to: https://ncbi.cloud68.co/jobs
- Do a search for the component in #1 (closed) - bcms5889.1 and note you can not find it under active Converting status
This is effecting real GeneReviews production requiring creating of separate conversion areas to work.
Steps to reproduce - Example 2
- See: https://ncbi.cloud68.co/organizations/658826d2-e9ca-4405-85ec-2658ca0de1c7/bookmanager/6f4cb532-f639-44a4-99df-963776e68879/81bffda3-01d7-4f85-8025-ba1d9e6f0c21#a4c9aaf6-4b0c-406e-9c01-e293ec4340bd - see source file is stuck in Converting status
- Go to the Jobs UI Converting tab: https://ncbi.cloud68.co/jobs
- Do a control find for the chapter record we need to clear - bcms6954.1
- Notice it is not in the Jobs UI to clear though it is stuck in Converting
Environment
N/A
Possible solution
QA Steps
[To be completed by Coko once dev is done]
Scheduling
-
This issue is blocking current user testing -
This issue is blocking current migration testing -
Fixing this issue is required for Priority 1: Deploy MVP -
This issue should be triaged into later epics in the PM weekly meeting