borinquenkid opened a new pull request, #16191: URL: https://github.com/apache/grails-core/pull/16191
## Summary - Moved `GrailsVersionSpec` to `grails-datastore-core` (where `GrailsVersion` actually lives) and made its current-version assertions hermetic instead of relying on an incidental transitive dependency on `grails-bootstrap`. - Added specs for previously-untested classes in `grails-datamapping-support`: `ConfigSupport`, `AggregatePersistenceContextInterceptor`, `EntityProxyHandlerAdapter`, `ProxyHandlerAdapter`, and `GormTransformer` (including its `@Canonical` rejection and `getKnownEntityNames`). - Replaced the hibernate5/hibernate7 `HibernateGrailsPlugin`'s inlined copy of `ConfigSupport.prepareConfig`'s config-conversion logic with a call to the shared method, removing a duplicated code fragment (both plugins already depend on `grails-datamapping-support`). - Added an integration spec per hibernate module driving `doWithSpring()` through the real plugin-manager invocation path (`DefaultGrailsPlugin.doWithRuntimeConfiguration` + merging into a real `ApplicationContext`) to verify both the Hibernate bean wiring and the config conversion end-to-end. ## Test plan - [x] `./gradlew :grails-datamapping-support:test` - all specs pass - [x] `./gradlew :grails-datastore-core:test` - moved `GrailsVersionSpec` passes hermetically - [x] `./gradlew :grails-data-hibernate5:test :grails-data-hibernate7:test` - full suites pass including new `HibernateGrailsPluginSpec` - [x] `./gradlew :grails-datamapping-support:codeStyle :grails-datastore-core:codeStyle :grails-data-hibernate5:codeStyle :grails-data-hibernate7:codeStyle` - clean 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
