Closed
Description
#7656 moved the logic that calls any CommandLineRunners
and ApplicationRunners
to a point after the ApplicationReadyEvent
has been fired. This means there's no longer an event that can be used to learn when the runners have been called.
The proposal is to introduce a new event (RunnersCompletedEvent
?) that is fired when the runners have been called. We may also want to introduce a second event (RunnersFailedEvent
?) that can be fired when one of the runners fails (throws an exception). As things stand an exception from a runner will result in ApplicationFailedEvent
being published despite ApplicationReadyEvent
already having been published.