Investigated suspected memory leak in metabase.util.malli.registry/cache
atom. Initial reports suggested unbounded memory growth during test runs.
The real issue wasn't a memory leak, but fundamentally broken caching for function schemas. With the original schema-cache-key implementation, schemas containing function objects generated unstable cache keys because:
(fn [x] ...)
creates new function objects each time
Function objects have different identity even with identical code
This caused cache misses for functionally identical schemas