Files
floci/src/main/java/io
Priamo Germosen ef12a83418 fix(lifecycle): stop managed containers on state reset, not just shutdown (#3718)
* fix(lifecycle): stop managed containers on state reset, not just shutdown

/state/reset and /state/nuke clear StorageBackend and every Resettable
bean, but ContainerTeardown was only invoked from EmulatorLifecycle.onStop.
A reset left Batch, CodeBuild, and now SageMaker training/endpoint
containers running with no record of them left in the store to reconcile
against. EmulatorInfoController now runs the same teardown loop before
wiping storage, tolerating individual failures the same way shutdown does.

* fix(lifecycle): use explicit InOrder type instead of var in test

AGENTS.md disallows var for local declarations; the concrete Mockito
type at a call site is the thing worth seeing in a review.
2026-09-16 18:33:40 -04:00
..