Skip to content

Auto-update fails: 404 downloading release asset terraphim_agent-1.5.2 (linux x86_64) #462

@AlexMikhalev

Description

@AlexMikhalev

Problem

The built-in updater checks for updates and attempts to download the release asset, but the download URL returns 404 and the update aborts after 3 retries.

Logs

Checking for updates and installing if available...
[2026-01-20T10:53:21Z WARN  terraphim_update::downloader] Download attempt 1 failed after 0.44s: HTTP request failed: https://github.com/terraphim/terraphim-ai/releases/download/1.5.2/terraphim_agent-1.5.2-x86_64-unknown-linux-gnu.tar.gz: status code 404
[2026-01-20T10:53:22Z WARN  terraphim_update::downloader] Download attempt 2 failed after 0.05s: HTTP request failed: https://github.com/terraphim/terraphim-ai/releases/download/1.5.2/terraphim_agent-1.5.2-x86_64-unknown-linux-gnu.tar.gz: status code 404
[2026-01-20T10:53:24Z WARN  terraphim_update::downloader] Download attempt 3 failed after 0.05s: HTTP request failed: https://github.com/terraphim/terraphim-ai/releases/download/1.5.2/terraphim_agent-1.5.2-x86_64-unknown-linux-gnu.tar.gz: status code 404
[2026-01-20T10:53:24Z ERROR terraphim_update::downloader] Download failed after 3 attempt(s) (3.55s total)
[2026-01-20T10:53:24Z ERROR terraphim_update] Update with verification failed: Failed to download archive: HTTP request failed: https://github.com/terraphim/terraphim-ai/releases/download/1.5.2/terraphim_agent-1.5.2-x86_64-unknown-linux-gnu.tar.gz: status code 404
Update failed: Failed to download archive: HTTP request failed: https://github.com/terraphim/terraphim-ai/releases/download/1.5.2/terraphim_agent-1.5.2-x86_64-unknown-linux-gnu.tar.gz: status code 404

Expected

Updater should download an existing asset for version 1.5.2 and proceed with verification+install (or gracefully fall back if the asset naming changed).

Actual

Updater retries 3 times, then fails with 404 and aborts the update.

Environment

  • Platform: linux
  • Arch/target: x86_64-unknown-linux-gnu
  • Release requested: 1.5.2
  • Repo: terraphim/terraphim-ai

Notes / Suspected cause

Either the 1.5.2 release is missing the expected asset, the asset name differs, or the updater is constructing the wrong filename (e.g., underscore vs hyphen, binary name mismatch, or different target triple).

Suggested fix

  • Ensure the 1.5.2 release includes the expected linux x86_64 tarball asset (matching the updater naming).
  • Or update the updater’s asset name resolution to match the release artifacts, with a clear error message listing available assets when none match.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions