Add debug logging for plan file lookup

This commit is contained in:
gilesb
2026-01-13 05:10:59 +00:00
parent b599b59d44
commit 396bacc89b

View File

@@ -468,7 +468,9 @@ class L1CacheManager:
# Check legacy location (files stored directly as CACHE_DIR/{cid})
legacy_path = self.cache_dir / cid
logger.info(f"get_by_cid: Checking legacy path: {legacy_path} exists={legacy_path.exists()}")
if legacy_path.exists() and legacy_path.is_file():
logger.info(f"get_by_cid: Found at legacy path: {legacy_path}")
return legacy_path
# Fetch from IPFS - this is the source of truth for all content