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(relay): document declared CDP deadline assertion [H16,C7]

Corey Olsonf7ac659b3d7d
diff --git a/test/relay-browser-fixture.test.js b/test/relay-browser-fixture.test.js
index ce46b604..26d86947 100644
--- a/test/relay-browser-fixture.test.js
+++ b/test/relay-browser-fixture.test.js
@@ -15,7 +15,7 @@ async function stalledCommand(chrome, label, pending) {
assert.match(error.message, new RegExp(label));
const elapsed = /timed out after (\d+)ms/u.exec(error.message);
assert.ok(elapsed, 'the diagnostic reports the measured elapsed time');
- assert.ok(Number(elapsed[1]) >= 15000, 'the command does not time out before its configured deadline');
+ assert.ok(Number(elapsed[1]) >= 15000, 'the command does not time out before its configured deadline'); // budget: declared CDP commandTimeoutMs is 15000 in both fixtures; the timeout may not precede that deadline.
assert.match(error.message, /maximum event-loop delay \d+ms/);
assert.match(error.message, new RegExp('relay request pending: ' + pending));
return true;