[PR #5065] [MERGED] fix(launcher): skip capability runtime junction in snapshots #6613

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

📋 Pull Request Information

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

Base: staging ← Head: fix/5052-launcher-snapshot-junction


📝 Commits (5)

  • b6738de fix(launcher): skip capability runtime junction snapshots
  • 0e07d5c Merge branch 'staging' into fix/5052-launcher-snapshot-junction
  • 7b1b6a0 Merge branch 'staging' into fix/5052-launcher-snapshot-junction
  • 473af7d chore(launcher): keep snapshot patch focused
  • f5451e4 Merge remote-tracking branch 'origin/fix/5052-launcher-snapshot-junction' into fix/5052-launcher-snapshot-junction

📊 Changes

3 files changed (+31 additions, -1 deletions)

View changed files

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

📄 Description

Linked issue

Closes #5052

Why this change

Windows launcher updates can fail before Git runs because the data snapshot tries to recreate the generated capability-package node_modules junction. That runtime link is rebuildable and must not be treated as user data.

What changed

  • Excluded only DATA_DIR/capability-packages/node_modules from update snapshots.
  • Kept capability package metadata and all other user data in the snapshot and restore flow.
  • Added a junction-backed launcher regression and a user-facing changelog entry.

Validation

  • pnpm regression:launcher-update
  • pnpm check
  • Manually verify a Windows launcher update against an installed capability package

Docs and release impact

  • Confirm no documentation or version update is required

Manual verification still requested: run the Windows launcher with an existing capability-package runtime junction and confirm snapshot, update, and runtime-link recreation complete normally.


🔄 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/5065 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/15/2026 **Status:** ✅ Merged **Merged:** 8/15/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/5052-launcher-snapshot-junction` --- ### 📝 Commits (5) - [`b6738de`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b6738de9898b02ffa0fe24092c417801f62aa9da) fix(launcher): skip capability runtime junction snapshots - [`0e07d5c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0e07d5c17a71eb144a3bc44a53e3f8d17f8888d1) Merge branch 'staging' into fix/5052-launcher-snapshot-junction - [`7b1b6a0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7b1b6a0994e28797581e7f141f1669825f67ad9a) Merge branch 'staging' into fix/5052-launcher-snapshot-junction - [`473af7d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/473af7d69f6c932e3f92372c7d0fb9456a02a676) chore(launcher): keep snapshot patch focused - [`f5451e4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/f5451e437aca6893f5430bc801245b9c16d89ac4) Merge remote-tracking branch 'origin/fix/5052-launcher-snapshot-junction' into fix/5052-launcher-snapshot-junction ### 📊 Changes **3 files changed** (+31 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `scripts/protect-launcher-data.mjs` (+2 -0) 📝 `scripts/regressions/launcher-update.regression.mjs` (+28 -1) </details> ### 📄 Description ## Linked issue Closes #5052 ## Why this change Windows launcher updates can fail before Git runs because the data snapshot tries to recreate the generated capability-package `node_modules` junction. That runtime link is rebuildable and must not be treated as user data. ## What changed - Excluded only `DATA_DIR/capability-packages/node_modules` from update snapshots. - Kept capability package metadata and all other user data in the snapshot and restore flow. - Added a junction-backed launcher regression and a user-facing changelog entry. ## Validation - [ ] `pnpm regression:launcher-update` - [ ] `pnpm check` - [ ] Manually verify a Windows launcher update against an installed capability package ## Docs and release impact - [ ] Confirm no documentation or version update is required Manual verification still requested: run the Windows launcher with an existing capability-package runtime junction and confirm snapshot, update, and runtime-link recreation complete normally. --- <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:04 +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#6613
No description provided.