mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 03:13:41 +08:00
Three root causes for broken progress: 1. JobStageBar was shown whenever a job record existed (even at queued stage), hiding the working SSE-driven progress bar. Fix: only show JobStageBar when job.stage !== queued. 2. SSE connection only opened when hasProcessing was true (status === processing), but reprocess sets status to pending first. Fix: include pending in the hasProcessing check. 3. After reprocess, if processing finished before SSE connected, the status badge stayed on pending forever. Fix: immediately set local status to processing after reprocess API call, clear stale job entries, and add delayed re-fetches (5s/15s) as safety net. Also: clear rawJobs entries on raw.completed/raw.failed SSE events to prevent stale JobStageBar from lingering after processing ends. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| TEST_CASES.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| yarn.lock | ||