The GitHub Actions job "CI" on 
grails-core.git/feature/automated-configuration-metadata has failed.
Run started by GitHub user matrei (triggered by matrei).

Head commit for run:
50207a3722d8b581fa8e6abadfc7c42af0b3d1dd / Mattias Reichel 
<[email protected]>
Harden configuration metadata generation

Store the Groovy metadata payload in a side-car file instead of a constant
in the compiled class. The AST transformation writes
META-INF/grails-configuration-metadata/<class>.json to the compiler target
directory, the Gradle task honours a payload only while its compiled class
still carries @ConfigurationProperties, and the plugin keeps the directory
out of jars. Runtime classes no longer carry build-time data and the payload
is no longer bound by the 64KB class-file constant limit.

Bytecode scanning:
- align constructor parameter types with the generic signature, which omits
  mandated and synthetic parameters, so inner class constructors are typed
  correctly instead of failing with a NullPointerException
- exclude getMetaClass, setMetaClass and setGrailsApplication when a Groovy
  class falls back to bytecode scanning
- discover getter-only nested objects that have something to bind
- resolve the property type from the accessors independently of their
  declaration order, preferring the setter that agrees with the getter

Both paths now name primitives by their wrapper type, as Spring Boot does.

Replace the compile-time @Delegate warning, which no overlay could silence,
with handling in the Gradle task: properties of a delegate compiled by the
same project are generated, and a warning is logged only when the delegate
comes from elsewhere and the overlay does not document it.

Tests:
- read the published metadata in JsonViewGrailsPluginSpec instead of a
  private synthetic field
- compile the TestKit fixtures against the Groovy and Spring Boot versions
  from dependencies.gradle and share one build script
- make the Groovy fixture's nested type an inner class, as the
  transformation only recurses into inner and explicitly nested types; the
  lifecycle test failed before this change

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

With regards,
GitHub Actions via GitBox

Reply via email to