The GitHub Actions job "CI" on grails-core.git/fix/gorm-api-registration-scaling has succeeded. Run started by GitHub user borinquenkid (triggered by borinquenkid).
Head commit for run: 83041edf9dfbf3e79fc60815932ed6f5c83affaa / Walter Duque de Estrada <[email protected]> test: add unit tests for DATABASE and SCHEMA per-tenant session routing fixes Cover the two bugs fixed in the previous commit: 1. GrailsHibernateTemplate.executeWithNewSession TSM bug (H5 + H7): - H5: standalone spec; manually pre-binds a ConnectionHolder for the DataSource without a matching SessionFactory holder in TSM, then verifies executeWithNewSession completes without "Already value bound". - H7: uses the outer transaction's active synchronisation; a secondary local datastore triggers SQLErrorCodesFactory to auto-bind its DS to TSM, replicating the production trigger without manual bindResource. 2. GormEnhancer.registerEntity stale API eviction (H5 + H7): - H5: calls addTenantForSchema('tenantA') twice (H5 has no idempotency guard, so the second call re-creates the child and re-registers entities); verifies stale lazily-cached APIs for tenantA are evicted. - H7: creates a second SCHEMA datastore for the same entity class without closing the first; verifies that SchemaTenantGormEnhancer.registerEntity evicts stale lazily-cached tenant APIs on the new datastore's registration pass. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> Report URL: https://github.com/apache/grails-core/actions/runs/28296417245 With regards, GitHub Actions via GitBox
