Repository navigation
fix(studio): show queued downloads consistently across media routes - #13219
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Two reds here come from this PR:
The other reds ( |
The new driver was not named by any workflow, so the Playwright CI coverage guard failed and the regression never ran. Run it in the extra shard next to the other image download drivers.
Keep its screenshots and facts.json with the other image driver logs so a failure in that step can be debugged.
Signing out in another tab clears this tab's download jobs, but the Images, Video and Audio pages stay mounted and kept their staged queues published, so the panel listed queued downloads that no longer existed. Clear the staged queues in the same reset.
|
Images, Video and Audio now list every pending asset stage in the download panel, not only the one that is downloading. With a cached model that still needs two asset repos, the panel goes from one row to two: the active text encoder and the decoder marked Queued. What changed
Two Unsloth Studio builds were compared with the same mocked download plan: Unsloth Studio download panel, merge base |
|
@codex review |
|
Codex Review: Something went wrong. Try again later by commenting “@codex review”. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |

Selecting a cached image/video model can still require several asset downloads. The Hub shows upcoming stages, but media-page staging previously exposed only the active job, hiding the remaining encoder/decoder stages.
Reviewing #13112 highlighted a real visibility gap. This change brings the affected routes into parity with the existing Hub UI, keeping separate download stages rather than introducing a combined progress visualization.
The shared staging hook now publishes pending rows for Images, Video, and Audio. Active transfers are matched by scope, repository, and file set (or GGUF variant) to avoid duplicate rows. Pending rows clear on queue replacement, cancellation, completion, and unmount. Transfer order, byte counters, and page-owned loading remain unchanged; the Hub keeps its existing queue.
Before / after
Cached model, two missing asset repositories, identical encoder progress: 1 visible row → 2 visible rows, with the decoder shown as queued.
Captured from the real Studio UI using deterministic API responses in separate installations. No model bytes were downloaded and no GPU inference was run. Base
09ce38697f; head226c3968ba.Validation
Scope is queued-stage visibility. Same-repository component splitting and ordinary Chat's loader fallback are unchanged.