Skip to content

fix: wire bootstrap hydration for 8 missing data sources#1065

Merged
koala73 merged 1 commit intomainfrom
fix/complete-bootstrap-hydration
Mar 5, 2026
Merged

fix: wire bootstrap hydration for 8 missing data sources#1065
koala73 merged 1 commit intomainfrom
fix/complete-bootstrap-hydration

Conversation

@koala73
Copy link
Owner

@koala73 koala73 commented Mar 5, 2026

Summary

  • Register 6 new seed keys in api/bootstrap.js (crypto, gulf, stablecoin, unrest, iran, ucdp) with correct tier assignments
  • Wire getHydratedData() in 7 service/component files for instant panel rendering from bootstrap data
  • Add hydration for 2 previously-registered but unconsumed keys (cyberThreats, flightDelays)
  • Sync server/_shared/cache-keys.ts with bootstrap.js (fixes 3 previously-failing bootstrap tests)
  • Cyber hydration maps through toCyberThreat() to convert proto enum strings to friendly types

Test plan

  • tsc --noEmit passes
  • All 57 edge function tests pass
  • Verify panels load instantly from bootstrap data on fresh page load
  • Verify panels still refresh via RPC after bootstrap data is consumed

Register 6 new seeds in bootstrap.js (crypto, gulf, stablecoin, unrest,
iran, ucdp) and wire getHydratedData() in 7 service files. Also adds
hydration for 2 previously-registered keys (cyberThreats, flightDelays)
that had no frontend consumer. Syncs cache-keys.ts with bootstrap.js
for test parity.

Cyber hydration correctly maps through toCyberThreat() to convert proto
enum strings to friendly types.
@vercel
Copy link

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
worldmonitor Ready Ready Preview, Comment Mar 5, 2026 2:24pm

Request Review

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@koala73 koala73 merged commit 7ecb7f0 into main Mar 5, 2026
3 checks passed
aldoyh pushed a commit to aldoyh/worldmonitor that referenced this pull request Mar 6, 2026
Register 6 new seeds in bootstrap.js (crypto, gulf, stablecoin, unrest,
iran, ucdp) and wire getHydratedData() in 7 service files. Also adds
hydration for 2 previously-registered keys (cyberThreats, flightDelays)
that had no frontend consumer. Syncs cache-keys.ts with bootstrap.js
for test parity.

Cyber hydration correctly maps through toCyberThreat() to convert proto
enum strings to friendly types.
@koala73 koala73 deleted the fix/complete-bootstrap-hydration branch March 8, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant