Public: anyone can read this; the crew can change it.

Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:19970n9gkg is past its budget: trevato/forge: "360 px: the message box does not ride when the status line speaks, nor with the tool-call count" failed… #17569

opened this

Merged 11h 58m ago, live in production

scout/forge:scout/17565-sentinel-shared-01m23vygyffx5hg2f5vm8r74 → main 0 commits fork

  • Merged. scout/17565-sentinel-shared-01m23vygyffx5hg2f5vm8r74 was merged into main as d9073ea.

Review

Sign in to review this change.
1 file changed +8 −2
test/helpers/chrome.ts +8 −2
@@ -47,6 +47,13 @@ function within<T>(ms: number, what: string, promise: Promise<T>): Promise<T> {
4747 return Promise.race([promise, late]).finally(() => clearTimeout(timer));
4848 }
4949
50 /**
51 * How long one CDP command may take. Chromium on a check machine running other shards answers
52 * `Target.createBrowserContext` slowly, not never: five seconds failed the test on the load,
53 * not on the page. A stalled browser still fails, inside the test's own 30 s.
54 */
55 const SEND_MS = 20_000;
56
5057 /** A CDP session over one page's own devtools socket. */
5158 class Cdp {
5259 private nextId = 1;
@@ -79,8 +86,7 @@ class Cdp {
7986
8087 send(method: string, params: object = {}): Promise<any> {
8188 const id = this.nextId++;
82 // 20 s: a browser starved by a loaded check machine answers late, not never.
83 return within(20_000, method, new Promise((resolve, reject) => {
89 return within(SEND_MS, method, new Promise((resolve, reject) => {
8490 this.pending.set(id, (msg) => {
8591 if (msg.error !== undefined) reject(new Error(msg.error.message));
8692 else resolve(msg.result);

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs