Skip to content

[P2][bug] The rpm-ostree manual update command hardcodes x86_64 #571

Closed

Description

@EVWorth

What

settingsStore.ts:

function buildRpmUrl(version: string): string {
  return `https://github.com/EVWorth/sqlpilot/releases/download/v${version}/SQLPilot-${version}-1.x86_64.rpm`;
}

An aarch64 rpm-ostree user is handed an x86_64 URL to paste into a terminal. It either fails to install or installs the wrong architecture.

Also worth noting while here

rm -f /tmp/sign-key in the release workflow removes a file nothing creates — a leftover from an earlier signing approach. Harmless, but it implies a cleanup step that is not happening.

Expected

The URL names the architecture the app is running on, or the UI says which asset to fetch rather than constructing a URL it cannot be sure of.

Activity

  1. added
    kind/bug
    area/theming
    on Sep 8, 2026
  2. EVWorth commented on Sep 11, 2026

    @EVWorth
    OwnerAuthor

    Already fixed, in f492398 ("decide from how the app was installed, not from one file's existence", #575).

    buildRpmUrl is gone. The backend reports std::env::consts::ARCH alongside the package format (commands/mod.rs:724), the store carries it, and update-channel.ts takes the architecture as a parameter rather than assuming one — so an aarch64 rpm-ostree user is handed an aarch64 URL.

    There is a Rust test asserting the reported arch equals std::env::consts::ARCH.

    The secondary note stands: rm -f /tmp/sign-key in the release workflow still removes a file nothing creates. Harmless, and not worth its own issue — I will fold it into the release-workflow pass.

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

    area/themingkind/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions