soulsync/webui/src
BoulderBadgeDad 7956aaac9e Fix #772: manual import progress bar stuck at 0 / 'Failed' on slow imports
Per-track import does heavy synchronous server-side enrichment (metadata,
art, lyrics) that can take 60-90s/track, far longer when external sources
are degraded. The React apiClient (ky) had no timeout, so ky's default 10s
aborted the import-process request client-side even though the server
completed the import (200) and moved the files. The import loop then counted
the aborted call as an error, so the bar stayed at 0 and flipped to 'Failed'
while files imported fine.

Give the two import-process calls (album/process, singles/process) an
explicit 5-min timeout. Scoped to import only -- every other endpoint keeps
the 10s default; bounded, not disabled. Server behavior unchanged.

Adds a test asserting both calls pass the long timeout.
2026-06-02 16:02:26 -07:00
..
app test(webui): share shell bridge test helper 2026-05-23 21:23:33 +03:00
components refactor(webui): move badge into primitives 2026-05-24 21:17:22 +03:00
platform feat(webui): clarify import source metadata 2026-05-24 21:17:22 +03:00
routes Fix #772: manual import progress bar stuck at 0 / 'Failed' on slow imports 2026-06-02 16:02:26 -07:00
test test(webui): share shell bridge test helper 2026-05-23 21:23:33 +03:00
routeTree.gen.ts feat(webui): migrate import route to React 2026-05-24 21:11:40 +03:00
vite-env.d.ts Initial Vite app scaffolding & issues page impl 2026-05-13 22:24:46 +03:00