Defer NATS event publishing until after transaction commits to prevent RAG race condition

FixKBService
Name
lúc 22:16 30 tháng 3, 2026 UTC
Tác giả
Kamo
Cam kết
424279b

Events were firing inside @Transactional methods, causing RAGService to read stale data from CockroachDB before the commit. Also auto-defaults aiVisibleToMembers when AI is enabled with no visibility flags set, and guards event publishing to skip DRAFT articles.

Mọi thay đổi

Như những gì anh thấy vận chuyển?

Mỗi một bản cập nhật này đều được tự động cập nhật trong không gian làm việc của bạn. Bắt đầu tự do và xem nó lớn lên tuần này qua tuần khác.

Bắt đầu tự do mãi mãiXem truy cập