MicroFish/frontend
andreicarpen 690aa10b47 fix(report): detect failure from agent log as fallback to progress poll
The progress.json update in the failure path is wrapped in a silent
except: pass, so if the write fails (concurrent read, disk issue) the
frontend never sees status === 'failed' and the resume banner stays
hidden even though the generation is dead.

Also, the agent log records action === 'error' synchronously inside the
exception handler, which is a more reliable signal than polling
progress.json. Flip reportStatus to 'failed' the moment that entry
appears so the banner renders without waiting for the next 3s progress
tick.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-18 16:52:29 +03:00
..
public Remove outdated README.md and update favicon in index.html 2025-12-16 20:58:48 +08:00
src fix(report): detect failure from agent log as fallback to progress poll 2026-04-18 16:52:29 +03:00
.gitignore Add project status report and frontend documentation 2025-12-10 14:49:11 +08:00
index.html fix(i18n): set HTML lang attribute before Vue mounts via inline script 2026-04-02 14:21:09 +08:00
package-lock.json fix(security): upgrade axios, rollup, picomatch to fix 3 high severity vulnerabilities 2026-04-02 15:00:33 +08:00
package.json fix(security): upgrade axios, rollup, picomatch to fix 3 high severity vulnerabilities 2026-04-02 15:00:33 +08:00
vite.config.js fix(i18n): fix curly quotes and missing @ alias in vite config 2026-04-01 15:45:43 +08:00