You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by GitBox <gi...@apache.org> on 2026/06/26 21:21:04 UTC

[GH] (grails-core/feat/gorm-registry-core): Workflow run "Coverage" failed!

The GitHub Actions job "Coverage" on grails-core.git/feat/gorm-registry-core has failed.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
02320bc543d98917aa3a7f3ee6c55a91e6accc8f / Walter Duque de Estrada <wb...@mac.com>
feat: GORM O(M+N) scaling — core GormRegistry, GormEnhancer, datastore-core, and TCK

Replaces the O(M*N) static map allocation in GormEnhancer with a singleton
GormRegistry that registers APIs eagerly at entity registration time (O(M+N)).

Key changes:
- GormRegistry: singleton holding datastores, static/instance/validation APIs
  keyed by (entityClass, qualifier); handles MultiTenant qualifier expansion,
  thread-local preferred datastore, and concurrent-safe removal on close()
- GormEnhancerRegistry: reduced to thread-local state only (resolvingDatastore,
  preferredDatastore); no more static API maps
- GormEnhancer: delegates all registration/lookup to GormRegistry; allQualifiers()
  used only for datastore routing, not eager API allocation
- GormEntityTransformation: version property initialized to null (not 0L) to
  preserve original GORM behaviour for transient entities
- grails-datastore-core: AbstractDatastore, Datastore, MappingContext wired to
  register/deregister with GormRegistry on lifecycle events
- grails-datamapping-tck: expanded TCK test suite covering multi-datasource,
  multi-tenant, discriminator, schema-per-tenant, and ALL qualifier scenarios
- grails-testing-support-datamapping: DataTestSetup/CleanupInterceptor aligned
  to GormRegistry lifecycle

Co-Authored-By: Claude Sonnet 4.6 <no...@anthropic.com>

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

With regards,
GitHub Actions via GitBox