Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
test(ui): run the acceptance and architecture checks without a window
Bernhard Jackiewicz1d4c4ad125dc
diff --git a/graph-ui/tools/call-feedback-acceptance.mjs b/graph-ui/tools/call-feedback-acceptance.mjsindex d991bb6e7..f62b70c53 100644--- a/graph-ui/tools/call-feedback-acceptance.mjs+++ b/graph-ui/tools/call-feedback-acceptance.mjs@@ -43,6 +43,8 @@ const PROJECT = String(arg('project', 'django-demo'));const CONTROL = String(arg('control', 'cbm'));const ONLY = String(arg('only', 'galaxy,chat,architecture')).split(',');const MODEL = arg('no-model', false) !== true;+// Ohne Fenster, wie die Chat-Pruefung: ANGLE auf Metal gibt dem Modell die GPU mit shader-f16; `--headed` zeigt das Fenster.+const HEADED = arg('headed', false) === true;const VIEWPORT = { width: 1600, height: 1000 };// Ein vollstaendiges ffmpeg zuerst: das von Playwright mitgelieferte kennt nur die Filter fuer die Aufnahme.const FFMPEG = ['/opt/homebrew/bin/ffmpeg', '/usr/local/bin/ffmpeg', join(homedir(), 'Library/Caches/ms-playwright/ffmpeg-1011/ffmpeg-mac')].find((path) => existsSync(path));@@ -622,8 +624,8 @@ await mkdir(join(OUT, 'bilder'), { recursive: true });await mkdir(join(OUT, 'streifen'), { recursive: true });await mkdir(join(OUT, 'video'), { recursive: true });const context = await chromium.launchPersistentContext(PROFILE, {- headless: false, viewport: VIEWPORT, deviceScaleFactor: 2,- args: ['--enable-unsafe-webgpu', '--ignore-gpu-blocklist'],+ headless: !HEADED, viewport: VIEWPORT, deviceScaleFactor: 2,+ args: ['--enable-unsafe-webgpu', '--ignore-gpu-blocklist', '--use-angle=metal', '--enable-gpu'],recordVideo: { dir: join(OUT, 'video'), size: VIEWPORT },});await context.addInitScript(pageProbe);diff --git a/graph-ui/tools/handtest-fixes-architecture.mjs b/graph-ui/tools/handtest-fixes-architecture.mjsindex 41375be47..793f71fd3 100644--- a/graph-ui/tools/handtest-fixes-architecture.mjs+++ b/graph-ui/tools/handtest-fixes-architecture.mjs@@ -53,6 +53,8 @@ const CONTROL = String(arg('control', 'cbm'));const ONLY = String(arg('only', 'K18,K19,K20,K21,K22,K23,K25,K26')).split(',');const VIEWPORT = { width: 1600, height: 1000 };const SCALE = 2;+// Ohne Fenster, wie die Galaxy-Pruefung; `--headed` zeigt es.+const HEADED = arg('headed', false) === true;const THREE_CLOCK = 'THREE.THREE.Clock: This module has been deprecated. Please use THREE.Timer instead.';const wait = (ms) => new Promise((done) => setTimeout(done, ms));@@ -653,7 +655,7 @@ async function k26(page) {/* ------------------------------------------------------------------ */const context = await chromium.launchPersistentContext(PROFILE, {- headless: false, viewport: VIEWPORT, deviceScaleFactor: SCALE,+ headless: !HEADED, ...(HEADED ? {} : { channel: 'chromium' }), viewport: VIEWPORT, deviceScaleFactor: SCALE,args: ['--enable-unsafe-webgpu', '--ignore-gpu-blocklist'],});await context.addInitScript(() => {