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

FixKBService
Expediere
30 martie 2026 la 22:16 UTC
Autor
Kamo
Comite
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.

Toate modificările

Ca ceea ce vezi de transport maritim?

Fiecare dintre aceste actualizări aterizează automat în spațiul de lucru. Începe gratuit și urmăriți-l crească săptămână după săptămână.

Pornește gratuit pentru totdeaunaVezi prețurile