From a0c857f3c265e3d2b23c7d0863d1b50e6fe50973 Mon Sep 17 00:00:00 2001 From: shen <> Date: Mon, 8 Jun 2026 20:43:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=92=89=E9=92=89=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E4=BB=85=E5=9C=A8=E6=89=93=E5=8C=85=E6=88=90=E5=8A=9F=E6=97=B6?= =?UTF-8?q?=E5=8F=91=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/services/build_service.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/backend/services/build_service.py b/backend/services/build_service.py index 91ab663..16be81e 100644 --- a/backend/services/build_service.py +++ b/backend/services/build_service.py @@ -335,11 +335,6 @@ async def run_build_task(task_id: str): await log_streamer.emit(task_id, f"临时文件保留在: {build_dir}") await asyncio.to_thread(log_streamer.save_log, task_id, build_dir) - # 钉钉通知 - from .notification import notify_build_result - dingtalk = full_config.get("upload", {}).get("dingtalk", {}) - await notify_build_result(task, dingtalk) - except asyncio.CancelledError: await asyncio.to_thread(_db_update, db, task, status="cancelled", completed_at=datetime.utcnow()) @@ -372,11 +367,6 @@ async def run_build_task(task_id: str): await log_streamer.emit(task_id, f"临时文件保留在: {build_dir}") await asyncio.to_thread(log_streamer.save_log, task_id, build_dir) - # 钉钉通知 - from .notification import notify_build_result - dingtalk = full_config.get("upload", {}).get("dingtalk", {}) - await notify_build_result(task, dingtalk) - finally: log_streamer.complete(task_id)