[PR #5129] [MERGED] fix(launcher): explain when Git updates are unavailable #6642

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/5129
Author: @SpicyMarinara
Created: 8/16/2026
Status: ✅ Merged
Merged: 8/16/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/5123-nongit-launcher-message


📝 Commits (4)

  • 646a352 fix(launcher): explain unavailable updates without git
  • ed107bb Merge remote-tracking branch 'origin/staging' into fix/5123-nongit-launcher-message
  • 4a061ea docs(launcher): clarify non-Git build checks
  • 0d47a1f Merge remote-tracking branch 'origin/staging' into fix/5123-nongit-launcher-message

📊 Changes

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

View changed files

📝 CHANGELOG.md (+1 -0)
📝 scripts/regressions/launcher-update.regression.mjs (+5 -0)
📝 start.bat (+4 -1)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.

Linked issue

Closes #5123

Why this change

The Windows launcher correctly cannot run its Git-based updater when .git is absent, but it silently skipped that path. A copied or archive-extracted installation could therefore remain stale indefinitely while every launch appeared successful.

What changed

  • Print one explicit status line before continuing without automatic updates in a non-Git install.
  • Pin the message and control-flow order in the launcher update regression.
  • Add a user-facing changelog entry.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

Automated evidence:

  • node scripts/regressions/launcher-update.regression.mjs passes.
  • git diff --check passes (with Git's expected CRLF checkout notice for start.bat).

Remaining manual verification:

  • Launch start.bat from a Windows copy without .git and confirm the message appears before normal startup continues.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] <paths> follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

CHANGELOG.md is updated. No user-facing docs, localization, translated docs, or release metadata changes are required.

UI evidence (if applicable)

Not applicable; this changes one Windows terminal status line.

Summary by CodeRabbit

  • Bug Fixes

    • Windows launcher installations without Git now clearly report that automatic updates are unavailable.
    • Non-Git installations skip update and stale-build checks instead of failing silently.
  • Tests

    • Added regression coverage to verify the launcher’s non-Git installation behavior.
  • Documentation

    • Added an unreleased changelog entry describing the updated launcher behavior.

🔄 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/5129 **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/5123-nongit-launcher-message` --- ### 📝 Commits (4) - [`646a352`](https://github.com/Pasta-Devs/Marinara-Engine/commit/646a352bacf96a3d09b58cf3a7310b0694ca885d) fix(launcher): explain unavailable updates without git - [`ed107bb`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ed107bb592aad40dde9942ef35c695ffe5bafa2f) Merge remote-tracking branch 'origin/staging' into fix/5123-nongit-launcher-message - [`4a061ea`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4a061ea27ea29a1a39995371a628f33771b4a8e3) docs(launcher): clarify non-Git build checks - [`0d47a1f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0d47a1f1da1aa92a4e5c0d1646aa918a7bb8838f) Merge remote-tracking branch 'origin/staging' into fix/5123-nongit-launcher-message ### 📊 Changes **3 files changed** (+10 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `scripts/regressions/launcher-update.regression.mjs` (+5 -0) 📝 `start.bat` (+4 -1) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. ## Linked issue Closes #5123 ## Why this change The Windows launcher correctly cannot run its Git-based updater when `.git` is absent, but it silently skipped that path. A copied or archive-extracted installation could therefore remain stale indefinitely while every launch appeared successful. ## What changed - Print one explicit status line before continuing without automatic updates in a non-Git install. - Pin the message and control-flow order in the launcher update regression. - Add a user-facing changelog entry. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Automated evidence: - `node scripts/regressions/launcher-update.regression.mjs` passes. - `git diff --check` passes (with Git's expected CRLF checkout notice for `start.bat`). Remaining manual verification: - Launch `start.bat` from a Windows copy without `.git` and confirm the message appears before normal startup continues. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n] <paths>` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) `CHANGELOG.md` is updated. No user-facing docs, localization, translated docs, or release metadata changes are required. ## UI evidence (if applicable) Not applicable; this changes one Windows terminal status line. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Windows launcher installations without Git now clearly report that automatic updates are unavailable. * Non-Git installations skip update and stale-build checks instead of failing silently. * **Tests** * Added regression coverage to verify the launcher’s non-Git installation behavior. * **Documentation** * Added an unreleased changelog entry describing the updated launcher behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <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#6642
No description provided.