From 4432c86f572eb6258892d29b338076afd2455c8d Mon Sep 17 00:00:00 2001 From: hjlarry Date: Fri, 10 Apr 2026 10:35:49 +0800 Subject: [PATCH] chore: rm unused console.warn --- web/app/components/app/app-publisher/index.tsx | 4 ---- .../components/workflow-header/features-trigger.tsx | 10 ---------- 2 files changed, 14 deletions(-) diff --git a/web/app/components/app/app-publisher/index.tsx b/web/app/components/app/app-publisher/index.tsx index 840a52f82e..d90b829d34 100644 --- a/web/app/components/app/app-publisher/index.tsx +++ b/web/app/components/app/app-publisher/index.tsx @@ -147,10 +147,6 @@ const AppPublisher = ({ const appId = appDetail?.id const socket = appId ? webSocketClient.getSocket(appId) : null - console.warn('[app-publisher] publish success', { - appId, - hasSocket: Boolean(socket), - }) if (appId) invalidateAppWorkflow(appId) else diff --git a/web/app/components/workflow-app/components/workflow-header/features-trigger.tsx b/web/app/components/workflow-app/components/workflow-header/features-trigger.tsx index b8638bbca7..840f124946 100644 --- a/web/app/components/workflow-app/components/workflow-header/features-trigger.tsx +++ b/web/app/components/workflow-app/components/workflow-header/features-trigger.tsx @@ -157,21 +157,11 @@ const FeaturesTrigger = () => { // Then perform the detailed validation if (await handleCheckBeforePublish()) { - console.warn('[workflow-header] publish start', { - appId: appID, - title: publishParams?.title ?? '', - }) const res = await publishWorkflow({ url: `/apps/${appID}/workflows/publish`, title: publishParams?.title || '', releaseNotes: publishParams?.releaseNotes || '', }) - - console.warn('[workflow-header] publish response', { - appId: appID, - hasResponse: Boolean(res), - createdAt: res?.created_at, - }) if (res) { toast.success(t('api.actionSuccess', { ns: 'common' })) updatePublishedWorkflow(appID!)