The GitHub Actions job "CI" on 
grails-core.git/feat/beans-dsl-registers-generated-auto-configuration-8.0.x has 
failed.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
f197fa473b7e2488985c21400958cbc20db964ab / Scott Murphy Heiberg 
<[email protected]>
Drop the entry when nothing is left to generate the class

Pruning ran only while writing, and writing happens only when a class is
generated. A descriptor deleted outright, or left with no beans closure or an
empty one, generates nothing and so said nothing about the entry naming the 
class
it used to generate - a build that removed the class kept the entry, and Spring
Boot does not start on an auto-configuration it cannot load. The rename covered
before only passed because the class replacing it did the writing.

Reconciling is now something the compilation does rather than something 
generating
a class does: the global Grails transform, which runs for every source unit of a
project and already writes generated metadata to the same directory, drops 
entries
whose classes are no longer generated there. Names registered by the 
compilation in
hand are kept, their class files being written in a later phase than any of this
runs in.

The file is deleted rather than left empty when the last entry goes, an imports
file with nothing in it being a resource that says nothing.

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

With regards,
GitHub Actions via GitBox

Reply via email to