Skip to content

studiobench CI: boot Studio with update checks off so a mid-run llama.cpp release cannot cover the scene - #14007

Merged
danielhanchen merged 1 commit into
mainfrom
dh/ci-studiobench-no-update-banner
Oct 16, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
dh/ci-studiobench-no-update-banner

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Summary

studiobench CI / Real-path session, every action ran failed 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:

cell FAILED: TimeoutError: ElementHandle.click: Timeout 8000ms exceeded.
  - <div class="mt-4 flex shrink-0 flex-wrap items-center gap-x-1 gap-y-2 justify-between">... from <div data-testid="overlay-rail" ...> subtree intercepts pointer events

That element is the action row of LlamaUpdateBanner, the "llama.cpp update available" card in the bottom-right overlay rail.

run llama.cpp installed start (UTC) result
#14000 b11669 13:07 click intercepted
#13986 b11669 13:06 click intercepted
studio-video-unsloth-mirrors b11681 13:09 pass
studio-flux3-klein b11681 13:13 pass

unslothai/llama.cpp published 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

  • The liveness job boots Studio with UNSLOTH_DISABLE_UPDATE_CHECK=1. The backend's llama, whisper and audio update status already honours it and reports update_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.py requires every studiobench job that boots Studio to set it, and checks that the name still matches what utils/update_status.py reads. It runs in workflow-trigger-lint, as test_workflow_guards_run_unfiltered.py requires of workflow-reading guards.

Testing

  • New guard: 2 passed. With the workflow change reverted it fails.
  • test_workflow_guards_run_unfiltered.py plus the other tests that read workflow-trigger-lint.yml: 176 passed.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T13:36:17.934198Z d94d2f1 Manual request
🔒 Security Review ⚠️ Failed 2026-10-16T13:35:02.233553Z d94d2f1 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: d94d2f143b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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
danielhanchen merged commit cd2b12f into main Oct 16, 2026
@danielhanchen
danielhanchen deleted the dh/ci-studiobench-no-update-banner branch October 16, 2026 13:42
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant