Repository navigation
studiobench CI: boot Studio with update checks off so a mid-run llama.cpp release cannot cover the scene - #14007
Merged
Conversation
….cpp release cannot cover the scene
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. Swish! 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 17, 2026
## Summary `Chat UI Tests (extra)` failed on main at `eb0617b6` (run 38980950910) and on #14046 in the same window, with the same error: ``` playwright_chat_ime_i18n.py, line 645: composer.click() Locator.click: Timeout 60000ms exceeded. <p class="mt-1 text-ui-11 text-muted-foreground/70">54 MB download · No restart needed after update</p> from <div data-testid="overlay-rail" ...> ``` The job's screenshot shows the card: "New audio.cpp update, v0.9.1-unsloth.1 to v0.9.2-unsloth.1". The job installed audio.cpp at 00:54 UTC, and `unslothai/audio.cpp` published v0.9.2-unsloth.1 at 01:00:49. Studio's update check then saw the fresh install as one behind and put the card in the bottom-right overlay rail, on top of the composer. This is the same race #14007 fixed for studiobench (a llama.cpp release mid-job), now hitting the Chat UI smoke through the audio.cpp half of the same update item. Neither the product nor the IME script is wrong. Any llama.cpp, whisper.cpp or audio.cpp release that lands during a run can do this to any script in the job that clicks near the bottom-right. ## Change - **`studio-ui-smoke.yml`:** the `ui-smoke` job sets `UNSLOTH_DISABLE_UPDATE_CHECK: '1'` in its job env, with a comment explaining why. - These scripts test chat, not live update checks. - The two update banner scripts in this job stub `/api/studio/update-status`, `/api/llama/update-status` and `/api/llama/update-changelog` with `context.route`, so they do not depend on the live check. - The switch also defers the startup hardware warm, but this job already runs as `chat_only` on the CPU runner (`[ui-extra] chat_only mode: True` in the failing run). Loading a model still triggers detection as before. - **`tests/studio/test_studiobench_ci_update_checks_off.py`:** the existing studiobench guard now covers both workflows. - It is parametrized over `studiobench-ci.yml` and `studio-ui-smoke.yml`. - It requires the switch on every job that runs `boot-studio`. - It also fails if a step-level env sets the switch to anything other than `1`. ## Testing - **Guard:** the guard file gives 3 passed. With the workflow change reverted, it fails with `studio-ui-smoke.yml job 'ui-smoke' boots Studio without UNSLOTH_DISABLE_UPDATE_CHECK=1`. - **Other tests that read `studio-ui-smoke.yml`:** 123 passed. - **The job itself:** this PR changes `studio-ui-smoke.yml`, so its own Chat UI smoke run exercises all shards with the switch on.
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 CI / Real-path session, every action ranfailed on #13986 and #14000, which are unrelated. On the same base (a1d4daa) it passed on two other PRs a few minutes later. Both failures are the same click timeout:That element is the action row of
LlamaUpdateBanner, the "llama.cpp update available" card in the bottom-right overlay rail.unslothai/llama.cpppublished b11681 at 13:07:33, between the install and the session. The two failing runs were then one release behind, so Studio offered the update over the controls the scene clicks. Nothing in Studio or in either PR is wrong: any run that straddles a llama.cpp release hits it.Change
livenessjob boots Studio withUNSLOTH_DISABLE_UPDATE_CHECK=1. The backend's llama, whisper and audio update status already honours it and reportsupdate_checks_disabled, so no card is offered. The session measures chat rendering against its own pacer, so update UI is not part of what it checks.tests/studio/test_studiobench_ci_update_checks_off.pyrequires every studiobench job that boots Studio to set it, and checks that the name still matches whatutils/update_status.pyreads. It runs inworkflow-trigger-lint, astest_workflow_guards_run_unfiltered.pyrequires of workflow-reading guards.Testing
test_workflow_guards_run_unfiltered.pyplus the other tests that readworkflow-trigger-lint.yml: 176 passed.