The GitHub Actions job "Licensing - RAT Report" on grails-core.git/8.0.x-hibernate7.gorm-scaling has failed. Run started by GitHub user borinquenkid (triggered by borinquenkid).
Head commit for run: 929797661058961a04d7d2a92914c784a23e3e05 / Walter Duque de Estrada <[email protected]> MongoDB transaction rollback with factory-pattern gate and context-aware auto-flush Fixes 64 MongoDB TCK test failures by implementing proper persistence and transaction semantics: 1. Fixed MongoDB persistence in GormStaticApi.saveAll() by explicitly calling session.flush() 2. Created MongoGormInstanceApi with auto-flush enabled by default for save() operations 3. Implemented factory-pattern TransactionTemplateFactory for datastore-specific transaction handling 4. Created MongoGormTransactionTemplate with rollback-aware transaction semantics 5. Implemented MongoTransactionContext thread-local marker to selectively disable auto-flush only for explicit rollback-aware transaction blocks, not for ambient test transactions 6. Comprehensive unit tests validating gate behavior and factory integration Result: All 584 MongoDB module tests pass, including: - 43 focused test suites (gate, rollback, criteria, finders, enhancements, factory) - Full MongoDB module test suite Key architectural decisions: - ThreadLocal context pattern for clean gate implementation without signature pollution - Factory pattern enables future datastores to provide custom transaction semantics - Context-based gate (vs transaction-active check) preserves expected test behavior Co-authored-by: Copilot <[email protected]> Report URL: https://github.com/apache/grails-core/actions/runs/25821486872 With regards, GitHub Actions via GitBox
