Files
ewoooc/services
ogt 352a99db58
All checks were successful
CD Pipeline / deploy (push) Successful in 1m21s
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
..