[arvados-workbench2] updated: 2.5.0-106-g20acd58a

git repository hosting git at public.arvados.org
Tue Mar 21 20:27:12 UTC 2023


Summary of changes:
 src/store/project-panel/project-panel-middleware-service.ts | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

       via  20acd58a6a5e0978d04bad960de9527248143907 (commit)
      from  0ebcec63d6618ccfc2462f6834919f9f6eab34f5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 20acd58a6a5e0978d04bad960de9527248143907
Author: Stephen Smith <stephen at curii.com>
Date:   Tue Mar 21 16:26:47 2023 -0400

    20251: Deduplicate container UUIDs before fetching missing process info
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/src/store/project-panel/project-panel-middleware-service.ts b/src/store/project-panel/project-panel-middleware-service.ts
index e939e59d..7051d062 100644
--- a/src/store/project-panel/project-panel-middleware-service.ts
+++ b/src/store/project-panel/project-panel-middleware-service.ts
@@ -81,12 +81,12 @@ export class ProjectPanelMiddlewareService extends DataExplorerMiddlewareService
 export const loadMissingProcessesInformation = (resources: GroupContentsResource[]) =>
     async (dispatch: Dispatch) => {
         const containerUuids = resources.reduce((uuids, resource) => {
-            return resource.kind === ResourceKind.CONTAINER_REQUEST
-                ? resource.containerUuid
-                    ? [...uuids, resource.containerUuid]
-                    : uuids
+            return resource.kind === ResourceKind.CONTAINER_REQUEST &&
+                    resource.containerUuid &&
+                    !uuids.includes(resource.containerUuid)
+                ? [...uuids, resource.containerUuid]
                 : uuids;
-        }, []);
+        }, [] as string[]);
         if (containerUuids.length > 0) {
             await dispatch<any>(loadContainers(
                 containerUuids,

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list