The GitHub Actions job "SiteMesh 2 Compatibility" on 
grails-core.git/grails8-groovy6-canary has failed.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
44f734101c79c95fcb172e2fa38588d19efb4797 / James Fredley 
<[email protected]>
build(groovy): move the canary to Groovy 6.0.0-beta-2 and retire obsolete 
workarounds

Groovy 6.0.0-beta-2 is released, so the canary moves off 6.0.0-SNAPSHOT and
onto a fixed version. Most workarounds accumulated against older snapshots are
no longer needed; each removal below was proven by reverting it and observing
the build and tests stay green, and each retained workaround is justified by a
quoted failure.

Retired:
- The Gradle 9.6.1 bump. It was never a Groovy 6 requirement; the build is
  green on 9.6.0, so the wrappers, .sdkmanrc, the generated-project template
  and gradleToolingApiVersion all go back and stay consistent.
- The CoreGrailsPlugin BeanConfiguration workaround, made obsolete upstream by
  the beanRegistrar rewrite on 9.0.x.
- The GrailsApplicationLifeCycle Java-interface rewrite. Groovy 6 handles the
  interface default method again: verified by booting a Grails application
  under -PgrailsIndy=false, the classic-callsite mode the original bug needed.
  Its regression test is kept as coverage.

Retained, each with a beta-2 rationale comment:
- WriterFilteringMap @Delegate mutator exclusions.
- GormEntity generic trait-signature specialization.
- ClassPropertyFetcher interface filtering.
- XmlUtils SAX feature URIs and JAXP access restrictions.
- ValidateableTraitSpec static trait-method implementations.
- HibernateGormInstanceApi parenthesized negated instanceof.
- The Spock version-check opt-outs, groovy-callsite, the JLine 4 SBOM licence
  correction, and the settings.gradle Micronaut-island Groovy-major gate.

Added:
- GrailsWebDataBinder hoists two `||` guards into boolean locals. Groovy
  6.0.0-beta-2 static type checking merges the flow state of a `||` inside a
  closure to void, so `boundItems << item` fails to compile with
  "Cannot find matching method java.util.ArrayList#leftShift(void)".
  Short-circuiting and null handling are unchanged.

Assisted-by: claude-code:claude-opus-5

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

With regards,
GitHub Actions via GitBox

Reply via email to