DanielFGray / DanielFGray/rfchat

Reconnect and missed-event recovery

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
enhancement p2 task
Dominant language
Elixir
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Summary
Implement reconnect and missed-event recovery so realtime behavior remains trustworthy through disconnects and refreshes.

## Scope
- Recover from websocket disconnects and browser refreshes without losing obvious user context.
- Reconcile missed messages, unread state, and channel/thread state after reconnect.
- Handle duplicate or out-of-order event delivery safely.
- Provide visible recovery behavior instead of silent stale UI.

## Acceptance Criteria
- [ ] Refreshing or reconnecting restores the user to a correct guild state without missing recent messages.
- [ ] Unread counts, mentions, and last-read behavior remain correct across reconnects.
- [ ] Duplicate or replayed events do not corrupt transcript state.
- [ ] The product communicates reconnecting/recovered states when the interruption is user-visible.

## Operational Notes
- This issue is about user-visible reliability, not only transport correctness.
- Recovery paths should keep working under higher load and future multi-node delivery.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are identified in the issue. Start by mapping the websocket reconnect, missed-message, unread-state, and channel/thread recovery paths. Done means refreshes and reconnects restore correct state, duplicate or out-of-order events are safe, and user-visible recovery states are communicated.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
backend-api-design, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.