Skip to content

Commit b4c52d3

Browse files
committed
fix(preview): align timeout checks with recovery guidance
1 parent 7bd5b16 commit b4c52d3

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎apps/server/src/preview/ServerBrowser.test.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,9 @@ it.live("preview_open reports its navigation timeout instead of the request budg
501501
_tag: "PreviewAutomationTimeoutError",
502502
timeoutMs: 15_000,
503503
});
504-
expect(error.message).toBe("Preview automation open timed out after 15000ms.");
504+
expect(error.message).toBe(
505+
"Preview automation open exceeded the browser's operation deadline. The browser responded; check preview_status on the same tab before retrying.",
506+
);
505507
}),
506508
).pipe(Effect.provide(layer)),
507509
);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"claudeSystemAppendBytes": 5129,
3-
"codexAdditionalContextBytes": 6859,
3+
"codexAdditionalContextBytes": 7415,
44
"mcpToolListJsonBytes": 46109
55
}

0 commit comments

Comments
 (0)