[COMPASS-7233] We're careful to only perform the first autoupdate check after a delay of 30 seconds, but preferences loads asynchronously Created: 19/Sep/23  Updated: 19/Sep/23

Status: Needs Triage
Project: Compass
Component/s: Auto Updates
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Le Roux Bodenstein Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS:
node.js / npm versions:
Additional info:



 Description   

There is a race condition where we return the preferences defaults until the initial load asynchronously repeats. So the checks in the autoupdater's setup first gets autoUpdates enabled as false. Then a split second later it toggles to true and then we trigger a check immediately anyway.


Generated at Wed Feb 07 22:45:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.