soulsync/webui/src/routes/import
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
..
-ui feat(import): show MusicBrainz variants 2026-05-24 21:29:22 +03:00
-import.api.test.ts Fix #772: manual import progress bar stuck at 0 / 'Failed' on slow imports 2026-06-02 16:02:26 -07:00
-import.api.ts Fix #772: manual import progress bar stuck at 0 / 'Failed' on slow imports 2026-06-02 16:02:26 -07:00
-import.helpers.ts feat(webui): clarify import source metadata 2026-05-24 21:17:22 +03:00
-import.store.ts Fix Zustand shallow import 2026-05-24 14:47:29 -07:00
-import.types.ts feat(import): show MusicBrainz variants 2026-05-24 21:29:22 +03:00
-route.test.tsx feat(import): show MusicBrainz variants 2026-05-24 21:29:22 +03:00
album.tsx feat(webui): migrate import route to React 2026-05-24 21:11:40 +03:00
auto.tsx feat(webui): migrate import route to React 2026-05-24 21:11:40 +03:00
index.tsx feat(webui): migrate import route to React 2026-05-24 21:11:40 +03:00
route.tsx fix(webui): keep import pages cache-aware 2026-05-24 21:17:22 +03:00
singles.tsx feat(webui): migrate import route to React 2026-05-24 21:11:40 +03:00