Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

Fix merged desktop tests: one notch binding, snapshot copy

justrach20120430262d
diff --git a/apps/native/electron/main.cjs b/apps/native/electron/main.cjs
index f14b721e..7b52a705 100644
--- a/apps/native/electron/main.cjs
+++ b/apps/native/electron/main.cjs
@@ -30,7 +30,6 @@ app.setPath('userData', process.env.GRAFF_ELECTRON_PROFILE || (process.env.GRAFF
if (process.env.GRAFF_ELECTRON_SMOKE) process.env.GRAFF_THEMES_DIR = path.join(app.getPath('userData'), 'themes');
let win, browser, backend, automation, computer, profiler;
let terminals;
-let notch;
const workspaceRequests = require('./workspace-open.cjs').workspaceOpen(target => {
if (win && !win.isDestroyed()) win.webContents.send('workspace-open', target);
});
diff --git a/apps/native/electron/yxlyx-regressions-visual.cjs b/apps/native/electron/yxlyx-regressions-visual.cjs
index bcda944a..91465049 100644
--- a/apps/native/electron/yxlyx-regressions-visual.cjs
+++ b/apps/native/electron/yxlyx-regressions-visual.cjs
@@ -38,7 +38,7 @@ async function runYxlyxRegressions({ win, origin }) {
await wait(`document.querySelector('[data-conversation-library]')?.textContent.includes('Active snapshot fixture')`);
await js(`Array.from(document.querySelectorAll('[data-conversation-library] li button')).find(e=>e.textContent.includes('Active snapshot fixture')).click()`);
await wait(`!!document.querySelector('[data-session-snapshot]')`);
- assert.match(await js(`document.querySelector('[data-session-snapshot]').textContent`), /not attached to a live REPL/);
+ assert.match(await js(`document.querySelector('[data-session-snapshot]').textContent`), /Live REPL status unknown/);
await wait(`!!document.querySelector('[data-saved-snapshot]')`);
assert.equal(await js(`document.querySelector('[data-chat][data-focused="true"] textarea')`), null, 'A saved snapshot cannot accept input before explicit continuation');
assert.match(await js(`document.querySelector('[data-saved-snapshot]').textContent`), /Live (?:REPL )?status unknown/);