Page MenuHomePhabricator

[native] Start/stop backup client from JS
ClosedPublic

Authored by michal on Jan 15 2024, 4:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 12, 11:52 AM
Unknown Object (File)
Mar 2 2025, 6:05 PM
Unknown Object (File)
Feb 28 2025, 10:45 PM
Unknown Object (File)
Feb 28 2025, 10:45 PM
Unknown Object (File)
Feb 17 2025, 2:42 PM
Unknown Object (File)
Feb 3 2025, 1:31 PM
Unknown Object (File)
Feb 3 2025, 10:59 AM
Unknown Object (File)
Jan 30 2025, 1:57 PM
Subscribers

Details

Summary

ENG-6213 : Create long lived backup client

Start and stop the rust backup client handler from JS if a user is a logged in staff and enables it in the settings.

Depends on D10621

Test Plan

Monitor backup service logs and:

  • Enable the backup handler in menu -> the websocket in connected
  • Check that the websocket is disconnected after disabling the backup handler in menu or logging out
  • Check that the websocket automatically reconnects after app is closed and opened (without logging out) and when backup service is killed (simulating network issues)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable