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(view): explain bounded wait budgets [C7]

Corey Olson43b44e610e3e
diff --git a/test/cockpit/items.test.js b/test/cockpit/items.test.js
index 99dfba99..5e72c13a 100644
--- a/test/cockpit/items.test.js
+++ b/test/cockpit/items.test.js
@@ -1206,7 +1206,7 @@ test('Pipeline view shows every stage, status counts, stage ages, detail links a
const selector = `document.querySelector('#pipeline .pipeline-item[data-item="${id}"]')`;
await chrome.stable(`globalThis.__pipelinePressDiagnostic.arm(${selector})`);
await press(chrome, selector);
- await waitForPipelineItem(chrome, id);
+ await waitForPipelineItem(chrome, id); // budget: hang-only ceiling for the opened Pipeline item; no speed target.
assert.equal(await chrome.stable('view.item'), id, `${width}: every item opens its detail`);
await chrome.waitFor(`document.querySelector('#detail h2')?.textContent.includes('#${id}')`);
}
diff --git a/test/cockpit/spec.test.js b/test/cockpit/spec.test.js
index 070fae82..f6d37235 100644
--- a/test/cockpit/spec.test.js
+++ b/test/cockpit/spec.test.js
@@ -550,7 +550,7 @@ test('the Spec decline opens its reason form under a 6× CPU throttle [N26]', {
try {
await press(chrome, `document.querySelector(${JSON.stringify(decline)})`, { afterMouseDown: async () => {
box.run(demo.repo, 'shout', 'person', refreshText);
- await chrome.waitFor(`data.project.shouts.some(shout => shout.shout_text === ${JSON.stringify(refreshText)})`, 20_000); // budget: observe the real view poll carrying the private CLI write while native mouse input remains pressed.
+ await chrome.waitFor(`data.project.shouts.some(shout => shout.shout_text === ${JSON.stringify(refreshText)})`, 20_000); // budget: hang-only ceiling for the real view poll to carry the private CLI write while native mouse input is held; no throughput claim.
t.diagnostic(`6× pointer-held refresh before mouseup: ${JSON.stringify(await refreshTrace.snapshot())}`);
} });
} catch (error) {