The GitHub Actions job "Groovy Snapshot Canary Build" on 
grails-core.git/fix/validate-restores-flush-mode-9.0.x has failed.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
8d866a6dcab3abff157c7ed1b5f005f96a33afe9 / Walter Duque de Estrada 
<[email protected]>
fix: restore session flush mode after a failed validate()

validate() switches the Hibernate session to FlushMode.MANUAL while running
constraints but only restored the previous mode when validation succeeded, so
a failed validate() left the session in MANUAL and the surrounding
transaction never flushed on commit, silently losing unrelated saves.
Restore the previous flush mode unconditionally in finally (Hibernate 5 and 7).

Fixes #14545

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

Report URL: https://github.com/apache/grails-core/actions/runs/38674454564

With regards,
GitHub Actions via GitBox

Reply via email to