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/03 20:12:08 UTC
[GH] (grails-core/8.0.x-stage-hibernate7): Workflow run "CI" failed!
The GitHub Actions job "CI" on grails-core.git/8.0.x-stage-hibernate7 has failed.
Run started by GitHub user jamesfredley (triggered by jamesfredley).
Head commit for run:
637da9ce751194ad69502d6c631e8a85d9ac5623 / James Fredley <ja...@users.noreply.github.com>
test(hibernate7): register domain classes in the two specs the TCK API now requires
Completes the PR-C mirror. The merged GrailsDataTckManager makes domainClasses a
private set with an empty default, so every spec must register the classes it
uses via registerDomainClasses(...). The earlier mirror migrated the 27 specs
using manager.domainClasses.addAll([...]), but two specs used other patterns and
were missed - the full pre-PR test run surfaced them:
- HibernateOptimisticLockingSpec had no setupSpec (it relied on the old manager's
non-empty default set). Added setupSpec registering OptLockVersioned and
OptLockNotVersioned, matching Hibernate5OptimisticLockingSpec.
- HibernateValidationSpec used `manager.domainClasses += [...]` (compound-assign,
now a ReadOnlyPropertyException). Switched to registerDomainClasses(...) with
the full class list (TestEntity, ChildEntity included, since the default is
empty), matching the hibernate5 HibernateValidationSpec.
Verified: ./gradlew :grails-data-hibernate7-core:test now passes
(571 tests, 0 failures, 26 skipped); all four violation reports are clean.
Assisted-by: claude-code:claude-opus-4-8
Report URL: https://github.com/apache/grails-core/actions/runs/26904554207
With regards,
GitHub Actions via GitBox