Skip to content

feat: error handling, video optimization, subscriptions, Soroban state mgmt - #840

Merged
Mikey-222 merged 1 commit into
Hel-Phone:mainfrom
maikNeta:fix/issues-745-746-754-755-performance-reliability
Oct 19, 2026
Merged

Mikey-222 merged 1 commit into
Hel-Phone:mainfrom
maikNeta:fix/issues-745-746-754-755-performance-reliability

Conversation

@maikNeta

Copy link
Copy Markdown
Contributor

Summary

Comprehensive improvements to reliability, performance, and infrastructure for emergency response coordination.

Changes

Issue #746: ErrorBoundary + CrashRecovery + OTel Linkage

  • ErrorBoundary.tsx: React error boundary with cascade failure recovery
  • telemetry.ts: OpenTelemetry integration for error tracking
  • Blob-worker failure isolation prevents blocking the UI
  • Automatic recovery resets with exponential backoff
  • W3C trace context linking for debugging

Issue #745: FCP/LCP Regression from Hero Video

  • useVideoPerformance.ts: RAF throttling hook with frame drop tracking
  • Poster image preloading for faster LCP
  • Lazy loading attributes on video elements
  • Codec type detection and optimization
  • Responsive loading based on connection speed (saveData API)

Issue #754: GraphQL Subscriptions Transport

  • subscriptions.ts: Multi-transport subscription manager
  • WebSocket, HTTP/2 Push, and Redis PubSub support
  • Message ordering guarantees across transports
  • Automatic failover between transports
  • Per-subscription metrics and monitoring

Issue #755: Soroban State Bloat Economics

  • soroban-state-mgmt.ts: State lifecycle and cost management
  • Footprint growth tracking and rate limiting
  • Archive TTL enforcement (180 days)
  • Automatic cleanup when exceeding 1MB soft limit
  • Maintainer vault rent subsidy monitoring
  • Cost estimation based on storage footprint

Testing

  • ErrorBoundary: catches React errors, recovers from cascades
  • Video optimization: measures frame drops, tracks metrics
  • Subscriptions: validates ordering across transport types
  • Soroban state: enforces limits, warns on subsidy depletion

Closes #746
Closes #745
Closes #754
Closes #755

…ban state mgmt

- ErrorBoundary component with crash recovery and OTel linkage (Issue Hel-Phone#746)
- OpenTelemetry integration for error tracking and blob-worker failure debugging (Issue Hel-Phone#746)
- Video performance optimization hook with RAF throttling (Issue Hel-Phone#745)
- FCP/LCP improvements via poster preload and lazy loading (Issue Hel-Phone#745)
- GraphQL subscriptions manager with WS/HTTP2/Redis transport (Issue Hel-Phone#754)
- Ordering guarantees across multiple transport types (Issue Hel-Phone#754)
- Soroban state bloat economics management (Issue Hel-Phone#755)
- Rent subsidy monitoring and automatic cleanup (Issue Hel-Phone#755)

Closes Hel-Phone#746
Closes Hel-Phone#745
Closes Hel-Phone#754
Closes Hel-Phone#755
@drips-wave

drips-wave Bot commented Oct 19, 2026

Copy link
Copy Markdown

@maikNeta Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Mikey-222
Mikey-222 merged commit 4ba7ae7 into Hel-Phone:main Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment