UI Healthcheck Integration #377

Closed
opened 2022-02-24 20:36:36 +00:00 by dan · 3 comments
Owner

ACN can get stale, it should be being detected in each profile's health detection plugin, we should be re enabeling these in LCG, then processing hte message in LCG or App to retrigger a reload.

  • enable healthcheck plugin in LCG
  • app or lcg receive message and check all contacts offline state, if so, reset ACN
  • ACN may need a second call back to emit version (like is has for acn progress status) it can use when ever reloading. right now when it reloads after a first failure the UI never gets an ACN version
  • a little more logging in connectivity about failed tor launches so we can debug later
  • app/LCG point processing health check messages should also handle connectivity fails and perhas schedule try agains and also tor cache clearing as it's likely the culprit
  • profiles should also process health check info and build a composite online/offline state to express to UI to show
  • add on/off toggle to peers to ui?
ACN can get stale, it should be being detected in each profile's health detection plugin, we should be re enabeling these in LCG, then processing hte message in LCG or App to retrigger a reload. - enable healthcheck plugin in LCG - app or lcg receive message and check all contacts offline state, if so, reset ACN - ACN may need a second call back to emit version (like is has for acn progress status) it can use when ever reloading. right now when it reloads after a first failure the UI never gets an ACN version - a little more logging in connectivity about failed tor launches so we can debug later - app/LCG point processing health check messages should also handle connectivity fails and perhas schedule try agains and also tor cache clearing as it's likely the culprit - profiles should also process health check info and build a composite online/offline state to express to UI to show - add on/off toggle to peers to ui?
dan added the
cwtch-beta-1.7
label 2022-02-24 20:36:36 +00:00
dan added this to the Cwtch Beta 1.7 project 2022-02-24 20:36:36 +00:00
Author
Owner

further out work: per contact health status, log of online/offline times, so we can also with time be like "this peer has > 70% or even 99% uptime, they being offline is more unlikely and adds weight to restart ACN decision

further out work: per contact health status, log of online/offline times, so we can also with time be like "this peer has > 70% or even 99% uptime, they being offline is more unlikely and adds weight to restart ACN decision
sarah changed title from Connectivity Stale handling to UI Healthcheck Integration 2022-03-21 20:23:16 +00:00
Author
Owner

health check plugin can be triggerde by new event from UI for android OnResume so it doesnt keep waiting 5-10 but checks on wake up things are still good

health check plugin can be triggerde by new event from UI for android OnResume so it doesnt keep waiting 5-10 but checks on wake up things are still good
Owner

Defer to broken out tasks.

Defer to broken out tasks.
sarah closed this issue 2022-04-11 20:12:22 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/cwtch-ui#377
No description provided.