fix(dashboard): warm cache after AI pick refresh
All checks were successful
CD Pipeline / deploy (push) Successful in 3m37s

This commit is contained in:
OoO
2026-05-01 16:16:39 +08:00
parent b447aefcfb
commit b3d00a011c
7 changed files with 18 additions and 5 deletions

View File

@@ -181,6 +181,8 @@ def test_ai_product_pick_agent_uses_real_competitor_data_and_dashboard_action():
assert "generate_product_pick_list" in agent_source
assert "clear_dashboard_cache()" in route_source
assert "get_full_dashboard_data()" in route_source
assert "dashboard_cache_warmed" in route_source
assert "competitor_prices" in agent_source
assert "competitor_price_history" in agent_source
assert "daily_sales_snapshot" in agent_source