Skip to content

feat: GORM O(M+N) scaling — GormRegistry, SessionResolver infrastructure, and core-class tests (consolidates #15779, #15780, #15790) - #16066

Open
borinquenkid wants to merge 101 commits into
apache:8.0.xfrom
borinquenkid:feat/gorm-registry-consolidated
Open

feat: GORM O(M+N) scaling — GormRegistry, SessionResolver infrastructure, and core-class tests (consolidates #15779, #15780, #15790)#16066
borinquenkid wants to merge 101 commits into
apache:8.0.xfrom
borinquenkid:feat/gorm-registry-consolidated

test: close PR #16066's Codecov patch-coverage gaps in the four large…

bc54db5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 9, 2026 in 0s

53.2808% (+0.9377%) compared to a1e526f

View this Pull Request on Codecov

53.2808% (+0.9377%) compared to a1e526f

Details

Codecov Report

❌ Patch coverage is 84.63368% with 323 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.2808%. Comparing base (a1e526f) to head (bc54db5).
⚠️ Report is 19 commits behind head on 8.0.x.

Files with missing lines Patch % Lines
...oovy/org/grails/datastore/gorm/GormRegistry.groovy 81.2665% 24 Missing and 47 partials ⚠️
...ovy/org/grails/datastore/gorm/GormStaticApi.groovy 80.8765% 21 Missing and 27 partials ⚠️
...y/org/grails/datastore/gorm/GormApiResolver.groovy 81.3830% 4 Missing and 31 partials ⚠️
...oovy/org/grails/datastore/gorm/GormEnhancer.groovy 72.9167% 10 Missing and 16 partials ⚠️
...g/grails/datastore/gorm/finders/DynamicFinder.java 44.4444% 14 Missing and 6 partials ⚠️
...y/org/grails/datastore/gorm/GormInstanceApi.groovy 85.2632% 2 Missing and 12 partials ⚠️
...org/grails/datastore/gorm/GormValidationApi.groovy 80.5970% 1 Missing and 12 partials ⚠️
...ails/datastore/gorm/AbstractGormApiRegistry.groovy 86.8421% 3 Missing and 7 partials ⚠️
...ansactions/transform/TransactionalTransform.groovy 90.9910% 1 Missing and 9 partials ⚠️
...y/org/grails/datastore/gorm/AbstractGormApi.groovy 85.4839% 0 Missing and 9 partials ⚠️
... and 20 more
Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##                8.0.x     #16066        +/-   ##
==================================================
+ Coverage     52.3431%   53.2808%   +0.9377%     
- Complexity      18296      19136       +840     
==================================================
  Files            2036       2049        +13     
  Lines           96347      97508      +1161     
  Branches        16829      17129       +300     
==================================================
+ Hits            50431      51953      +1522     
+ Misses          38492      38037       -455     
- Partials         7424       7518        +94     
Files with missing lines Coverage Δ
...ls/datastore/gorm/mongo/MongoGormApiFactory.groovy 100.0000% <100.0000%> (ø)
...ails/datastore/gorm/mongo/MongoGormEnhancer.groovy 72.2222% <100.0000%> (+3.4722%) ⬆️
...rc/main/groovy/grails/gorm/DetachedCriteria.groovy 82.2368% <100.0000%> (+0.6579%) ⬆️
...rails/gorm/multitenancy/CurrentTenantHolder.groovy 100.0000% <100.0000%> (ø)
...gorm/transactions/GrailsTransactionTemplate.groovy 90.6977% <100.0000%> (+0.4538%) ⬆️
.../grails/datastore/gorm/AbstractDatastoreApi.groovy 100.0000% <100.0000%> (+61.5385%) ⬆️
...grails/datastore/gorm/DefaultGormApiFactory.groovy 100.0000% <100.0000%> (ø)
.../grails/datastore/gorm/GormEnhancerRegistry.groovy 100.0000% <100.0000%> (ø)
...ails/datastore/gorm/GormInstanceApiRegistry.groovy 100.0000% <100.0000%> (ø)
...grails/datastore/gorm/GormStaticApiRegistry.groovy 100.0000% <100.0000%> (ø)
... and 54 more

... and 42 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.