While many applications will integrate Spring Modulith's application verification support through a test case, it also makes sense to allow developers to opt into verification on startup to ultimately prevent the application from starting.
We are going to introduce a new property spring.modulith.runtime.verification-enabled for the spring-modulith-runtime artifact that can be set to true to enable that behavior.