The GitHub Actions job "CI" 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:
2f651c7bf3b43df86011108fe557caa8c6e3d90c / Walter Duque de Estrada 
<[email protected]>
Fix CI failures from GORM scaling branch: version init, H7 NPEs, pagination, 
and test class conflicts

- Revert version property initialization from constX(0L) to null in 
GormEntityTransformation;
  our O(M+N) scaling commit mistakenly changed the initial value, causing 
DirtyCheckBindingSpec
  to assert version=null on a transient entity that actually had version=0L.

- Fix HibernateGormInstanceApi.isAttached/lock/attach to use 
getHibernateTemplate() lazy getter
  instead of direct hibernateTemplate field access; HibernateGormApiFactory 
constructs the API
  without setting that field, so direct access was an NPE for any request 
touching these methods.

- Fix HibernateGormStaticApi.executeQuery(query, Map) to pass the same map as 
both namedParams
  and querySettings (matching H5 behavior); pagination keys (max, offset) were 
being sent only
  to namedParams where INTERNAL_SETTINGS skips them, so no setMaxResults was 
applied.

- Add coerceId() helper in H7 HibernateSession.retrieveAll() to convert String 
IDs to the
  entity's declared identifier type before HQL lookup and result map key 
comparison.

- Rename local Person class to DirtyCheckPerson in HibernateDirtyCheckingSpec 
and
  HibernateUpdateFromListenerSpec (H5+H7) to eliminate 
DuplicateMappingException collision
  with the TCK's org.apache.grails.data.testing.tck.domains.Person.

- Replace reflection on removed DATASTORES/STATIC_APIS fields in H5 
GormEnhancerCleanupSpec
  and HibernateGormEnhancerSpec with GormRegistry public API (matching H7 
versions).

- Remove @NotYetImplemented from demo33 UniqueConstraintOnHasOneSpec — the test 
now passes.

- Fix MongoDB PlacePartialTest/PlaceWithExceptionTest/PlaceWithoutSphereTest 
compilation by
  extending GrailsDataTckSpec<GrailsDataMongoTckManager> instead of 
non-existent MongoDatastoreSpec.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to