Skip to content

Add configurable LRU caching for import resolver - #3

Merged
usefuulness merged 2 commits into
masterfrom
codex/replace-map-with-lru-cache-implementation
Sep 15, 2025
Merged

Add configurable LRU caching for import resolver#3
usefuulness merged 2 commits into
masterfrom
codex/replace-map-with-lru-cache-implementation

Conversation

@usefuulness

Copy link
Copy Markdown
Owner

Summary

  • replace the import resolver's map cache with an LRU cache and expose a configurable maximum size
  • add a VS Code command plus configuration hooks to clear the cache when template roots or settings change
  • extend documentation and tests to cover cache eviction behaviour and new settings

Testing

  • npm test
  • npx jest src/static-analyzer/tests/import-resolver.test.ts --runInBand

https://chatgpt.com/codex/tasks/task_e_68c865e213988328b57fcd7f518c3fcb

@usefuulness
usefuulness merged commit 9d5893e into master Sep 15, 2025
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant