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(cli): match check timing phases [V10]

Corey Olson90c8685bc9ba
diff --git a/test/e2e-cli.test.js b/test/e2e-cli.test.js
index 7a774eb8..788aeac9 100644
--- a/test/e2e-cli.test.js
+++ b/test/e2e-cli.test.js
@@ -274,7 +274,7 @@ test('check runs the item\'s own check command, yours by default, and prints a d
assert.equal(green.code, 0, green.out);
assert.match(green.out, /^check green in \d+s: test -f web\/a.html/m);
assert.equal(green.out.split('\n').filter(Boolean).length, 2);
- assert.match(green.out, /timing \(test\): wall [0-9.]+s, slot wait [0-9.]+s; per-test timing unavailable: output was not TAP or JUnit; timing profile: /);
+ assert.match(green.out, /timing \(test\): wall [0-9.]+s, slot wait [0-9.]+s; phases: wait [0-9.]+s, admission [0-9.]+s, setup [0-9.]+s, run [0-9.]+s, evidence [0-9.]+s; slot: .+?; per-test timing unavailable: output was not TAP or JUnit; timing profile: /);
assert.match(green.out, /^check #1 set by coordinator \(unknown\):/);
assert.equal(box.run(box.repo, 'check', '1').code, 1, 'named, from another checkout: there the file is missing');
assert.match(box.run(box.web, 'check', '2').err, /NO_CHECK.*#2 has no check command/);