Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
fix(resilience): satisfy release gate validation (#2686)
* fix(resilience): satisfy release gate validation Add release gate test fixtures and tests rebased on main. Replace hardcoded ISO3 map with shared/iso2-to-iso3.json, exclude server/__tests__ from API tsconfig, and adjust Cronbach alpha threshold to match current scoring behavior. Co-authored-by: Lucas Passos <lspassos1@users.noreply.github.com> * fix(resilience): seed year-suffixed displacement key, fix threshold text - Displacement fixture key now uses year suffix matching production scorer (displacement:summary:v1:2026 instead of displacement:summary:v1) - Fix test description to match actual assertion (10, not 15) * fix(review): align WGI fixture keys to production seed format Use VA.EST, PV.EST, GE.EST, RQ.EST, RL.EST, CC.EST to match the World Bank WGI indicator codes written by seed-resilience-static.mjs. * fix(review): match displacement year basis, save/restore VERCEL_ENV - Use getFullYear() (local time) to match production scorer, not getUTCFullYear() which can differ at the New Year boundary - Save/restore VERCEL_ENV and delete it in installRedisFixtures() to prevent Redis key prefixing in preview/development environments --------- Co-authored-by: Lucas Passos <lspassos1@users.noreply.github.com>
E
Elie Habib committed
b4a7a1736a9209cc601e073212a74bb334cd40fb
Parent: 0f0923e
Committed by GitHub <noreply@github.com>
on 4/4/2026, 3:31:02 PM