ZIOAppMainSpec in core-tests/jvm-native to validate shutdown-flow behavior through maingracefulShutdownTimeout behavior by verifying shutdown hook returns quickly even when finalizers are still runningZIOAppPlatformSpecific (registerShutdownHook) so shutdown hooks can be injected/observed in tests without changing runtime behaviorThis targets the lifecycle areas called out in #9909 and the linked historical regressions around shutdown/finalizer behavior (#9901, #9807).
sbt 'coreTestsJVM/testOnly zio.ZIOAppMainSpec'
sbt 'coreTestsJVM/testOnly zio.ZIOAppSpec'
core-tests/jvm-native/claim #9909
Liuyi Yu
@yuliuyi717-ux
ZIO
@ZIO