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.

fix(view): use the Git fixture helper result correctly [N26]

Corey Olsond8a6f493f1e7
diff --git a/test/cockpit/perf/run.mjs b/test/cockpit/perf/run.mjs
index 31dbf4bf..b5d7996b 100644
--- a/test/cockpit/perf/run.mjs
+++ b/test/cockpit/perf/run.mjs
@@ -54,8 +54,7 @@ function registerHarnessProjects(board, projects) {
for (let index = 1; index < projects; index += 1) {
const root = join(board.workspace, 'projects', `project-${index + 1}`);
mkdirSync(root, { recursive: true });
- const git = runFixtureGit(['init', '-q', '-b', 'main'], { cwd: root, env: board.env, encoding: 'utf8' });
- if (git.status !== 0) throw new Error(git.failure ?? git.stderr);
+ runFixtureGit(['init', '-q', '-b', 'main'], { cwd: root, env: board.env, encoding: 'utf8' });
const initialized = runFixtureChild(process.execPath, [BIN, 'init', '--model', 'Stress fixture'],
{ cwd: root, env: board.env, encoding: 'utf8' });
if (initialized.status !== 0) throw new Error(initialized.failure ?? initialized.stderr);