Repository navigation
webviews: base red: composer gallery plays wait out a cold Vite - #20681
Conversation
The first page of each composer play file waits on Vite compiling the gallery, which takes over 30 s on a busy runner: composer-search-files-key and composer-capture failed their first case on the readiness wait alone (the play passes once the frame is ready). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Bead |
This comment has been minimized.
This comment has been minimized.
|
all web/size checks green |
|
Passes: CI passes on CI passes on Written by |
|
|
#20561 mixes the light composer surface toward a literal white on purpose (lighter than the page, from the theme's page color), which the theme-colors ratchet counts as a fresh literal color. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
Gallery139 states changed: agent-pane.transcript/web-video-loaded, agent-pane.artifact-panel/html, agent-pane.transcript/long-code, agent-pane.edited-files/fourteen-files, agent-pane.transcript/copy-last-code-block, ... · 54 play checks failed Diff page and renders (the run's 133 more on the diff page. Live preview (follows this branch; start it with
Play checks failed (0 px anchor movement, 0 layout shift, no frame over 33 ms unless the entry gives a reason):
334 nondeterministic states differed from a second render of the same head (a clock or fixture leak) and are not counted as changes. |
# Conflicts: # webviews/src/agent-session/acpmux/composerStates.css
The same first-page readiness timeout as #20681's composer plays hit worktree-creating, instructions-notice and new-tab-add-project-layer (30 s Playwright default; their test timeout is already 120 s). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
#20695 now carries this PR's cold-Vite commit (ee90f94), cherry-picked, and extends the same 90 s first wait to three more play files that failed the same way. The coordinator asked for the bundle so that one PR's react-apps-check can go fully green under the feat gate. f79c943 (composer lift marked theme-fixed) was not carried, because #20688 already fixed that red on base. I'm leaving this PR open for its lane to close. |
…y plays wait out a cold Vite (no bead) (#20695) Bundles the base-red repairs: Chief/channel sheet lint labels, and the cold-Vite gallery play waits (cherry-picked from #20681, extended to three more files). Co-authored-by: Leo Li <cheerleaderleo@outlook.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…6fbz) (#20733) * test: a webviews test file can declare a longer limit (cx-v6fbz) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: editor-page declares a 240 s limit; the runner honors per-file limits (cx-v6fbz) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: browser tests warm their Vite server before the first page load (cx-v6fbz) Vite prints its port before it has transformed a module, so a test's first goto paid for the whole module graph inside its 30 s navigation timeout. On a busy CI runner that failed chat-find and text-field-focus (#20697), and the gallery-frame and agent-pane browser warm-ups hit the same wait (#20681). warmDevServer requests the page and every module it imports first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: diff-virtualization clicks a tree row only while it is still under the pointer (cx-v6fbz) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: react-apps-check job cap 30 -> 40 min (cx-v6fbz) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: the composer browser tests new on base warm their Vite server too (cx-v6fbz) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * check: a test that starts a Vite dev server must warm it (cx-v6fbz) The browser-lane check now fails a test file that starts a dev server (vite.listen() or a vp dev spawn) without warmViteServer/warmDevServer. On base it flags 80 of 240 test files; on this head none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: a declared webviews file limit never shortens the default (cx-v6fbz) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: the longer of a declared and the default webviews file limit wins (cx-v6fbz) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: review follow-ups: settings-scroll warms after its readiness poll; the diff row check climbs out of shadow roots (cx-v6fbz) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: agent-pane-bottom-stack (new on base) warms its Vite server (cx-v6fbz) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: text-field-focus declares a 240 s limit; its gallery warm-up and 22 loads took about 115 s (cx-v6fbz) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: move the react-apps-check cap raise to its own PR The ci-web.yml edit widens this PR's web scope to the web/ unit shards, which are red on base. The cap raise lands separately. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: give dev-server files 240 s and settle abandoned warm-up visits Review follow-up: the spawned-server files and menu-focus warm the whole gallery graph before their browser warm-up, which can pass the default 120 s file limit on a loaded runner. A failed warm-up visit no longer leaves the other in-flight visits as unhandled rejections. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>






web / react-apps-checkis red on base: the first case ofcomposer-search-files-key.test.tsand ofcomposer-capture.test.tstimes out after 30 s waiting for the gallery frame to say it is ready. It also fails locally on a clean base.The frame is not broken. A probe of the same frame reached ready and its play passed after about 20 s. The wait is cold Vite compiling the gallery for the first page, which takes over 30 s on a busy runner. The other cases in those files pass on the same frame.
This raises that first readiness wait to 90 s in the five composer play tests that share it. The play assertions are unchanged.
Changelog
none
🤖 Generated with Claude Code