Skip to content

[P1][bug] Three manifest platform keys are names the updater never reads #567

Closed

Description

@EVWorth

What

The manifest emits eight platform keys. Tauri's updater looks up {os}-{arch} only, so three of them are inert:

Key Read by the updater?
linux-x86_64 yes
windows-x86_64 yes
darwin-x86_64, darwin-aarch64 yes (but see the artifact problem)
linux-deb no
linux-rpm no
windows-x86_64-nsis no

Inert entries are worse than absent ones: the manifest reads as though deb, rpm and NSIS installs are covered by auto-update when nothing consumes those entries.

Also

*aarch64.rpm) key="linux-aarch64" serves an RPM as the generic Linux aarch64 update. Tauri's Linux updater handles AppImage only. Dead today — there is no aarch64 Linux target in the build matrix — but wrong the day one is added.

Expected

Only keys the updater reads appear in the manifest, and each points at a format that updater can apply. Formats distributed but not auto-updatable (deb, rpm, NSIS, dmg) are published as release assets without pretending to be update sources.

Activity

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

    @EVWorth
    OwnerAuthor

    Already fixed, in 5b530c4 ("build the update manifest from the artifacts the updater can use", #572).

    scripts/build-update-manifest.sh emits exactly the four keys the updater reads — linux-x86_64, windows-x86_64, darwin-x86_64, darwin-aarch64 — each pointing at the one format that platform's updater can apply. linux-deb, linux-rpm and windows-x86_64-nsis are gone, along with the aarch64-RPM-as-generic-Linux entry.

    The script's header carries your reasoning: anything else the release publishes is a download for humans, not an update source, and an inert key reads as coverage that does not exist.

    Covered by scripts/test-build-update-manifest.sh, run in CI — including "emits exactly the four keys the updater reads" and "does not fall back to the .dmg".

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/bugseverity/p1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions