Skip to content

fix: align system prompt guidance with effective tool policy #1420

fix: align system prompt guidance with effective tool policy

fix: align system prompt guidance with effective tool policy #1420

Triggered via pull request August 31, 2026 16:49
Status Failure
Total duration 3m 56s
Artifacts 1

visual-regression.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 3 warnings, and 2 notices
extension-host-visual
Process completed with exit code 1.
src/visual/electron.visual.ts:212:6 › renders chat-dark in the real VS Code Extension Host: apps/vscode-e2e/src/visual/electron.visual.ts#L241
3) src/visual/electron.visual.ts:212:6 › renders chat-dark in the real VS Code Extension Host ──── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('.part.sidebar') 2 pixels (ratio 0.01 of all image pixels) are different. Snapshot: electron-chat-dark-sidebar.png Call log: - Expect "toHaveScreenshot(electron-chat-dark-sidebar.png)" with timeout 60000ms - verifying given screenshot expectation - waiting for locator('.part.sidebar') - locator resolved to <div role="none" id="workbench.parts.sidebar" class="part sidebar left pane-composite-part">…</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 - 2 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.part.sidebar') - locator resolved to <div role="none" id="workbench.parts.sidebar" class="part sidebar left pane-composite-part">…</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 - 2 pixels (ratio 0.01 of all image pixels) are different. 239 | const sidebar = running.page.locator(".part.sidebar") 240 | await expect(sidebar).toBeVisible() > 241 | await expect(sidebar).toHaveScreenshot(`electron-${scenario.name}-sidebar.png`) | ^ 242 | 243 | if (scenario.webviewSnapshot) { 244 | const webview = running.page.locator('iframe[src*="extensionId=ZooCodeOrganization.zoo-code"]') at /__w/Zoo-Code/Zoo-Code/apps/vscode-e2e/src/visual/electron.visual.ts:241:26
src/visual/electron.visual.ts:212:6 › renders chat-dark in the real VS Code Extension Host: apps/vscode-e2e/src/visual/electron.visual.ts#L241
2) src/visual/electron.visual.ts:212:6 › renders chat-dark in the real VS Code Extension Host ──── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('.part.sidebar') 2 pixels (ratio 0.01 of all image pixels) are different. Snapshot: electron-chat-dark-sidebar.png Call log: - Expect "toHaveScreenshot(electron-chat-dark-sidebar.png)" with timeout 60000ms - verifying given screenshot expectation - waiting for locator('.part.sidebar') - locator resolved to <div role="none" id="workbench.parts.sidebar" class="part sidebar left pane-composite-part">…</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 - 2 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.part.sidebar') - locator resolved to <div role="none" id="workbench.parts.sidebar" class="part sidebar left pane-composite-part">…</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 - 2 pixels (ratio 0.01 of all image pixels) are different. 239 | const sidebar = running.page.locator(".part.sidebar") 240 | await expect(sidebar).toBeVisible() > 241 | await expect(sidebar).toHaveScreenshot(`electron-${scenario.name}-sidebar.png`) | ^ 242 | 243 | if (scenario.webviewSnapshot) { 244 | const webview = running.page.locator('iframe[src*="extensionId=ZooCodeOrganization.zoo-code"]') at /__w/Zoo-Code/Zoo-Code/apps/vscode-e2e/src/visual/electron.visual.ts:241:26
src/visual/electron.visual.ts:212:6 › renders chat-dark in the real VS Code Extension Host: apps/vscode-e2e/src/visual/electron.visual.ts#L241
1) src/visual/electron.visual.ts:212:6 › renders chat-dark in the real VS Code Extension Host ──── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('.part.sidebar') 2 pixels (ratio 0.01 of all image pixels) are different. Snapshot: electron-chat-dark-sidebar.png Call log: - Expect "toHaveScreenshot(electron-chat-dark-sidebar.png)" with timeout 60000ms - verifying given screenshot expectation - waiting for locator('.part.sidebar') - locator resolved to <div role="none" id="workbench.parts.sidebar" class="part sidebar left pane-composite-part">…</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 - 2 pixels (ratio 0.01 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.part.sidebar') - locator resolved to <div role="none" id="workbench.parts.sidebar" class="part sidebar left pane-composite-part">…</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 - 2 pixels (ratio 0.01 of all image pixels) are different. 239 | const sidebar = running.page.locator(".part.sidebar") 240 | await expect(sidebar).toBeVisible() > 241 | await expect(sidebar).toHaveScreenshot(`electron-${scenario.name}-sidebar.png`) | ^ 242 | 243 | if (scenario.webviewSnapshot) { 244 | const webview = running.page.locator('iframe[src*="extensionId=ZooCodeOrganization.zoo-code"]') at /__w/Zoo-Code/Zoo-Code/apps/vscode-e2e/src/visual/electron.visual.ts:241:26
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/
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, 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/
extension-host-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, 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
46 passed (1.7m)
🎭 Playwright Run Summary
3 failed src/visual/electron.visual.ts:212:6 › renders chat-dark in the real VS Code Extension Host ───── src/visual/electron.visual.ts:212:6 › renders chat-dark in the real VS Code Extension Host ───── src/visual/electron.visual.ts:212:6 › renders chat-dark in the real VS Code Extension Host ───── 6 passed (1.2m)

Artifacts

Produced during runtime
Name Size Digest
extension-host-visual-regression
15.9 MB
sha256:c0e205dbc6af14652a9eb5143f43a377f69d0b885bd8ee3e49662aed47996562