Three bugs preventing changelog translations from being saved

FixSecurityService
Spegnimento
17 aprile 2026 alle ore 05:15 UTC
Autore
Kamo
Impegno
2483c57

1. **************** was discarding events because handleWebhook() had no @Transactional — save + publishEvent() ran outside any transaction. Add @Transactional to handleWebhook() to fix. 2. Both onCommitLogSaved() and retryIncompleteTranslations() called translateCommitLog() via 'this', bypassing the Spring proxy and defeating @Async and @Transactional. Use a @Lazy @Autowired self-reference so all calls go through the proxy. 3. retryIncompleteTranslations() fetched all 4,600 commit log IDs then passed them as a huge IN clause. Now uses the updated query with Pageable and caps back-fill at 50 commit logs per 5-minute run (~1,050 HTTP calls max).

Tutte le modifiche

Come quello che vedi la spedizione?

Ognuno di questi aggiornamenti atterra automaticamente nello spazio di lavoro. Inizia gratis e guardalo crescere settimana dopo settimana.

Inizia gratis per sempreVisualizza il prezzo