Files
compiler-explorer/static
Matt GodboltandClaude 3ad215267d fix: Make Claude Explain cache static to persist across pane instances
The cache was incorrectly implemented as an instance variable, causing
cached explanations to be lost when closing and reopening explain panes.
This broke the "Caching and reload" Cypress test which expected cache
persistence across pane instances.

Changes:
- Convert cache from instance to static variable
- Initialize cache once, similar to availableOptions pattern
- Update cache access to use ExplainView.cache\!

This aligns with the documented behavior that the cache should be
"shared across all explain views in the session" and fixes the failing
Cypress test.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-05 16:34:12 -05:00
..
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-06-19 08:46:57 -05:00
2025-07-28 10:34:46 -05:00
2025-02-26 02:07:09 +02:00
2025-06-18 09:04:23 -05:00
2025-07-28 10:34:46 -05:00
2025-04-24 12:10:37 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00