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(gate): print nested CPU placement gate errors [C7]

Corey Olson031627505a59
diff --git a/test/cpu-load-test-fixture.js b/test/cpu-load-test-fixture.js
index a755fbd1..dcbcff60 100644
--- a/test/cpu-load-test-fixture.js
+++ b/test/cpu-load-test-fixture.js
@@ -55,6 +55,7 @@ test('declared load stand-in', ${declaration}, () => {
const result = await awaitNestedRun(runFixtureChildAsync(process.execPath, [cli, 'gate', '--landing', '--json'],
{ cwd: box.repo, env, encoding: 'utf8' }));
const log = readFileSync(join(box.repo, '.git', 'pullboard-gate.log'), 'utf8');
+ if (result.status !== 0) console.error('CPU placement gate output:', result.stdout, '\nGate log:', log);
const match = /^# CPU_LOAD_EXECUTOR (.+)$/mu.exec(log);
return { result, log, executor: match ? JSON.parse(match[1]) : null };
},