Repository navigation
Closed
Description
Refs: #249239
- Windows: Martin Aeschlimann (@aeschli) (x64)
- Windows: joshspicer (arm64)
Complexity: 3
Authors: Robo (@deepak1556)
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:
- Download build A
- Download build B
- 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
- Inno updater logs
vscode-inno-updater-*.logfrom OS temp directory - Inno setup logs
Setup Log *.txtfrom OS temp directory - 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:
- Ensure cli works fine before and after the update, try to break cli by invoking it in the middle of the update flow
- Have a tunnel service running and perform the update flow, ensure tunnels get restarted once the update is complete
Activity
aeschli commentedon Sep 2, 2025
Verified that killing the setup process works as expected.
Verified that running tunnels servers are killed, and tunnel services is stopped and restarted.
joshspicer commentedon Sep 2, 2025
Performed all the tests - worked great 🎉