Repository navigation
Studio: show progress during audio generation - #10081
Imagineer99 merged 3 commits into
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. |
Audio generation lifecycle validationExact head: ccd7679 The change adds status feedback and an indeterminate progress bar during preparation, generation, stopping, and finishing. Stop remains available. Exact-SHA UI A/B against merge base 1400031 used one identical held-open supported-TTS request per side:
Validation completed:
CI note: Two Backend CI jobs are red on tests unrelated to this five-file Audio frontend diff. Current main c47645f reproduces the same failures. Pending checks may remain, so this does not claim the PR is ready or CI green. |
|
Reviewed and tested this at Close-upFull-page contextThis fixes a real UX gap: before the change, a long-running generation showed only Stop and could look stuck. Afterward, Studio shows a truthful live phase and an indeterminate progressbar without inventing a percentage or ETA.
The diff stays within frontend presentation and request-phase state; it does not change the Audio API, inference backend, persistence, dependencies, installers, or hardware paths. I did not find a PR-specific regression. |
|
Quick CI update. Everything related to this Audio UI change is passing including the frontend tests and build, lint, cross platform Studio checks and the pinned base vs head validation. The remaining failures are also present on |



Summary
Adds an accessible indeterminate progress bar to the Studio Audio page while speech or music generation is active. The status moves through preparing, generating, stopping, and finishing without inventing a percentage or ETA.
Motivation
Audio generation can take long enough that the page appears stuck. The existing button changes to Stop only after a request begins, but there was no explicit task indicator or announced phase.
Changes
How to test
The focused Audio set passes 69 tests. The full frontend suite passes 6,090 tests, and the production build succeeds.
Screenshots
Notes for reviewers
The Audio generation endpoint returns a completed response rather than numeric progress events. The bar is intentionally indeterminate, and Stop stays disabled during preparation, cancellation settlement, and final gallery reconciliation.
A focused Biome comparison reports no new diagnostics: the target has 11 inherited errors across the five touched files versus 13 on the exact base.
Related
Refs #8794