Skip to content

Surface mobile WebSocket lifecycle and keep reconnecting forever#3

Open
justingray0 wants to merge 1 commit into
mainfrom
mobile-ws-resilience
Open

Surface mobile WebSocket lifecycle and keep reconnecting forever#3
justingray0 wants to merge 1 commit into
mainfrom
mobile-ws-resilience

Conversation

@justingray0

Copy link
Copy Markdown
Owner
  • Log and span ws.connection.{opened,closed} on the server so dropped mobile sessions are visible in the trace file
  • Add MobileWsTransport with unbounded reconnect backoff so the iOS app no longer gives up after ~127s of failed retries
  • Reconnect saved environments when iOS returns to foreground
  • Track and display reconnect attempts on the runtime state
  • Banner above the composer surfaces connecting/reconnecting/disconnected state with the underlying reason and attempt count
  • Working-for pill pauses its timer when disconnected and clearly labels the frozen value

- Log and span ws.connection.{opened,closed} on the server so dropped
  mobile sessions are visible in the trace file
- Add MobileWsTransport with unbounded reconnect backoff so the iOS app
  no longer gives up after ~127s of failed retries
- Reconnect saved environments when iOS returns to foreground
- Track and display reconnect attempts on the runtime state
- Banner above the composer surfaces connecting/reconnecting/disconnected
  state with the underlying reason and attempt count
- Working-for pill pauses its timer when disconnected and clearly labels
  the frozen value
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