fix(setup): preserve registration choices and own prewarm

This commit is contained in:
morluto committed 2026-10-27 03:23:50 +08:00
1 parent 3ca1cc5466
commit ca75643dbc
12 files changed
+373 -91

No files matched your search

+10
View File
@@ -401,6 +401,16 @@ const runSetupWorkflow = async (
detail: "Preparing the pinned package entry",
});
prewarm = await host.prewarmRegistrationRunner();
if (prewarm.status === "failed" && prewarm.interruptedSignal !== undefined)
return {
status: "cancelled",
plannedActions,
appliedActions,
clients,
clientStates,
doctor: summarizeDoctor(discovery.initialDoctor),
prewarm,
};
if (prewarm.status === "failed")
emitProgress(options, {
actionId: "prewarm_registration_runner",