From 1ed9cced59783df63b7150522a314179d82e1173 Mon Sep 17 00:00:00 2001 From: Gagan Date: Mon, 6 Jul 2026 20:04:43 +0530 Subject: [PATCH] fix(apps): re-report completed steps on publish resume Resumed publishes skipped already-done steps without emitting progress, so the dialog showed stale spinners for steps that finished in a prior attempt. --- apps/x/packages/core/src/apps/publisher.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/x/packages/core/src/apps/publisher.ts b/apps/x/packages/core/src/apps/publisher.ts index 093d7ac3..c346abaf 100644 --- a/apps/x/packages/core/src/apps/publisher.ts +++ b/apps/x/packages/core/src/apps/publisher.ts @@ -260,6 +260,9 @@ export async function publishApp( await writePublishRecord(folder, record); onProgress(step); }; + // Resume: re-report steps completed by a prior attempt so the UI shows + // them as done instead of leaving stale spinners. + for (const step of completed) onProgress(step as PublishStep); // 1. packaged const outDir = path.join(WorkDir, 'tmp', `app-publish-${name}`);