[GH-ISSUE #1673] [Feature]: Decide stable auto-update support for refactor desktop releases #836

Closed
opened 2026-10-21 05:21:39 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @cha1latte on GitHub (May 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1673

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Refactor desktop builds currently have a manual update handoff: the app can check GitHub releases and open the release page, but it does not install updates automatically. That is acceptable for pre-alpha testing, but stable refactor releases need an explicit product/release decision so users know whether Marinara will continue with manual releases or support signed automatic desktop updates.

Without a tracked decision, future installer/update problems can keep landing as old-codebase launcher bugs or vague "proper updater" requests instead of a clear refactor release/distribution plan.

Proposed behavior

Decide and document the stable refactor update strategy before stable refactor desktop releases ship.

The decision should cover:

  • Whether stable refactor desktop builds remain manual-release only or use signed Tauri updater support.
  • Which platforms are in scope for automatic updates: Windows, macOS, Linux, or a subset.
  • Who owns updater signing keys/secrets and where release metadata is published.
  • Whether GitHub Releases are the update metadata/source of truth or whether a separate update endpoint is needed.
  • What the in-app update UI should say for supported, unsupported, pre-alpha, and manual-only builds.
  • What recovery path users should follow if an update fails.

If signed automatic updates are chosen, follow-up implementation tickets should be split by release surface/platform rather than handled as one broad PR.

Expected owner or impact area

  • App shell, navigation, startup, or providers
  • Catalog resources: chats, characters, personas, lorebooks, presets, connections, agents, gallery, or knowledge
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Refactor branch considerations

Current refactor behavior is intentionally manual:

  • #1374 added update_check / update_apply and Settings > Advanced controls that open the release page instead of installing updates.
  • #1377 added manual pre-alpha platform builds and explicitly disables updater metadata for pre-alpha artifacts.
  • The current Tauri config does not include updater plugin configuration, updater endpoints, updater public keys, or updater artifacts.

Tauri updater support would require release/distribution work, not just a UI change: plugin dependency/config, signed artifacts, updater public key configuration, private key custody, update endpoint/metadata publication, platform-specific bundle behavior, and failure recovery copy.

Alternatives considered

Keep manual releases indefinitely and make the in-app update UI/docs clearer. This is simpler and avoids signing/secrets/update-metadata maintenance, but users still have to download and install releases themselves.

Do nothing for now and keep relying on pre-alpha warnings. That is fine for pre-alpha builds, but it leaves the stable refactor release path undecided.

Additional context

Related old-codebase report: #1671.

Related refactor work:

  • #1348 tracked the missing refactor update check/apply surface.
  • #1374 restored a bounded manual-release update handoff.
  • #1368 tracked desktop build/distribution parity.
  • #1377 added manual pre-alpha platform builds.
  • #1384 fixed follow-up pre-alpha build failures.

Template check

Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @cha1latte on GitHub (May 30, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1673 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? Refactor desktop builds currently have a manual update handoff: the app can check GitHub releases and open the release page, but it does not install updates automatically. That is acceptable for pre-alpha testing, but stable refactor releases need an explicit product/release decision so users know whether Marinara will continue with manual releases or support signed automatic desktop updates. Without a tracked decision, future installer/update problems can keep landing as old-codebase launcher bugs or vague "proper updater" requests instead of a clear refactor release/distribution plan. ## Proposed behavior Decide and document the stable refactor update strategy before stable refactor desktop releases ship. The decision should cover: - Whether stable refactor desktop builds remain manual-release only or use signed Tauri updater support. - Which platforms are in scope for automatic updates: Windows, macOS, Linux, or a subset. - Who owns updater signing keys/secrets and where release metadata is published. - Whether GitHub Releases are the update metadata/source of truth or whether a separate update endpoint is needed. - What the in-app update UI should say for supported, unsupported, pre-alpha, and manual-only builds. - What recovery path users should follow if an update fails. If signed automatic updates are chosen, follow-up implementation tickets should be split by release surface/platform rather than handled as one broad PR. ## Expected owner or impact area - [x] App shell, navigation, startup, or providers - [ ] Catalog resources: chats, characters, personas, lorebooks, presets, connections, agents, gallery, or knowledge - [ ] Chat mode - [ ] Roleplay mode - [ ] Game mode - [ ] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [x] Shared API wrapper or remote runtime routing - [x] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [x] Docs, contributor workflow, or templates ## Refactor branch considerations Current refactor behavior is intentionally manual: - #1374 added `update_check` / `update_apply` and Settings > Advanced controls that open the release page instead of installing updates. - #1377 added manual pre-alpha platform builds and explicitly disables updater metadata for pre-alpha artifacts. - The current Tauri config does not include updater plugin configuration, updater endpoints, updater public keys, or updater artifacts. Tauri updater support would require release/distribution work, not just a UI change: plugin dependency/config, signed artifacts, updater public key configuration, private key custody, update endpoint/metadata publication, platform-specific bundle behavior, and failure recovery copy. ## Alternatives considered Keep manual releases indefinitely and make the in-app update UI/docs clearer. This is simpler and avoids signing/secrets/update-metadata maintenance, but users still have to download and install releases themselves. Do nothing for now and keep relying on pre-alpha warnings. That is fine for pre-alpha builds, but it leaves the stable refactor release path undecided. ## Additional context Related old-codebase report: #1671. Related refactor work: - #1348 tracked the missing refactor update check/apply surface. - #1374 restored a bounded manual-release update handoff. - #1368 tracked desktop build/distribution parity. - #1377 added manual pre-alpha platform builds. - #1384 fixed follow-up pre-alpha build failures. ## Template check Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:21:39 +07:00
Author
Owner

@cha1latte commented on GitHub (May 30, 2026):

Triage note: labeling this as scope-risk because stable automatic desktop updates are aligned with release reliability, but the first implementation depends on cross-platform distribution decisions, signing/updater keys, updater metadata, release channels, and recovery behavior.

The least risky next step is to make a maintainer decision on manual releases vs signed Tauri updater support, then split implementation by platform or release surface before anyone builds it.

<!-- gh-comment-id:4584391951 --> @cha1latte commented on GitHub (May 30, 2026): Triage note: labeling this as `scope-risk` because stable automatic desktop updates are aligned with release reliability, but the first implementation depends on cross-platform distribution decisions, signing/updater keys, updater metadata, release channels, and recovery behavior. The least risky next step is to make a maintainer decision on manual releases vs signed Tauri updater support, then split implementation by platform or release surface before anyone builds it.
Author
Owner

@cha1latte commented on GitHub (Jun 1, 2026):

@SpicyMarinara

<!-- gh-comment-id:4588953839 --> @cha1latte commented on GitHub (Jun 1, 2026): @SpicyMarinara
Author
Owner

@SpicyMarinara commented on GitHub (Jun 1, 2026):

Resolved on refactor in 6edd9a0d.

Decision:

  • Stable refactor desktop builds remain manual GitHub Releases installs for now.
  • The app may check releases and open the matching release page, but it must not silently download/apply desktop updates.
  • Signed Tauri updater support is explicitly out of scope until a follow-up plan defines platforms, signing key custody, updater metadata, config, artifacts, and recovery behavior.

Files touched:

  • docs/release-update-strategy.md
  • README.md

Verification:

  • pnpm check:docs
  • pnpm check:architecture
  • git diff --check HEAD~1..HEAD
<!-- gh-comment-id:4592031364 --> @SpicyMarinara commented on GitHub (Jun 1, 2026): Resolved on refactor in 6edd9a0d. Decision: - Stable refactor desktop builds remain manual GitHub Releases installs for now. - The app may check releases and open the matching release page, but it must not silently download/apply desktop updates. - Signed Tauri updater support is explicitly out of scope until a follow-up plan defines platforms, signing key custody, updater metadata, config, artifacts, and recovery behavior. Files touched: - docs/release-update-strategy.md - README.md Verification: - pnpm check:docs - pnpm check:architecture - git diff --check HEAD~1..HEAD
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#836
No description provided.