test: verify lost launch replies and reload recovery in a scratch browser

This commit is contained in:
2026-10-20 15:44:23 +01:00
parent 44834e91f0
commit e4f48ecbb1
4 changed files with 148 additions and 0 deletions
+2
View File
@@ -455,6 +455,7 @@ async function startRun() {
const run = existing ?? await repo.runPipeline(start.intent);
clearRunIntent(globalThis.sessionStorage, state.url, start.intent);
state.runStart = null;
pushRoute({ kind: "run", id: run.id });
await applyRoute({ kind: "run", id: run.id });
} catch (error) {
if (state.runStart !== start) return;
@@ -466,6 +467,7 @@ async function startRun() {
if (existing) {
clearRunIntent(globalThis.sessionStorage, state.url, start.intent);
state.runStart = null;
pushRoute({ kind: "run", id: existing.id });
await applyRoute({ kind: "run", id: existing.id });
return;
}