From 261036c7b2fdfc952e70f5cdbcc1c9f901235f57 Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Thu, 14 May 2026 13:32:38 +0900 Subject: [PATCH] =?UTF-8?q?ops(file-watcher):=20idle=20fire=20=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=20=EA=B0=80=EC=8B=9C=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit watch_inbox() 가 new_count/changed_count 둘 다 0 일 때 silent — PR-NAS-Watch-Folder 검증 시 fire 추적 부재 확인 후 보완. else 분기 추가해 매 5min fire 마다 "변경 없음 (idle)" info 로그 한 줄. Co-Authored-By: Claude Opus 4.7 (1M context) --- app/workers/file_watcher.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/workers/file_watcher.py b/app/workers/file_watcher.py index cbaa74d..0c65f60 100644 --- a/app/workers/file_watcher.py +++ b/app/workers/file_watcher.py @@ -174,3 +174,6 @@ async def watch_inbox(): if new_count or changed_count: logger.info(f"[Inbox+§3] 새 파일 {new_count}건, 변경 파일 {changed_count}건 등록") + else: + # idle fire 가시화 — PR-NAS-Watch-Folder 검증 시 silent fire 추적 부재 보완 + logger.info("[Inbox+§3] watch_inbox fire — 변경 없음 (idle)")