The snapshot() and restore() methods on the Kernel are broken when bindings use singleton scope with…
The snapshot() and restore() methods on the Kernel are broken when bindings use singleton scope with…: a task in LegoFlow-SWE (Harbor dataset). When a Kernel is configured with singleton-scoped bindings, taking a snapshot and then restoring it does not properly isolate the singleton cache. Because…
The task
When a Kernel is configured with singleton-scoped bindings, taking a snapshot and then restoring it does not properly isolate the singleton cache. Because the binding objects (including their cached singleton instances) are shared by reference between snapshots rather than being deep-copied, restoring a snapshot…
Part of Lego-X/LegoFlow-SWE.