Skip to content

Harden real-time marketplace provider lifecycle and reconnect semantics #526

Description

@grantfox-oss

mprove lifecycle management for realtime marketplace updates so disconnects, reconnects, and stale subscriptions cannot leave stale data or duplicated listeners behind.

  • Affected files: app/frontend/src/hooks/providers/productionRealtimeProvider.ts, app/frontend/src/hooks/providers/mockMarketplaceProvider.ts, app/frontend/src/components/NotificationCenterProvider.tsx, app/frontend/src/components/NotificationFeed.tsx, app/frontend/src/app/marketplace/page.tsx, app/frontend/src/app/notifications/page.tsx, app/frontend/src/lib/errorReporter.ts, app/frontend/src/hooks/useMarketData.ts
  • Acceptance criteria:
    • Realtime subscriptions cleanly unsubscribe and reconnect without duplicated listeners or stale updates.
    • Disconnected or failed connections recover without leaving dead event handlers.
    • Realtime provider failures are surfaced in error telemetry and user-visible UI states.

Metadata

Metadata

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third CampaignbugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions