Summary
auto and pythonic both map to AutoSerializer, but only std/standard → default is canonicalized in the serializer-name guard. An entry written with serializer='pythonic' stores 's':'pythonic' in the CK frame; a handler configured serializer='auto' hits the mismatch guard and raises → treated as a miss → recompute on every read.
Evidence
src/cachekit/serializers/__init__.py:54-55 — both alias to AutoSerializer
src/cachekit/cache_handler.py:329 canonicalizes only std/standard→default; mismatch guard at :669-675
Impact
Two advertised aliases for the identical serializer silently break cache compatibility.
Fix
Canonicalize pythonic → auto (and any other aliases) before the name-equality guard.
Summary
autoandpythonicboth map toAutoSerializer, but onlystd/standard → defaultis canonicalized in the serializer-name guard. An entry written withserializer='pythonic'stores's':'pythonic'in the CK frame; a handler configuredserializer='auto'hits the mismatch guard and raises → treated as a miss → recompute on every read.Evidence
src/cachekit/serializers/__init__.py:54-55— both alias toAutoSerializersrc/cachekit/cache_handler.py:329canonicalizes onlystd/standard→default; mismatch guard at:669-675Impact
Two advertised aliases for the identical serializer silently break cache compatibility.
Fix
Canonicalize
pythonic → auto(and any other aliases) before the name-equality guard.