mirror of
https://github.com/floci-io/floci.git
synced 2026-11-30 08:55:17 -05:00
performReset ran every Resettable.clear() first and storageFactory .clearAll() last. Services that re-create bootstrap state in clear() lost it again right away. IAM Identity Center is one: after a /_floci/state/reset its bootstrap identity store was gone, so every SCIM call answered 401 until a restart. This is what broke ScimIntegrationTest in CI shard 3 since #3331. EmulatorInfoControllerIntegrationTest runs in the same test application before it and posts the reset endpoints. Clear storage first, then let services clear and re-seed. The clear() implementations that iterate state to stop timers or sockets read in-memory maps, not storage, so the order change does not affect them.