The GitHub Actions job "CI - Groovy Joint Validation Build" on 
grails-core.git/8.0.x-hibernate7.gorm-scaling-clean has failed.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
bd1f997093e1aec4d3dac279090456e690a0ece6 / Walter Duque de Estrada 
<[email protected]>
fix: restore GORM API contract, SimpleMap re-save, and tenant entity resolution

- currentGorm{Instance,Static,Validation}Api() throw IllegalStateException
  when GORM is uninitialized, instead of returning null. Callers such as
  DefaultLinkGenerator.getResourceId already catch IllegalStateException and
  fall back; this restores the pre-O(M+N) contract and fixes NPEs in
  VndErrorRenderingSpec, HalJsonRendererSpec, TableSpec and others.
- GormStaticApi.getGormPersistentEntity() falls back to the mapping context
  captured at construction when registry resolution returns null. Entity
  metadata is identical across tenants, so this stable reference fixes the
  withTenant(tenantId).count() NPE for DISCRIMINATOR multi-tenancy under
  cross-spec registry state (PartitionedMultiTenancySpec in the full suite).
- SimpleMapSession.isDirty() treats an identified instance absent from the
  backing map as dirty so save() re-inserts it. Fixes the unit-test pattern of
  saving @Shared instances in setup() across feature iterations after
  clearData() empties the in-memory datastore (DefaultInputRenderingSpec).
- DefaultHalViewHelper.renderEntityProperties excludes the version property from
  embedded output, consistent with top-level GORM rendering. KeyValue entities
  gained an auto-mapped version under the GORM mapping strategy 
(HalEmbeddedSpec).
- Remove stale @NotYetImplemented on UniqueConstraintOnHasOneSpec; 
unique-on-hasOne
  now works, so the spec passes and the assertion is restored.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to