The GitHub Actions job "CI" on grails-core.git/grails8-groovy5-sb4 has failed.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
153e14c5ad06875267ff3abb35cc57a96f5bfa33 / James Fredley 
<[email protected]>
fix: cherry-pick Groovy 5 fixes from Groovy 6 canary branch

Apply pre-existing fixes identified during Groovy 6 canary exploration
that also apply to the Groovy 5 branch:

- Fix StreamingJsonBuilder ClassCastException: override call(Closure) to
  create Grails StreamingJsonDelegate instead of Groovy's, and add static
  cloneDelegateAndGetContent helper. Fixes 12 grails-views-gson test
  failures (HAL, template inheritance, embedded specs)

- Fix JsonViewWritableScript to use fully qualified Grails delegate type
  instead of ambiguous import that resolves to Groovy's delegate

- Fix DefaultHalViewHelper instanceof cascade: reorder ToOne before
  ToMany to avoid Groovy 5 flow-typing narrowing conflict

- Fix operator precedence bug: '!association instanceof Embedded' to
  '!(association instanceof Embedded)' in AbstractHibernateGormInstanceApi

- Change outputTagResult from private to protected in AbstractGrailsTagTests
  for Groovy 5 nested closure access compatibility

- Add Spock disableGroovyVersionCheck to Test tasks in CompilePlugin

- Update DataBindingTests to use GroovySpy instead of metaClass mock
  for Groovy 5 trait method dispatch compatibility

Assisted-by: Claude Code <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to