Skip to content

fix(openscreen): resolve Windows installer asset name for 2.1.0+ - #1229

Merged
loonghao merged 1 commit into
mainfrom
fix/vx-openscreen-provider-windows-main-ci-success-v-dd1e5437d2b1
Oct 21, 2026
Merged

loonghao merged 1 commit into
mainfrom
fix/vx-openscreen-provider-windows-main-ci-success-v-dd1e5437d2b1

Conversation

@loonghao

Copy link
Copy Markdown
Collaborator

Problem

Upstream getopenscreen/openscreen renamed its Windows NSIS installer to include an architecture suffix starting with 2.1.0 (Openscreen.Setup.<version>-<arch>.exe) and no longer publishes the arch-less Openscreen.Setup.<version>.exe. The provider still built the arch-less name, so on Windows it requested a URL that returns HTTP 404:

Install failed: Download failed: HTTP 404 Not Found for
https://github.com/getopenscreen/openscreen/releases/download/v2.1.1/Openscreen.Setup.2.1.1.exe

This fails the Windows provider matrix, which aggregates into the required CI Success gate, so any PR based on main cannot merge while this asset name is stale.

Fix

  • Windows now selects Openscreen.Setup.<version>-<arch>.exe for versions >= 2.1.0, for both x64 and arm64.
  • The 2.0.x line only ever published a single arch-less x64 installer, so that name is kept for 2.0.x (x64 only); requesting 2.0.0 on arm64 still yields no URL instead of fabricating one.
  • macOS and Linux naming is unchanged.

Verified against upstream releases: .../v2.1.1/Openscreen.Setup.2.1.1-x64.exe and .../v2.1.1/Openscreen.Setup.2.1.1-arm64.exe resolve (HTTP 200), as does the legacy .../v2.0.0/Openscreen.Setup.2.0.0.exe.

Tests

  • Extended crates/vx-cli/tests/openscreen_provider_tests.rs to cover both naming schemes (x64/arm64 at 2.1.0/2.1.1, plus the legacy arch-less 2.0.0); all cases pass locally.
  • Updated the openscreen tool docs (en/zh) to reflect Windows ARM64 support from 2.1.0.

Upstream renamed the Windows NSIS installer to include an architecture suffix starting with 2.1.0 (Openscreen.Setup.<version>-<arch>.exe) and stopped publishing the arch-less Openscreen.Setup.<version>.exe. The provider therefore resolved a 404 URL on Windows, failing the provider matrix and turning the required CI Success gate red on main.

Select the arch-suffixed installer for 2.1.0+ (x64 and arm64) and keep the arch-less x64 name for the 2.0.x line, which only ever shipped a single x64 installer. Extend the provider tests to cover both naming schemes and update the platform docs.
@loonghao
loonghao merged commit e9387f4 into main Oct 21, 2026
80 of 83 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant