Skip to content

feat(ollama): add reasoning effort selectors and gate on Enable Thinking #1059

feat(ollama): add reasoning effort selectors and gate on Enable Thinking

feat(ollama): add reasoning effort selectors and gate on Enable Thinking #1059

Triggered via pull request August 22, 2026 18:30
Status Failure
Total duration 2m 40s
Artifacts 1

visual-regression.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 2 warnings, and 1 notice
webview-visual
Process completed with exit code 1.
[chromium] › src/components/chat/__tests__/ChatTextArea.visual.tsx:47:3 › renders the compact chat-input toolbar at narrow width in the VS Code light theme: webview-ui/src/components/chat/__tests__/ChatTextArea.visual.tsx#L81
4) [chromium] › src/components/chat/__tests__/ChatTextArea.visual.tsx:47:3 › renders the compact chat-input toolbar at narrow width in the VS Code light theme Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('#root').locator('internal:control=component') 382 pixels (ratio 0.03 of all image pixels) are different. Snapshot: chat-toolbar-narrow-light.png Call log: - Expect "toHaveScreenshot(chat-toolbar-narrow-light.png)" with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#root').locator('internal:control=component') - locator resolved to <div class="flex items-center gap-2 bg-vscode-editor-background p-2 text-vscode-foreground">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 382 pixels (ratio 0.03 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('#root').locator('internal:control=component') - locator resolved to <div class="flex items-center gap-2 bg-vscode-editor-background p-2 text-vscode-foreground">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 382 pixels (ratio 0.03 of all image pixels) are different. 79 | }) 80 | > 81 | await expect(component).toHaveScreenshot(`chat-toolbar-${widthName}-${theme.name}.png`) | ^ 82 | }) 83 | } 84 | } at /__w/Zoo-Code/Zoo-Code/webview-ui/src/components/chat/__tests__/ChatTextArea.visual.tsx:81:28
[chromium] › src/components/chat/__tests__/ChatTextArea.visual.tsx:47:3 › renders the compact chat-input toolbar at default width in the VS Code light theme: webview-ui/src/components/chat/__tests__/ChatTextArea.visual.tsx#L81
3) [chromium] › src/components/chat/__tests__/ChatTextArea.visual.tsx:47:3 › renders the compact chat-input toolbar at default width in the VS Code light theme Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('#root').locator('internal:control=component') 662 pixels (ratio 0.04 of all image pixels) are different. Snapshot: chat-toolbar-default-light.png Call log: - Expect "toHaveScreenshot(chat-toolbar-default-light.png)" with timeout 5000ms - verifying given screenshot expectation - waiting for locator('#root').locator('internal:control=component') - locator resolved to <div class="flex items-center gap-2 bg-vscode-editor-background p-2 text-vscode-foreground">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 662 pixels (ratio 0.04 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('#root').locator('internal:control=component') - locator resolved to <div class="flex items-center gap-2 bg-vscode-editor-background p-2 text-vscode-foreground">…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 662 pixels (ratio 0.04 of all image pixels) are different. 79 | }) 80 | > 81 | await expect(component).toHaveScreenshot(`chat-toolbar-${widthName}-${theme.name}.png`) | ^ 82 | }) 83 | } 84 | } at /__w/Zoo-Code/Zoo-Code/webview-ui/src/components/chat/__tests__/ChatTextArea.visual.tsx:81:28
[chromium] › src/components/chat/__tests__/ChatTextArea.visual.tsx:47:3 › renders the compact chat-input toolbar at narrow width in the VS Code dark theme: webview-ui/src/components/chat/__tests__/ChatTextArea.visual.tsx#L71
2) [chromium] › src/components/chat/__tests__/ChatTextArea.visual.tsx:47:3 › renders the compact chat-input toolbar at narrow width in the VS Code dark theme Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "documentClass": "vscode-dark", - "editorBackground": "#1e1e1e", + "editorBackground": "#1f1f1f", } Call Log: - Timeout 5000ms exceeded while waiting on the predicate 69 | }), 70 | ) > 71 | .toEqual({ | ^ 72 | documentClass: theme.bodyClass, 73 | editorBackground: theme.editorBackground, 74 | }) at /__w/Zoo-Code/Zoo-Code/webview-ui/src/components/chat/__tests__/ChatTextArea.visual.tsx:71:6
[chromium] › src/components/chat/__tests__/ChatTextArea.visual.tsx:47:3 › renders the compact chat-input toolbar at default width in the VS Code dark theme: webview-ui/src/components/chat/__tests__/ChatTextArea.visual.tsx#L71
1) [chromium] › src/components/chat/__tests__/ChatTextArea.visual.tsx:47:3 › renders the compact chat-input toolbar at default width in the VS Code dark theme Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "documentClass": "vscode-dark", - "editorBackground": "#1e1e1e", + "editorBackground": "#1f1f1f", } Call Log: - Timeout 5000ms exceeded while waiting on the predicate 69 | }), 70 | ) > 71 | .toEqual({ | ^ 72 | documentClass: theme.bodyClass, 73 | editorBackground: theme.editorBackground, 74 | }) at /__w/Zoo-Code/Zoo-Code/webview-ui/src/components/chat/__tests__/ChatTextArea.visual.tsx:71:6
webview-visual
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830, actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020, actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02, codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238, pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
theme-fixtures
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830, actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020, pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
🎭 Playwright Run Summary
4 failed [chromium] › src/components/chat/__tests__/ChatTextArea.visual.tsx:47:3 › renders the compact chat-input toolbar at default width in the VS Code dark theme [chromium] › src/components/chat/__tests__/ChatTextArea.visual.tsx:47:3 › renders the compact chat-input toolbar at narrow width in the VS Code dark theme [chromium] › src/components/chat/__tests__/ChatTextArea.visual.tsx:47:3 › renders the compact chat-input toolbar at default width in the VS Code light theme [chromium] › src/components/chat/__tests__/ChatTextArea.visual.tsx:47:3 › renders the compact chat-input toolbar at narrow width in the VS Code light theme 22 passed (34.3s)

Artifacts

Produced during runtime
Name Size Digest
webview-visual-regression
301 KB
sha256:d5d9c866870be08b9c1144a4f0999eaca10256192140de21972b1369851c49be