perf(web): queue dashboard tile hydration #45

Merged
vince merged 1 commit from codex/dashboard-hydration-scheduler into main 2026-06-20 14:00:33 +02:00
Owner

Summary

Adds a client-side dashboard tile hydration scheduler with bounded concurrency, priority ordering, and per-tile failure backoff.

Why

Independent tile hydration should avoid launching every live datasource request at once, while still keeping important dashboard state fresh first.

Changes

  • Hydrate dashboard tiles through a queue capped at 6 concurrent requests.
  • Prioritize status, telemetry, modules, then services while preserving source document order inside each group.
  • Add per-tile backoff for failed tile hydration: 15s, 30s, 60s, then 120s max.
  • Reset tile backoff after successful hydration.
  • Add unit coverage for queue concurrency, backoff timing, priority order, and document-order preservation.

Testing

  • bun run check
  • bun run test
  • Independent review: no blocking findings after order-preservation coverage was added.

Notes

  • packages/ui is untouched.
  • Component-level backoff integration is covered through the scheduler/backoff helpers rather than a browser DOM harness.
## Summary Adds a client-side dashboard tile hydration scheduler with bounded concurrency, priority ordering, and per-tile failure backoff. ## Why Independent tile hydration should avoid launching every live datasource request at once, while still keeping important dashboard state fresh first. ## Changes - Hydrate dashboard tiles through a queue capped at 6 concurrent requests. - Prioritize status, telemetry, modules, then services while preserving source document order inside each group. - Add per-tile backoff for failed tile hydration: 15s, 30s, 60s, then 120s max. - Reset tile backoff after successful hydration. - Add unit coverage for queue concurrency, backoff timing, priority order, and document-order preservation. ## Testing - bun run check - bun run test - Independent review: no blocking findings after order-preservation coverage was added. ## Notes - packages/ui is untouched. - Component-level backoff integration is covered through the scheduler/backoff helpers rather than a browser DOM harness.
vince added 1 commit 2026-06-20 14:00:28 +02:00
vince merged commit cda40401ca into main 2026-06-20 14:00:33 +02:00
Sign in to join this conversation.
No description provided.