Skip to content

Test: background update disabled flow on windows #264430

Closed

Description

@deepak1556

Refs: #249239

Complexity: 3

Authors: Robo (@deepak1556)

Create Issue


This iteration we have made changes to our new background update story on windows. This test plan ensures the update path with background updates disabled remains sane. Please test the following scenarios with the user setup and system setup,

Prerequisite:

  1. Download build A
  2. Download build B
  3. Set "update.mode": "manual" and "update.enableWindowsBackgroundUpdates": false

Issue reporting

When creating issues, please attach the following 3 logs along with the steps to repro

  1. Inno updater logs vscode-inno-updater-*.log from OS temp directory
  2. Inno setup logs Setup Log *.txt from OS temp directory
  3. Application main process logs, if possible always run with trace level

Testing:

Scenario 1 (Update from A -> B):

  • Install version A following the setup instructions
  • Ensure the directory layout of the installed application folder as follows,
<version folder> // name matches the first 10 chars of the product commit
bin
app.exe
app.VisualElementsManifest.xml
uninst000.dat
uninst000.exe
  • Launch version A
  • Run Developer: Apply Update
  • Choose version B setup file
  • Once the gear icon changes to signal update is ready to be installed, apply the update
  • Once the update completes and application restarts, check the about dialog commit points to version B
  • Verify that application directory no longer contains new_ files

Scenario 2 (Update from A -> B with system restart):

  • Follow the same steps as scenario 1 till the gear icon signals update is ready
  • Start the update
  • Force restart the system without closing the setup application
  • Verify that the application directory hasn't performed any update operations, i-e files correspond to version A
  • Start the application and commit of the launched application matches version A

Additional testing:

  1. Ensure cli works fine before and after the update, try to break cli by invoking it in the middle of the update flow
  2. Have a tunnel service running and perform the update flow, ensure tunnels get restarted once the update is complete

Activity

  1. added this to the August 2025 milestone on Sep 1, 2025
  2. aeschli commented on Sep 2, 2025

    @aeschli
    Contributor

    Verified that killing the setup process works as expected.
    Verified that running tunnels servers are killed, and tunnel services is stopped and restarted.

  3. joshspicer commented on Sep 2, 2025

    @joshspicer
    Contributor

    Performed all the tests - worked great 🎉

  4. locked and limited conversation to collaborators on Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions