Skip to content

[Bug]: A background import that fails tells the user nothing #375

Description

@thcp

What happens

Queue several imports, let one fail, and nothing says so.

completeSettledJob (catalog.js) re-fetches the job when it leaves the
queue, deletes the row for cancelled, and for error falls straight through
to addTrackToLibrary with the channel unchanged. queue.js has no error UI at
all — only console.warn.

The #error banner belongs to the foreground import, so it never fires for a
queued job. And updateTrackStatus(jobId, "error") sets a status the renderer
does not style: PROCESSING_STATUSES does not include "error", and the only
row modifiers are processing and unavailable.

Why it matters

An errored library row is pixel-identical to a healthy one. Queue three
tracks, lose one, never find out — you discover it later when you open a track
that has no stems.

Expected

A failed background import should say so where the user will see it, carrying
the same error / error_detail the foreground path already shows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingobservabilityLogging, monitoring, diagnosability

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions