fix: 유령 워크스페이스 삭제 대신 이름 변경으로 보존

- cleanup_orphans: 삭제 -> _orphan_YYYYMMDD 접미사 추가
- Git/Vikunja 설정 등 모든 데이터 보존됨
- 이름 충돌 없이 같은 이름으로 새 채널 등록 가능
This commit is contained in:
2026-03-06 21:22:39 +09:00
parent b9e4a94e9a
commit 1e8e8c324f
2 changed files with 36 additions and 9 deletions

View File

@@ -128,7 +128,7 @@ async def on_ready():
orphans = ws_manager.cleanup_orphans(all_channel_ids)
if orphans:
names = ", ".join(ws.name for ws in orphans)
logger.info(f"유령 워크스페이스 {len(orphans)}정리: {names}")
logger.info(f"유령 워크스페이스 {len(orphans)}보존(이름 변경): {names}")
# 등록된 워크스페이스 표시
ws_list = ws_manager.list_all()