From 0c6babc01dc20e4fc14a397c64c0dbca8a6c0a07 Mon Sep 17 00:00:00 2001 From: devlasbe Date: Tue, 14 Jul 2026 12:00:15 +0900 Subject: [PATCH] =?UTF-8?q?[FE-69]=20chore:=20Slack=20=EC=95=8C=EB=A6=BC?= =?UTF-8?q?=EC=97=90=EC=84=9C=20deployment=20=EC=9D=B4=EB=A6=84=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0=C2=B7=EC=B2=B4=ED=81=AC=20=ED=91=9C=EA=B8=B0?= =?UTF-8?q?=20=EC=8B=AC=ED=94=8C=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - context μ€„μ˜ πŸ“¦ {deploymentName} ν•­λͺ© 제거 (μ‹€μ‚¬μš© deploymentκ°€ Production ν•˜λ‚˜λΏ) - Mandatory/Disabled ν‘œμ‹œ βœ…/❌ β†’ βœ“/βœ— - sendReleaseNotification ν˜ΈμΆœλΆ€ 2κ³³μ—μ„œ deploymentName 전달 제거 Co-Authored-By: Claude Fable 5 --- apps/server/src/routes/management.ts | 2 -- apps/server/src/utils/slack.ts | 8 +++----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/apps/server/src/routes/management.ts b/apps/server/src/routes/management.ts index d5bb731..cdcf45b 100644 --- a/apps/server/src/routes/management.ts +++ b/apps/server/src/routes/management.ts @@ -1336,7 +1336,6 @@ router.openapi(routes.deployments.release.create, async (c) => { c.executionCtx.waitUntil( sendReleaseNotification(c.env, { appName: app.name, - deploymentName, label: releasedPackage.label, appVersion: releasedPackage.appVersion, description: releasedPackage.description, @@ -1411,7 +1410,6 @@ router.openapi(routes.deployments.release.update, async (c) => { c.executionCtx.waitUntil( sendReleaseNotification(c.env, { appName: app.name, - deploymentName, label: updatedRelease.label, appVersion: updatedRelease.appVersion, description: updatedRelease.description, diff --git a/apps/server/src/utils/slack.ts b/apps/server/src/utils/slack.ts index 6ca3693..c122f50 100644 --- a/apps/server/src/utils/slack.ts +++ b/apps/server/src/utils/slack.ts @@ -18,7 +18,6 @@ const ACTION_EMOJI: Record = { type ReleaseNotificationType = { appName: string; - deploymentName: string; label?: string; appVersion: string; description?: string; @@ -49,11 +48,10 @@ export const sendReleaseNotification = async ( const summary = `*${info.label || "-"}* Β· App ${info.appVersion}`; const body = info.description ? `${summary}\n${info.description}` : summary; - // λΆ€κ°€ μ •λ³΄λŠ” μž‘μ€ context μ€„λ‘œ (Deployment Β· Mandatory Β· Disabled Β· μž‘μ„±μž) + // λΆ€κ°€ μ •λ³΄λŠ” μž‘μ€ context μ€„λ‘œ (Mandatory Β· Disabled Β· μž‘μ„±μž) const context = [ - `πŸ“¦ ${info.deploymentName}`, - `Mandatory ${info.isMandatory ? "βœ…" : "❌"}`, - `Disabled ${info.isDisabled ? "βœ…" : "❌"}`, + `Mandatory ${info.isMandatory ? "βœ“" : "βœ—"}`, + `Disabled ${info.isDisabled ? "βœ“" : "βœ—"}`, `πŸ‘€ ${info.releasedBy || "-"}`, ].join(" Β· ");