Detach canceled Live generation tails

AI-assisted: Codex
This commit is contained in:
Paul Bakaus
2026-07-13 10:08:27 -07:00
parent 2008381e91
commit db63d08168
3 changed files with 118 additions and 21 deletions
+3
View File
@@ -204,6 +204,9 @@ try {
if (args.action) await selectAction(session.page, String(args.action));
await resetBrowserTimingProbe(session.page, `${iteration}-followup`);
const nextFirstVariant = waitForFirstVariant(session.page);
// Keep teardown from surfacing this background waiter as an unhandled
// rejection if a preceding follow-up action is the real failure.
void nextFirstVariant.catch(() => {});
await clickGo(session.page);
await waitForBrowserGeneratePost(session.page);
run.acceptToNextGoDispatchMs = roundMs(performance.now() - acceptStartedAt);