test: verify lost launch replies and reload recovery in a scratch browser
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user