21077: Add explicit START/STOP_WORKING to loading functions
[arvados-workbench2.git] / src / store / processes / process.ts
index 1063d0bd487f87c33c0ec13f6d84695db3ecad35..a31fd9eac8b12b9cf8eea5d3956d588d47f8cc79 100644 (file)
@@ -134,8 +134,10 @@ export const getProcessStatus = ({ containerRequest, container }: Process): Proc
 
         case containerRequest.state === ContainerRequestState.FINAL &&
             container?.state === ContainerState.RUNNING:
-            // It's right about to be completed but we haven't
-            // gotten the updated container record yet
+            // It is about to be completed but we haven't
+            // gotten the updated container record yet,
+            // if we don't catch this and show it as "Running"
+            // it will flicker "Cancelled" briefly
             return ProcessStatus.RUNNING;
 
         case containerRequest.state === ContainerRequestState.FINAL &&