The GitHub Actions job "CI" on 
grails-core.git/fix/aot-live-instance-beans-8.0.x has failed.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
184821249d1d5646e66ee86a578fd3729c458587 / Scott Murphy Heiberg 
<[email protected]>
Say why the training run ended, not only that it did

A training run that cannot start fails the build with "The training run ended
before it started serving" and the path to a log. The log is eighty lines of
banner, plugin list and class names, and the reason is four of them somewhere
in the middle.

The reason is what someone reading a failed build needs. One of these turned
out to be an environment variable that Spring binds over the application's own
configuration -- GRAILS_MONGODB_URL, empty, reaching the run because the
training JVM inherits the Gradle daemon's environment and the daemon's
environment is not the one the build was started from. Nothing in the build
output said so; it said a run had ended.

Spring Boot already prints why it could not start. This puts those lines in
the failure that reports it, without the box they were printed in, and reads
the log defensively: a log that cannot be read is no reason to lose the
failure already being reported.

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

With regards,
GitHub Actions via GitBox

Reply via email to