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: explain DevTools timeout budget [C7]

Corey Olsonba153e36d2f9
diff --git a/test/cockpit/perf/run.mjs b/test/cockpit/perf/run.mjs
index 65cd3da4..29c76f20 100644
--- a/test/cockpit/perf/run.mjs
+++ b/test/cockpit/perf/run.mjs
@@ -206,9 +206,9 @@ async function openNetworkCapture(profile, localOrigin, targetId) {
if (observerError) return rejectCommand(observerError);
if (closed) return rejectCommand(new Error('local Chrome network observer is closed'));
const id = ++nextCommand;
- const timer = setTimeout(() => {
+ const timer = setTimeout(() => { // budget: five-second hang ceiling for a stalled local DevTools command.
failObserver('local Chrome network observation command timed out');
- }, 5_000); // budget: five-second hang ceiling for a stalled local DevTools command.
+ }, 5_000);
commands.set(id, { resolve: resolveCommand, reject: rejectCommand, timer });
try { socket.send(JSON.stringify({ id, method, params })); } catch {
failObserver('local Chrome network observer could not send a command');