Repository navigation
Studio: an offline audio.cpp listing checks the account grant on the disk pool - #14829
Conversation
|
@codex review |
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: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ 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". |
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ 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". |
#14134 gave disk-only GGUF listings their own thread pool so they never queue behind stalled Hub listings. The audio.cpp branch (
_audio_cpp_variants_answer) still ran the managed-account preflight withlisting_thread(False, require_model_access, ...): on the Hub pool and withoutoffline, even for an offline request. With the Hub pool held by stalled listings, an offline audio.cpp listing for a managed account waited for them before it reached its disk-only resolver, and the grant check itself could ask the Hub.Change
networkis computed first; the preflight then runs on the disk pool withoffline=Truewhen the listing is offline (request flag or Hub offline mode), the same way the generic listing path already passesofflinetorequire_model_access.Tests
tests/test_gguf_listing_threads.py::test_an_offline_audio_preflight_does_not_queue_behind_stalled_hub_listings: holds the only Hub pool worker, then lists an audio.cpp repo offline as a managed account. It fails on main (the preflight waits for the stalled worker) and passes here; it also checks the grant check gotoffline=Trueand the resolvernetwork=False.test_gguf_listing_threads.pyplus the GGUF variant and account access suites: 198 passed.