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

Head commit for run:
2a5e98355550b38d05b9de8ac538c99bb91da0cb / James Fredley <[email protected]>
drop Groovy 6 workarounds whose upstream fixes have merged

Re-audited every Groovy 6 workaround in this canary against the latest
Apache Groovy master. Three fixes have merged and are present in the
6.0.0-SNAPSHOT artifact (latest publication: 2026-05-02 11:47:43 UTC,
build #546), so the corresponding workarounds can be removed.

GROOVY-11968 (apache/groovy#2495), merged 2026-05-01 03:40 UTC,
SHA 84f2f37c4f93d6ea44ad8bc76570704c84499c6b
  - grails-geb/.../ContainerSupport.groovy: revert @CompileDynamic to
    @CompileStatic now that the trait-static-field VerifyError under
    indy=false no longer triggers.

GROOVY-11967 (apache/groovy#2493), merged 2026-05-01 09:37 UTC,
SHA 406feaf5082f1741c318f924b520c4c27bfa0754
  - DefaultConstraintFactory.groovy: collapse the two explicit
    constructors back to a single constructor with a default-valued
    List parameter; the @CompileStatic VerifyError on the synthesised
    bridge constructor no longer reproduces.
  - MappingContextAwareConstraintFactory.groovy: same collapse.

GROOVY-11966 (apache/groovy#2492), merged 2026-05-01 18:58 UTC,
SHA 8dde1c84134ef6fdeecf26b5cbb5183d5aab4dac
  - GroovyPageCompiler.groovy: drop the parallelism guard and the
    grails.gsp.compiler.parallelism system property; restore the
    original Executors.newFixedThreadPool(availableProcessors() * 2)
    sizing now that AnnotationNode.isTargetAllowed -> ListHashMap is
    thread-safe again.
  - AbstractGroovyTemplateCompiler.groovy: same restoration; drop the
    grails.views.compiler.parallelism system property.

Verified locally on Java 21 / Groovy 6.0.0-SNAPSHOT build #546:
  ./gradlew :grails-datamapping-validation:compileGroovy
  ./gradlew :grails-datamapping-core:compileGroovy
  ./gradlew :grails-gsp-core:compileGroovy
  ./gradlew :grails-views-core:compileGroovy
  ./gradlew :grails-geb:compileTestFixturesGroovy
  -> all BUILD SUCCESSFUL

The remaining workarounds (TraitReceiverTransformer static-method
override loss, MetaClassImpl genericGetMethod hijack on GORM entities,
@CompileStatic named-argument render(Map) silent no-op, smart-cast
in 'if (cond && !(x instanceof Y))', VariableScopeVisitor NPE, and
ConfigObject [] mutation) have no upstream fix yet and stay in place.

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

With regards,
GitHub Actions via GitBox

Reply via email to