Repository navigation
Agent chat and ± viewer fixes from dogfood run 2 (cx-p5fgx, cx-4ukqc, cx-ku7r1) - #19746
Conversation
…ed (cx-p5fgx) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cx-p5fgx) Claude asks one question at a time, so a second edit arrives, diff included, while the first one's question is open. Edits that arrive while a question is open are held as pending until they complete or fail, and a pending edit draws as its call, not as an Edited fold (which also read 'Edited 0 files' for a lone pending edit). Red: 3 fail (Edited fold for a pending edit; 'Edited 2 files' with the unasked test edit). Green: bun test test/agent-pane-edit-awaiting-permission.test.ts, 4 pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…kqc) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The chat header's ± opens the viewer on Branch, where #19724 offered no Stage and took no fingerprint. Branch now reads the host's branch scope for the freshness check, and offers Stage on files with work-tree changes (the Unstaged file list, read once per load). Red: 3 fail (useDiffStageAction missing; no Branch fingerprint reader). Green: bun test test/diff-viewer-git.test.tsx test/diff-viewer-freshness.test.tsx, 6 pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…7r1) Beside a chat (about 400 px) Commit and Push in the toolbar's pill left the scope chip 32 px, so Branch read 'Br'. Below 600 px they move to a row under the toolbar. (Formatting of the new test is folded in.) Red: at 400 px the chip showed 32 of 121 px. Green: bun test test/diff-toolbar-narrow.test.ts (Chromium), 2 pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
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 |
|
Unclear: CI failed on
Not re-run automatically: Written by |
|
Agents: |
Gallery150 states changed: pages.settings/appearance-group-4, pages.settings/invalid-search-template, pages.settings/appearance-group-5, pages.settings/general-group-10, agent-pane.edited-files-settings/defaults, ... · 1 new state · 39 broken states · 79 play checks failed Diff page and renders (the run's 144 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):
528 nondeterministic states differed from a second render of the same head (a clock or fixture leak) and are not counted as changes. |
|
Merging with react-apps-check red on two suites that this PR doesn't touch:
This PR's suites pass in the same run: agent-pane-edit-awaiting-permission, diff-toolbar-narrow, diff-viewer-git and diff-viewer-freshness. |
#19812) * test: webviews files that start a dev server never run at once Red: editor-page, ui-a11y, text-field-focus and settings-scroll start `vp dev` themselves, outside the two configs the runner serializes, so they run in the parallel lane and race on node_modules/.vite. The no-timeout case also lacked grep and basename in its fake PATH, so it ran zero files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(ci): run every webviews file that starts a dev server one at a time editor-page, ui-a11y, text-field-focus, diff-virtualization, desktop-feel, menu-focus, files-panel-coverage and settings-scroll spawn `vp dev` themselves, so the serial lane's config match missed them and they ran in parallel, optimizing into one node_modules/.vite. On #19746's react-apps-check, editor-page's first page never loaded in 60 s, hit the 120 s file limit, and every later case failed with "browser has been closed". Match the `"dev",` spawn argument too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ache cmuxDevServer's config hook set a per-port cacheDir over vite.config.ts's, so the seven default-config files ignored CMUX_VITE_CACHE_DIR, copied an empty seed and started cold together (the #19746 stall). The plugin now prefers CMUX_VITE_CACHE_DIR. new-tab-typing and diff-toolbar-narrow call createServer and were not matched as dev server files at all. Cache upkeep in the worker no longer aborts the lane under set -e. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cache (no bead) (#19831) * test: webviews dev server files run at once, each on its own warm Vite cache #19812 ran every file that starts a dev server one at a time after the rest, so they never optimize into one node_modules/.vite at once; the web test phase went from 7m18s to 9m44s. Pin the faster contract: several at once, never on one cache, each but one per config starting from a warmed copy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: run webviews dev server files at once, each on its own warm Vite cache The dev configs read CMUX_VITE_CACHE_DIR (dev-server/viteCacheDir.mjs). The runner runs one file per config first, alone, to warm that config's cache, then the rest CMUX_WEB_TEST_DEV_JOBS at once (default half the jobs), each on its own copy: no two share node_modules/.vite and none starts the cold first bundle beside another. A config whose warming file fails keeps its files one at a time on cold caches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: run dev server webviews files two at a time At four at a time on the 8-core runner, per-file time barely moved and instructions-notice's frame budget and agent-pane-seen's attach timing failed under the load. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test: every dev config and createServer file uses its own Vite cache Red: vite.config.ts resolves to node_modules/.vite-dev-deps-0 (the dev server plugin's per-port cache) with CMUX_VITE_CACHE_DIR set, and new-tab-typing (createServer with vite.config.ts) gets no cache of its own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: give vite.config.ts and createServer test files their own Vite cache cmuxDevServer's config hook set a per-port cacheDir over vite.config.ts's, so the seven default-config files ignored CMUX_VITE_CACHE_DIR, copied an empty seed and started cold together (the #19746 stall). The plugin now prefers CMUX_VITE_CACHE_DIR. new-tab-typing and diff-toolbar-narrow call createServer and were not matched as dev server files at all. Cache upkeep in the worker no longer aborts the lane under set -e. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>






Three fixes from dogfood run 2 (hq #1893): the Edited card, and the diff viewer that the chat header's ± opens.
cx-p5fgx: an edit waiting on a permission question never reads as Edited.
Claude asks one question at a time. In run 2, a second edit (upload_test.sh) arrived with its diff while the first edit's question was still open. It read as "Edited upload_test.sh +1 -1" with nothing on disk. #19708 held only the edit named in the question.
cx-4ukqc: the ± viewer stages and refreshes in Branch.
From a chat, the ± opens the viewer on Branch. #19724 offered Stage and the refresh check only in Unstaged, Staged and Uncommitted, so on that path neither worked.
branchfingerprint.cx-ku7r1: the scope chip stays whole beside a chat.
At about 400 px, Commit and Push in the toolbar pill left the scope chip 32 px, so "Branch" read "Br". Below 600 px, Commit and Push now move to a row under the toolbar.
cx-acd1d, also filed from run 2, was my misreading of the accessibility dump; it's closed without a change. The header icons are labeled, and the unlabeled buttons were the window's traffic lights.
Verification
test/agent-pane-edit-awaiting-permission.test.ts(Chromium)test/diff-viewer-git.test.tsx,test/diff-viewer-freshness.test.tsxtest/diff-toolbar-narrow.test.ts(Chromium, new harness)Each red is from a clean export of its test commit.
bun run check,ui-rules,diff-split-narrowpass. No new strings; web only.Changelog
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Fixes three issues from dogfood run 2 in the agent chat and the diff viewer that the chat header's ± opens.
Written for commit a64fd98. Summary will update on new commits.