fix(dashboard): prewarm cache and expose pick evidence
All checks were successful
CD Pipeline / deploy (push) Successful in 2m20s

This commit is contained in:
OoO
2026-05-01 16:34:13 +08:00
parent 9e2337764b
commit 2ac7410d40
10 changed files with 165 additions and 33 deletions

View File

@@ -48,7 +48,9 @@ def test_dashboard_v2_is_production_default_and_uses_real_dashboard_data():
assert "template_name = 'dashboard.html' if request.args.get('ui') == 'legacy' else 'dashboard_v2.html'" in route_source
assert "get_full_dashboard_data()" in route_source
assert "_load_shared_full_dashboard_cache(now)" in route_source
assert "_load_stale_full_dashboard_cache(now)" in route_source
assert "_write_shared_full_dashboard_cache(full_data)" in route_source
assert "warm_full_dashboard_cache" in route_source
assert "_load_competitor_decision_overview(session)" in route_source
assert "ai_price_recommendations" in route_source
assert "pending_match_count" in route_source