Skip to content

Launcher tests: "an older record: update available" fakes a version newer than the test build #233

Open

Description

@phantoslayer21

The launcher suite check "an older record: update available" (clean/installer/tests/run_launcher_tests.py, around
line 412) writes an install record for version 0.5.1 and expects the launcher to report update-available. The suite
builds the launcher under test with version 0.3.0-test (clean/installer/tests/run_installer_tests.py, around line
2246), so the faked record is newer than the build. The launcher then correctly reports installed, and the check
fails on every PC, with main as well. The update steps after it still pass only because they use --force.

Fix: fake a record version below the build's version (for example derive it from the build version), or build the
test launcher with a version above any record the suite fakes. The check should then pass, and a second check should
confirm that a record newer than the build is reported as installed, not as an update.

Found while working on #224 (launcher uninstall checks, #219); not part of that fix.

Activity

  1. added this to the 0.6.5 milestone on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuildBuilding from source

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions