On Mon, 2026-06-08 at 13:59 +0200, Robin Jarry wrote: > Wrap the entire parse_mail() call in transaction.atomic() so that all > database writes from email parsing run inside a single transaction. > The existing transaction.atomic() blocks inside parse_mail() become > savepoints within this outer transaction. The series deduplication > retry logic continues to work since savepoint rollbacks are scoped > to their own savepoint. > > This also ensures that any on_commit() callbacks registered by signal > handlers only fire after the full email has been parsed and all > patch/series associations are committed. > > Signed-off-by: Robin Jarry <[email protected]>
Thanks! Reviewed-by: Stephen Finucane <[email protected]> and applied. I'll backport this to stable/3.2 shortly. _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
