Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

test(core): isolate the setup view port [N26,N32]

Corey Olson3b27887f91ce
diff --git a/test/resume-flow.test.js b/test/resume-flow.test.js
index 71cf108b..cb3e9833 100644
--- a/test/resume-flow.test.js
+++ b/test/resume-flow.test.js
@@ -290,7 +290,7 @@ function recordSetupAnswer(box, command) {
/** Open the real local view and wait for its ready line before stopping its owned child. */
async function openSetupView(box) {
- const child = spawn(process.execPath, [join(box.root, 'cli/bin/pullboard.js'), 'view', '--no-open'],
+ const child = spawn(process.execPath, [join(box.root, 'cli/bin/pullboard.js'), 'view', '--no-open', '--port', '0'],
{ cwd: box.repo, env: { ...box.env, PULLBOARD_VIEW_FOREGROUND: '1' }, stdio: ['ignore', 'pipe', 'pipe'] });
let output = '', errors = '';
const closed = new Promise(resolve => child.once('close', (code, signal) => resolve({ code, signal })));