fix: invalidate CK price cache after GitHub download so prices load without restart
Some checks are pending
CI / build (push) Waiting to run

This commit is contained in:
matt 2026-04-04 20:55:43 -07:00
parent 6ecd45117f
commit 33aced3c97
9 changed files with 39 additions and 4 deletions

4
docs/releases/v4.6.3.md Normal file
View file

@ -0,0 +1,4 @@
# MTG Python Deckbuilder v4.6.3
## Fixed
- **CK prices not loading after GitHub cache download**: The `PriceService` singleton marks `_ck_loaded = True` as a graceful fallback when `ck_prices_cache.json` is absent at startup. If the file was then downloaded during a running container (via "Download from GitHub" or the orchestrator auto-download), the in-memory flag prevented it from ever being read. `PriceService.invalidate_ck_cache()` is now called after a successful download, forcing a reload on the next price request without requiring a container restart.