[COMPASS-6057] Make users aware of Compass auto-updates Created: 29/Aug/22  Updated: 29/Oct/23  Resolved: 28/Nov/22

Status: Closed
Project: Compass
Component/s: Auto Updates
Affects Version/s: None
Fix Version/s: 1.35.0

Type: Task Priority: Major - P3
Reporter: Julia Oppenheim Assignee: Sergey Petushkov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
duplicates COMPASS-4936 Automatically updating while automati... Closed
duplicates COMPASS-5264 Auto Update does not alert user an up... Closed
duplicates COMPASS-5303 Forced Auto update even before user h... Closed
Related
related to COMPASS-6107 Replace app:disable/enable-auto-updat... Closed
Documentation Changes: Not Needed
Sprint: Iteration Kraken, Iteration Lobster, Iteration Manatee, Iteration Narwhal, Iteration Octopus, Iteration Porpoise

 Description   

Compass users are often surprised by auto-updates and can be upset when Compass auto-updates before they have a chance to disable them. In this ticket we should: 

 

  • proactively check for auto-updates and ask a user if they would like to disable or defer the update before we initiate the update 
  • alert users when a successful update has completed 
  • update the settings modal to indicate that updates require restarts 

 

Designs will be provided in the linked EXPO ticket 



 Comments   
