ogt 352a99db58 fix(ai-ops): HealLog DetachedInstanceError — refresh before expunge
SQLAlchemy expire_on_commit=True(預設) 會在 commit 後清空 ORM 屬性。
expunge 單獨使用仍會觸發 lazy-load → DetachedInstanceError。
修正:commit → refresh(重載屬性入記憶體)→ expunge(脫離 session)。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 16:14:00 +08:00
Description
AWOOOI - AI Operations Platform (Mirror from GitHub)
243 MiB
Languages
Python 78.8%
TypeScript 16.2%
Shell 4%
HTML 0.3%
PLpgSQL 0.3%
Other 0.3%