Repository navigation
studiobench: seed the browser with update notifications off - #15805
Merged
Merged
Conversation
The UI parity null control (merge base vs itself) fails on unrelated PRs: one cell times out clicking because the llama.cpp update card in the overlay rail covers its target. Update offers arrive on the network's schedule, so a cell that happens to get one measures and clicks into it. seed_init_script now writes unsloth_<channel>_notification_frequency=off for every channel; with nothing audible updateBannerAllowed keeps the card down. A selftest keeps the keys, channels and value in step with use-notification-frequency.ts.
Member
Author
|
@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. Nice work! 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". |
danielhanchen
added a commit
that referenced
this pull request
Oct 28, 2026
## Summary UI jobs fail on unrelated PRs when a llama.cpp, whisper.cpp or audio.cpp release is published mid-run. The prebuilt the job just installed becomes one behind, and Studio shows its update card in the bottom-right overlay rail, over the controls the scripts click: - **Windows UI lane** (the `Chat UI Tests` staging run for #15796, on current main `56278f5f65`): `FAIL in step "turn 3: 'Reply with exactly: world'"`, `Locator.click` on `button[aria-label="Send message"]` times out because the card's button row (`components/llama-update-banner.tsx`) intercepts the click. - **UI parity null control** (`Merge base vs itself, the null` on #15798 / #15799): one cell times out the same way. `UNSLOTH_DISABLE_UPDATE_CHECK=1` already keeps the card down: with it set, `get_update_status` never reports an update (`utils/update_status.update_checks_disabled`), and `test_studiobench_ci_update_checks_off.py` already requires it, but only for two named workflows (`studiobench-ci.yml`, `studio-ui-smoke.yml`). The Windows and Mac UI smokes, the parity arms, inline images, composer compatibility and the frontend browser jobs never set it. #15805 muted the notifications in studiobench's browser seed; this covers every browser lane at the backend, including the Playwright scripts that seed nothing. ## Change - `UNSLOTH_DISABLE_UPDATE_CHECK: '1'` at job level in every job that installs Playwright's browsers or runs studiobench: `studio-windows-ui-smoke` / `studio-mac-ui-smoke` `ui-smoke`, `studio-ui-smoke` `ui-indicator`, `studiobench-ui-parity` `arms` / `verdict`, `studiobench-ci` `selftests`, `studio-inline-images` `images`, `studio-composer-compatibility` `composer`, `studio-frontend-ci` `build` / `windows`. Jobs without a real Studio backend are unaffected by it. - `tests/studio/test_studiobench_ci_update_checks_off.py` now discovers those jobs across all workflows (installs Playwright browsers, runs studiobench, or boots Studio for Playwright) instead of checking two named files, so a new UI lane cannot ship without the switch. A `KNOWN` set of five lanes fails the guard if discovery stops recognising them. The step-level override check and the backend-name check are unchanged. No update-flow lane is touched: `studio-update-smoke` / `studio-windows-update-smoke` do not drive a browser, and `playwright_update_banner_layout.py` (Mac UI smoke) stubs `/api/llama/update-status` and `/api/studio/update-status` with `context.route`, so it does not depend on the backend's check. ## Testing - The guard: 14 passed with this change; against main's workflows it fails for all 10 uncovered jobs, the Windows UI lane and parity arms included. - All 124 test files that read `.github/workflows`: main and this branch fail the same single test (`test_cached_paths_hold_no_credentials.py::test_model_cache_variables_are_not_treated_as_credential_homes`, pre-existing on this host); 6058 passed on main, 6069 here (the new parametrized cases).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
studiobench-ui-parityfails itsMerge base vs itself, the nullcontrol on unrelated PRs (#15798 and #15799, both runs around 15:00): one of the four cells times out and the control refuses to print a verdict over the remaining pairs.The element in the way is the button row of the llama.cpp update card (
components/llama-update-banner.tsx), which floats in the bottom-rightoverlay-railover the composer. It appears when the backend sees a newer llama.cpp prebuilt than the runner installed, so whether a cell gets it depends on release timing, not on the build under test. Neither side of a null control is wrong here; the run just has an out-of-band card in it.Change
studiobench/runtime/lifecycle.seed_init_scriptnow also writesunsloth_<channel>_notification_frequency = "off"for every notification channel (llama,whisper,audio,unsloth). With every channel muted,updateBannerAllowedfinds no audible component and the card never renders; the update check itself still runs. Callers can still override any key throughextra_local_storage.runtime/selftest/test_studiobench_quiet_notifications.pykeeps this honest against the frontend: the muted channels must equalNOTIFICATION_CHANNELS, the key must matchfrequencyKeyinuse-notification-frequency.ts,"off"must still be aNOTIFICATION_FREQUENCIESvalue, and the seed script must write them.Testing
tests/studio/studiobench: 1509 passed, 145 skipped (the new selftest included).unslothchannel, and renaming the frontend key tounsloth_${channel}_notify_frequencyeach fail exactly one of the three new tests.updateBannerAllowedrequires an audible, unmuted component), covered bynotification-frequency*.test.tsandllama-job-lifecycle.test.ts.