Comment by Githook User [ 01/Dec/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(mongodb-compass): move all autoupdates logic to compass main process, allow to dismiss updates COMPASS-6057 COMPASS-6303 (#3648)

  • chore(mongodb-compass): move all autoupdates logic to compass main process
  • chore: remove testing leftover
  • chore: do not apply initial timeout on preferences change
  • chore: remove compass-auto-updates from package / package-lock
  • chore: update wording in restart modal description

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>

  • chore: make linux autoupdater completely noop
  • chore: handle state action abort for user confirmation
  • chore: fix log ids
  • chore(compass): remove tracking from auto updater restart states
  • chore(mongodb-compass): add missing dependency
  • chore(mongodb-compass): add special message for mismatched arch; add manual check for updates
  • chore(mongodb-compass): fix check
  • chore: stub arch in tests
  • chore: update text
  • chore: use quit and install instead of app.relaunch

app.quit() doesn't apply the update, just restarts the old version

  • chore: fix test

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>
Branch: update-compass-shell-to-shared-config
https://github.com/mongodb-js/compass/commit/f9347a106881d77aa4b1f7f37daed25d73c5f92c

Comment by Githook User [ 30/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(mongodb-compass): move all autoupdates logic to compass main process, allow to dismiss updates COMPASS-6057 COMPASS-6303 (#3648)

  • chore(mongodb-compass): move all autoupdates logic to compass main process
  • chore: remove testing leftover
  • chore: do not apply initial timeout on preferences change
  • chore: remove compass-auto-updates from package / package-lock
  • chore: update wording in restart modal description

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>

  • chore: make linux autoupdater completely noop
  • chore: handle state action abort for user confirmation
  • chore: fix log ids
  • chore(compass): remove tracking from auto updater restart states
  • chore(mongodb-compass): add missing dependency
  • chore(mongodb-compass): add special message for mismatched arch; add manual check for updates
  • chore(mongodb-compass): fix check
  • chore: stub arch in tests
  • chore: update text
  • chore: use quit and install instead of app.relaunch

app.quit() doesn't apply the update, just restarts the old version

  • chore: fix test

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>
Branch: update-lg-again
https://github.com/mongodb-js/compass/commit/f9347a106881d77aa4b1f7f37daed25d73c5f92c

Comment by Githook User [ 30/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(mongodb-compass): move all autoupdates logic to compass main process, allow to dismiss updates COMPASS-6057 COMPASS-6303 (#3648)

  • chore(mongodb-compass): move all autoupdates logic to compass main process
  • chore: remove testing leftover
  • chore: do not apply initial timeout on preferences change
  • chore: remove compass-auto-updates from package / package-lock
  • chore: update wording in restart modal description

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>

  • chore: make linux autoupdater completely noop
  • chore: handle state action abort for user confirmation
  • chore: fix log ids
  • chore(compass): remove tracking from auto updater restart states
  • chore(mongodb-compass): add missing dependency
  • chore(mongodb-compass): add special message for mismatched arch; add manual check for updates
  • chore(mongodb-compass): fix check
  • chore: stub arch in tests
  • chore: update text
  • chore: use quit and install instead of app.relaunch

app.quit() doesn't apply the update, just restarts the old version

  • chore: fix test

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>
Branch: COMPASS-6325-fix-settings-modal-height-and-categories
https://github.com/mongodb-js/compass/commit/f9347a106881d77aa4b1f7f37daed25d73c5f92c

Comment by Githook User [ 28/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(mongodb-compass): move all autoupdates logic to compass main process, allow to dismiss updates COMPASS-6057 COMPASS-6303 (#3648)

  • chore(mongodb-compass): move all autoupdates logic to compass main process
  • chore: remove testing leftover
  • chore: do not apply initial timeout on preferences change
  • chore: remove compass-auto-updates from package / package-lock
  • chore: update wording in restart modal description

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>

  • chore: make linux autoupdater completely noop
  • chore: handle state action abort for user confirmation
  • chore: fix log ids
  • chore(compass): remove tracking from auto updater restart states
  • chore(mongodb-compass): add missing dependency
  • chore(mongodb-compass): add special message for mismatched arch; add manual check for updates
  • chore(mongodb-compass): fix check
  • chore: stub arch in tests
  • chore: update text
  • chore: use quit and install instead of app.relaunch

app.quit() doesn't apply the update, just restarts the old version

  • chore: fix test

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>
Branch: no-duplicate-stages
https://github.com/mongodb-js/compass/commit/f9347a106881d77aa4b1f7f37daed25d73c5f92c

Comment by Githook User [ 28/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(mongodb-compass): move all autoupdates logic to compass main process, allow to dismiss updates COMPASS-6057 COMPASS-6303 (#3648)

  • chore(mongodb-compass): move all autoupdates logic to compass main process
  • chore: remove testing leftover
  • chore: do not apply initial timeout on preferences change
  • chore: remove compass-auto-updates from package / package-lock
  • chore: update wording in restart modal description

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>

  • chore: make linux autoupdater completely noop
  • chore: handle state action abort for user confirmation
  • chore: fix log ids
  • chore(compass): remove tracking from auto updater restart states
  • chore(mongodb-compass): add missing dependency
  • chore(mongodb-compass): add special message for mismatched arch; add manual check for updates
  • chore(mongodb-compass): fix check
  • chore: stub arch in tests
  • chore: update text
  • chore: use quit and install instead of app.relaunch

app.quit() doesn't apply the update, just restarts the old version

  • chore: fix test

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>
Branch: update-react-tooltip-usage-to-lg
https://github.com/mongodb-js/compass/commit/f9347a106881d77aa4b1f7f37daed25d73c5f92c

Comment by Githook User [ 28/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(mongodb-compass): move all autoupdates logic to compass main process, allow to dismiss updates COMPASS-6057 COMPASS-6303 (#3648)

  • chore(mongodb-compass): move all autoupdates logic to compass main process
  • chore: remove testing leftover
  • chore: do not apply initial timeout on preferences change
  • chore: remove compass-auto-updates from package / package-lock
  • chore: update wording in restart modal description

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>

  • chore: make linux autoupdater completely noop
  • chore: handle state action abort for user confirmation
  • chore: fix log ids
  • chore(compass): remove tracking from auto updater restart states
  • chore(mongodb-compass): add missing dependency
  • chore(mongodb-compass): add special message for mismatched arch; add manual check for updates
  • chore(mongodb-compass): fix check
  • chore: stub arch in tests
  • chore: update text
  • chore: use quit and install instead of app.relaunch

app.quit() doesn't apply the update, just restarts the old version

  • chore: fix test

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>
Branch: revert-3723-revert-3709-compass-6170-remove-pipeline-from-text
https://github.com/mongodb-js/compass/commit/f9347a106881d77aa4b1f7f37daed25d73c5f92c

Comment by Githook User [ 28/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(mongodb-compass): move all autoupdates logic to compass main process, allow to dismiss updates COMPASS-6057 COMPASS-6303 (#3648)

  • chore(mongodb-compass): move all autoupdates logic to compass main process
  • chore: remove testing leftover
  • chore: do not apply initial timeout on preferences change
  • chore: remove compass-auto-updates from package / package-lock
  • chore: update wording in restart modal description

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>

  • chore: make linux autoupdater completely noop
  • chore: handle state action abort for user confirmation
  • chore: fix log ids
  • chore(compass): remove tracking from auto updater restart states
  • chore(mongodb-compass): add missing dependency
  • chore(mongodb-compass): add special message for mismatched arch; add manual check for updates
  • chore(mongodb-compass): fix check
  • chore: stub arch in tests
  • chore: update text
  • chore: use quit and install instead of app.relaunch

app.quit() doesn't apply the update, just restarts the old version

  • chore: fix test

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>
Branch: add-script-for-generating-readme-package-descriptions
https://github.com/mongodb-js/compass/commit/f9347a106881d77aa4b1f7f37daed25d73c5f92c

Comment by Githook User [ 25/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(mongodb-compass): move all autoupdates logic to compass main process, allow to dismiss updates COMPASS-6057 COMPASS-6303 (#3648)

  • chore(mongodb-compass): move all autoupdates logic to compass main process
  • chore: remove testing leftover
  • chore: do not apply initial timeout on preferences change
  • chore: remove compass-auto-updates from package / package-lock
  • chore: update wording in restart modal description

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>

  • chore: make linux autoupdater completely noop
  • chore: handle state action abort for user confirmation
  • chore: fix log ids
  • chore(compass): remove tracking from auto updater restart states
  • chore(mongodb-compass): add missing dependency
  • chore(mongodb-compass): add special message for mismatched arch; add manual check for updates
  • chore(mongodb-compass): fix check
  • chore: stub arch in tests
  • chore: update text
  • chore: use quit and install instead of app.relaunch

app.quit() doesn't apply the update, just restarts the old version

  • chore: fix test

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>
Branch: 6085-dev
https://github.com/mongodb-js/compass/commit/f9347a106881d77aa4b1f7f37daed25d73c5f92c

Comment by Githook User [ 25/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: feat(mongodb-compass): move all autoupdates logic to compass main process, allow to dismiss updates COMPASS-6057 COMPASS-6303 (#3648)

  • chore(mongodb-compass): move all autoupdates logic to compass main process
  • chore: remove testing leftover
  • chore: do not apply initial timeout on preferences change
  • chore: remove compass-auto-updates from package / package-lock
  • chore: update wording in restart modal description

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>

  • chore: make linux autoupdater completely noop
  • chore: handle state action abort for user confirmation
  • chore: fix log ids
  • chore(compass): remove tracking from auto updater restart states
  • chore(mongodb-compass): add missing dependency
  • chore(mongodb-compass): add special message for mismatched arch; add manual check for updates
  • chore(mongodb-compass): fix check
  • chore: stub arch in tests
  • chore: update text
  • chore: use quit and install instead of app.relaunch

app.quit() doesn't apply the update, just restarts the old version

  • chore: fix test

Co-authored-by: Maurizio Casimirri <maurizio.cas@gmail.com>
Branch: main
https://github.com/mongodb-js/compass/commit/f9347a106881d77aa4b1f7f37daed25d73c5f92c

Comment by Githook User [ 25/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: Merge remote-tracking branch 'origin/main' into compass-6057-refactor-auto-updates
Branch: compass-6057-refactor-auto-updates
https://github.com/mongodb-js/compass/commit/306785100889bfb99b3fabfb2e0092e8e256e8cb

Comment by Githook User [ 11/Nov/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: Merge remote-tracking branch 'origin/main' into compass-6057-refactor-auto-updates
Branch: compass-6057-refactor-auto-updates
https://github.com/mongodb-js/compass/commit/868d28365433938c1b273aecb6b9d145d5a7f904

Comment by Githook User [ 27/Oct/22 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: Merge remote-tracking branch 'origin/main' into compass-6057-refactor-auto-updates
Branch: compass-6057-refactor-auto-updates
https://github.com/mongodb-js/compass/commit/bc9dd2defa28a32a9202c7f6f4753d1f8cedd2d9

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