diff --git a/frontend/src/lib/components/JobLoader.svelte b/frontend/src/lib/components/JobLoader.svelte index 0994905121..c59f4266b7 100644 --- a/frontend/src/lib/components/JobLoader.svelte +++ b/frontend/src/lib/components/JobLoader.svelte @@ -411,6 +411,8 @@ errorIteration = 0 currentId = testId scriptProgress = undefined + notfound = false + loadError = undefined // Replay mode: feed recorded events instead of real SSE const replay = getActiveReplay() @@ -727,6 +729,9 @@ }), noLogs ) + // The completed-job branch below returns before the end of this block. + notfound = false + loadError = undefined callbacks?.change?.(job) } diff --git a/frontend/src/routes/(root)/(logged)/run/[...run]/+page.svelte b/frontend/src/routes/(root)/(logged)/run/[...run]/+page.svelte index 5fc7c1209d..183d10a003 100644 --- a/frontend/src/routes/(root)/(logged)/run/[...run]/+page.svelte +++ b/frontend/src/routes/(root)/(logged)/run/[...run]/+page.svelte @@ -41,8 +41,11 @@ Share2, Globe, Users, - Play + Play, + SearchX, + ArrowRight } from 'lucide-svelte' + import WorkspaceIcon from '$lib/components/workspace/WorkspaceIcon.svelte' import { forLater } from '$lib/forLater' import { isJobResolvable } from '$lib/utils' @@ -751,30 +754,50 @@ {:else if notfound || (job?.workspace_id != undefined && $workspaceStore != undefined && job?.workspace_id != $workspaceStore)} -
+ No run with ID + {page.params.run} + exists in + {currentWorkspace?.name ?? $workspaceStore}. It may belong to another workspace, or it may have been deleted. +
+