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(runner): isolate missing-type completion control [C7,V4]

Corey Olson30527d6d6315
diff --git a/test/run-tests.test.js b/test/run-tests.test.js
index 9118ad84..40427445 100644
--- a/test/run-tests.test.js
+++ b/test/run-tests.test.js
@@ -670,6 +670,13 @@ if (process.argv[1] === ${JSON.stringify(fixture.runner)}) {
writeFileSync(${JSON.stringify(delivered)}, 'delivered');
return result;
}
+ // Keep failure reporting, but isolate this regression from the newer file-summary fallback.
+ if (type === 'test:summary' && data?.file === ${JSON.stringify(join(fixture.root, 'test/02-failing.test.js'))}
+ && data.success === false) {
+ const summary = { ...data };
+ delete summary.file;
+ args[0] = summary;
+ }
return originalEmit.call(this, type, ...args);
};
}