wip: 客服Agent + RAG + 画像收尾(基于 6516ccb)
This commit is contained in:
@@ -98,7 +98,13 @@ async def test_config_release_lifecycle_is_versioned_and_audited() -> None:
|
||||
)
|
||||
await session.execute(
|
||||
delete(DomainEventOutbox).where(
|
||||
DomainEventOutbox.aggregate_id.in_([str(release_id), str(rollback_id)])
|
||||
DomainEventOutbox.aggregate_id.in_([str(release_id), str(rollback_id)]),
|
||||
# 必须限定 event_type:`aggregate_id` 是字符串列,`release_id` 是自增小整数,
|
||||
# 与其它域用小整数做 `aggregate_id` 的记录(例如知识库的
|
||||
# `knowledge.vector_sync_requested`,aggregate_id = fin_knowledge_meta.id)
|
||||
# 数值上会碰撞。只按 aggregate_id 删会**误删其它域的 outbox 行**,
|
||||
# 表现为那些知识行永远拿不到向量同步事件、静默不被索引。
|
||||
DomainEventOutbox.event_type == "config.cache_invalidate_requested",
|
||||
)
|
||||
)
|
||||
await session.execute(
|
||||
|
||||
Reference in New Issue
Block a user