Manage binary runner versions and recover interrupted upgrade #141

Closed
github-bot wants to merge 2 commits from github-bot/gh-141 into main AGit
Owner

@⁠sonarlunar1983-dotcom on GitHub · 2026-12-03 00:10 UTC · original
sonarlunar1983-dotcom:feat/runner-release-management-2.1 → main · +1397 −618 · 18 files · 2 commits · closed without merging

Foxhound v0.8.3 is marked as a pre-release, and its Windows ZIP was replaced under the same tag with launcher 0.8.3.3. With the default Stable channel selected, a user running v0.8.2 is not offered v0.8.3 as a stable update. They can explicitly select Experimental, install v0.8.3, and roll back to their previous binaries.

Release selection

  • Foxhound and Leila have independent Stable and Experimental channels. Stable includes only published releases explicitly marked as non-draft and non-prerelease. Experimental also includes published pre-releases. Installing a pre-release for the first time requires confirmation for that runner.
  • The manager shows the installed version, the latest stable and experimental releases, and a link to the selected release’s notes. Users can select an older version, pin its tag across restarts, and explicitly unpin it to resume normal updates. GitHub releases are ordered by publication time, so tags do not need to follow semantic versioning.
  • The manager records release and asset IDs, size, update timestamp, and digest when available. If upstream replaces an artifact under the installed tag, installing the replacement requires explicit confirmation, including when the tag is pinned. Downloads are verified against upstream SHA-256 digests when supplied.
  • Darner follows the behavior introduced in AmericasLauncher v2.1.1. It reads link-for-darner/link.txt through the GitHub Contents API and sorts tags by their numeric components, newest first. For example, v2026.12.02.10 precedes v2026.12.02.9 regardless of line order. The manifest supplies no release classification, so Darner offers version selection, pinning and rollback without a channel selector.
  • Source-built runners keep their existing Git and build workflow.

Installation and rollback

The installer downloads into staging and verifies the artifact and required executables before changing the active installation. It snapshots the previous distribution files and writes a recovery journal before replacing them. If activation fails, the installer restores the previous files. After an interruption, the launcher checks the journal and completes recovery before allowing the runner to launch.

Rollback works offline and pins the restored version. It restores only runner distribution files. Saves, game files, profiles, configuration and shader caches remain as they are at the time of rollback. Older binaries may be unable to read formats migrated by a newer runner. Darner retains its existing nvidia settings identity and can restore the legacy victory.exe filename.

Existing installations retain their saved paths and version tags. For a legacy installation that recorded only a tag, the exact asset revision is unknown until an explicit install records its metadata.

Verification

Rebased onto main at c54dde9 and retested on Windows.

  • All 46 offline tests passed using mocked HTTP responses and temporary directories. Coverage includes channel filtering, persistent pins, same-tag asset changes, invalid downloads, Darner’s numeric tag ordering and signed URLs, locked executables, interrupted activation, rollback and user-data preservation.
  • The .NET 8 Release build passed with warnings treated as errors. Framework-dependent publish and git diff --check also passed.
  • Manual GUI and real-runner validation remain outstanding.

Related to issue #86. The upstream Foxhound v0.8.3 release notes document its experimental status and replacement download. See the runner release guide for usage and recovery details.

**@⁠sonarlunar1983-dotcom** on GitHub · 2026-12-03 00:10 UTC · [original](https://github.com/isaac-btw/AmericasLauncher/pull/141) `sonarlunar1983-dotcom:feat/runner-release-management-2.1` → `main` · +1397 −618 · 18 files · 2 commits · closed without merging Foxhound v0.8.3 is marked as a pre-release, and its Windows ZIP was replaced under the same tag with launcher 0.8.3.3. With the default Stable channel selected, a user running v0.8.2 is not offered v0.8.3 as a stable update. They can explicitly select Experimental, install v0.8.3, and roll back to their previous binaries. ### Release selection - Foxhound and Leila have independent Stable and Experimental channels. Stable includes only published releases explicitly marked as non-draft and non-prerelease. Experimental also includes published pre-releases. Installing a pre-release for the first time requires confirmation for that runner. - The manager shows the installed version, the latest stable and experimental releases, and a link to the selected release’s notes. Users can select an older version, pin its tag across restarts, and explicitly unpin it to resume normal updates. GitHub releases are ordered by publication time, so tags do not need to follow semantic versioning. - The manager records release and asset IDs, size, update timestamp, and digest when available. If upstream replaces an artifact under the installed tag, installing the replacement requires explicit confirmation, including when the tag is pinned. Downloads are verified against upstream SHA-256 digests when supplied. - Darner follows the behavior introduced in AmericasLauncher v2.1.1. It reads `link-for-darner/link.txt` through the GitHub Contents API and sorts tags by their numeric components, newest first. For example, `v2026.12.02.10` precedes `v2026.12.02.9` regardless of line order. The manifest supplies no release classification, so Darner offers version selection, pinning and rollback without a channel selector. - Source-built runners keep their existing Git and build workflow. ### Installation and rollback The installer downloads into staging and verifies the artifact and required executables before changing the active installation. It snapshots the previous distribution files and writes a recovery journal before replacing them. If activation fails, the installer restores the previous files. After an interruption, the launcher checks the journal and completes recovery before allowing the runner to launch. Rollback works offline and pins the restored version. It restores only runner distribution files. Saves, game files, profiles, configuration and shader caches remain as they are at the time of rollback. Older binaries may be unable to read formats migrated by a newer runner. Darner retains its existing `nvidia` settings identity and can restore the legacy `victory.exe` filename. Existing installations retain their saved paths and version tags. For a legacy installation that recorded only a tag, the exact asset revision is unknown until an explicit install records its metadata. ### Verification Rebased onto `main` at `c54dde9` and retested on Windows. - All 46 offline tests passed using mocked HTTP responses and temporary directories. Coverage includes channel filtering, persistent pins, same-tag asset changes, invalid downloads, Darner’s numeric tag ordering and signed URLs, locked executables, interrupted activation, rollback and user-data preservation. - The .NET 8 Release build passed with warnings treated as errors. Framework-dependent publish and `git diff --check` also passed. - Manual GUI and real-runner validation remain outstanding. Related to [issue #86](https://git.gtahub.st/github/isaac-btw--AmericasLauncher/issues/86). The upstream [Foxhound v0.8.3 release notes](https://github.com/readmet3xt-lab/foxhound/releases/tag/v0.8.3) document its experimental status and replacement download. See the [runner release guide](docs/RUNNER-RELEASES.md) for usage and recovery details.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 00:11:25 +00:00
github-bot force-pushed github-bot/gh-141 from 91fd7d7d07 to acd43b405a 2026-12-03 11:45:29 +00:00 Compare
Keep the shared FoxHound version manager and preserve upstream settings localization and language documentation.
github-bot closed this pull request 2026-12-03 21:40:55 +00:00
Author
Owner

@⁠isaac-btw on GitHub · 2026-12-03 21:35 UTC · original

Already done

**@⁠isaac-btw** on GitHub · 2026-12-03 21:35 UTC · [original](https://github.com/isaac-btw/AmericasLauncher/pull/141#issuecomment-7393031187) Already done

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.