Skip to content

Research: point the updater's GitHub fallback at the canonical repository - #1663

Merged
AnthonyRonning merged 1 commit into
masterfrom
updater-fallback-canonical-repo
Nov 20, 2026
Merged

AnthonyRonning merged 1 commit into
masterfrom
updater-fallback-canonical-repo

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Research's desktop updater asks updates.trymaple.ai/latest.json first and falls back to the latest GitHub release. The fallback URL still named the repository's former owner, so it worked only through GitHub's rename redirect. That redirect stops if a repository with the old name is ever created again.

  • tauri.conf.json: the fallback is now https://github.com/MaplePrivacyLabs/Maple/releases/latest/download/latest.json.
  • scripts/ci/test_research_updater_endpoints.py (new): the endpoint list is the hosted feed, then the release manifest of the repository named in repo.meta.json. It fails on the old URL.

Effect

  • Builds from the next Research release on carry the new fallback. Nothing changes for the primary endpoint, the signing key or the manifest format.
  • Installed clients keep the URL they were built with and continue to depend on the redirect.

Checks

  • The new URL answers 302 to the current release's latest.json; the old one answers 301 to the new URL first.
  • That manifest is byte-identical to the hosted feed (4,254 bytes, version 3.4.9).
  • Local: repo tests (657) and Research Rust tests (93) pass.

Not run: an update through the fallback in a packaged build. The app reaches the fallback only when the hosted feed fails.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…tory

The updater asks updates.trymaple.ai first and falls back to the latest
GitHub release. The fallback still named the repository's former owner and
worked only through GitHub's rename redirect. Use the canonical name from
repo.meta.json, and add a test that keeps the two in step.

Installed clients keep the URL they were built with.

Co-Authored-By: Claude <[email protected]>
@AnthonyRonning
AnthonyRonning merged commit 7b3fec7 into master Nov 20, 2026
21 checks passed
@AnthonyRonning
AnthonyRonning deleted the updater-fallback-canonical-repo branch November 20, 2026 02:30
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