Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: treat an absent latestUrl as unknown, not a stale-frame mismatch
[._.]/ Adam Eivyc26413fbde21
diff --git a/client/src/hooks/useSseJobSlot.js b/client/src/hooks/useSseJobSlot.jsindex 6a18660558..487d5561ad 100644--- a/client/src/hooks/useSseJobSlot.js+++ b/client/src/hooks/useSseJobSlot.js@@ -64,8 +64,14 @@ export default function useSseJobSlot({// Metadata and warning frames intentionally omit progress fields. Preserve the// last announced values across those sparse frames instead of flashing 0% /// "starting" between real progress updates.+ //+ // `latestUrl` is only a STALE-FRAME guard: the real hook sets it alongside+ // `latest`, so a mismatch means the frame belongs to a previous job. An absent+ // `latestUrl` means "unknown", not "mismatched" — treating it as a mismatch+ // would silently freeze progress for any consumer whose SSE seam is stubbed.useEffect(() => {- if (!job || !latest || sse.latestUrl !== jobUrl) return;+ if (!job || !latest) return;+ if (sse.latestUrl && sse.latestUrl !== jobUrl) return;setProgress((prev) => ({percent: Number.isFinite(latest.percent) ? Math.round(latest.percent) : prev.percent,stage: typeof latest.stage === 'string' && latest.stage ? latest.stage : prev.stage,