[PR #5130] [MERGED] fix(updater): keep update snapshots free of downloaded runtimes #6641

Closed
opened 2026-10-23 04:12:21 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5130
Author: @SpicyMarinara
Created: 8/16/2026
Status: ✅ Merged
Merged: 8/16/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/5124-snapshot-scope


📝 Commits (4)

  • edc6e14 fix(updater): omit downloaded runtimes from snapshots
  • e1ba2ff Merge remote-tracking branch 'origin/staging' into fix/5124-snapshot-scope
  • cecd5ff Merge remote-tracking branch 'origin/staging' into fix/5124-snapshot-scope
  • 6ab67b5 Merge remote-tracking branch 'origin/staging' into fix/5124-snapshot-scope

📊 Changes

3 files changed (+35 additions, -2 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 scripts/protect-launcher-data.mjs (+11 -2)
📝 scripts/regressions/launcher-update.regression.mjs (+23 -0)

📄 Description

Why

Launcher updates protected the entire data directory, so installations with downloaded local models and sidecar runtimes could spend minutes copying several gigabytes of replaceable files before an update.

Closes #5124

What changed

  • exclude models/ and sidecar-runtime/ from launcher update snapshots
  • continue preserving Gallery media, storage, capability metadata, and recovery backups
  • cover snapshot and restore behavior with the focused launcher regression

Download-scope audit

  • source archives do not track files under packages/server/data/
  • LLM sidecar model and runtime downloads remain behind explicit install/download routes
  • startup and status synchronization continue to use allowRuntimeInstall: false
  • local ONNX/Transformers dependencies used by embeddings and Whisper are a separate base-install packaging concern, not copied sidecar payloads

Validation

  • node scripts/regressions/launcher-update.regression.mjs
  • pnpm check

Manual verification

  • Manually verify an update snapshot remains small with downloaded local models present.
  • Manually verify user-created Gallery and storage data restore after an interrupted update.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/5130 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/16/2026 **Status:** ✅ Merged **Merged:** 8/16/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/5124-snapshot-scope` --- ### 📝 Commits (4) - [`edc6e14`](https://github.com/Pasta-Devs/Marinara-Engine/commit/edc6e14430ec16c4c499804f9637758ab7a22fa9) fix(updater): omit downloaded runtimes from snapshots - [`e1ba2ff`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e1ba2fff5acad77dfb53081d41a8656920328f88) Merge remote-tracking branch 'origin/staging' into fix/5124-snapshot-scope - [`cecd5ff`](https://github.com/Pasta-Devs/Marinara-Engine/commit/cecd5ffd595af0bb16b10a00d55468011ce4f2ff) Merge remote-tracking branch 'origin/staging' into fix/5124-snapshot-scope - [`6ab67b5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6ab67b5fd034077ce59bc80fea829dcab9754fa5) Merge remote-tracking branch 'origin/staging' into fix/5124-snapshot-scope ### 📊 Changes **3 files changed** (+35 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `scripts/protect-launcher-data.mjs` (+11 -2) 📝 `scripts/regressions/launcher-update.regression.mjs` (+23 -0) </details> ### 📄 Description ## Why Launcher updates protected the entire data directory, so installations with downloaded local models and sidecar runtimes could spend minutes copying several gigabytes of replaceable files before an update. Closes #5124 ## What changed - exclude `models/` and `sidecar-runtime/` from launcher update snapshots - continue preserving Gallery media, storage, capability metadata, and recovery backups - cover snapshot and restore behavior with the focused launcher regression ## Download-scope audit - source archives do not track files under `packages/server/data/` - LLM sidecar model and runtime downloads remain behind explicit install/download routes - startup and status synchronization continue to use `allowRuntimeInstall: false` - local ONNX/Transformers dependencies used by embeddings and Whisper are a separate base-install packaging concern, not copied sidecar payloads ## Validation - [ ] `node scripts/regressions/launcher-update.regression.mjs` - [ ] `pnpm check` ## Manual verification - [ ] Manually verify an update snapshot remains small with downloaded local models present. - [ ] Manually verify user-created Gallery and storage data restore after an interrupted update. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:12:21 +07:00
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#6641
No description provided.