[PR #1046] [MERGED] Fix Windows sidecar runtime install default #4898

Closed
opened 2026-10-22 04:11:32 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1046
Author: @cha1latte
Created: 5/20/2026
Status: ✅ Merged
Merged: 5/20/2026
Merged by: @cha1latte

Base: staging ← Head: fix/issue-1030-sidecar-install


📝 Commits (1)

  • 63b2db5 Fix Windows sidecar runtime install default

📊 Changes

2 files changed (+2 additions, -1 deletions)

View changed files

📝 docs/CONFIGURATION.md (+1 -1)
📝 start.bat (+1 -0)

📄 Description

Linked issue

Closes #1030

Why this change

  • One-click Windows installer users can hit Download request failed (403): Sidecar runtime install is disabled when trying to install the local sidecar runtime. They launched through start.bat and do not have an obvious .env edit path, so the local runtime installer was blocked by default.

What changed

  • Default SIDECAR_RUNTIME_INSTALL_ENABLED=true in start.bat only when the user has not already set the variable.
  • Documented the Windows launcher default and the .env opt-out in docs/CONFIGURATION.md.

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

  • Codex route-level repro before fix: pnpm --filter @marinara-engine/server exec tsx ../../scratch/issue-1030-sidecar-runtime-guard.ts launcher-default returned statusCode: 403 with Sidecar runtime install is disabled.
  • Codex route-level verification after fix: the same launcher-default probe returned statusCode: 200 and reached the stubbed runtime installer.
  • Codex edge case: explicit opt-out via SIDECAR_RUNTIME_INSTALL_ENABLED=false still returned statusCode: 403.
  • Codex edge case: admin-secret authorization still returned statusCode: 200.
  • Codex baseline: pnpm check passed locally.
  • Bunny maintainer-equivalent review pass completed before opening this PR.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

N/A - command/server launcher behavior; no visual UI change.


🔄 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/1046 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/20/2026 **Status:** ✅ Merged **Merged:** 5/20/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `staging` ← **Head:** `fix/issue-1030-sidecar-install` --- ### 📝 Commits (1) - [`63b2db5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/63b2db5a2a6b6a0bc7f877aa23c10c9444748911) Fix Windows sidecar runtime install default ### 📊 Changes **2 files changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/CONFIGURATION.md` (+1 -1) 📝 `start.bat` (+1 -0) </details> ### 📄 Description <!-- Target branch: `staging`. The default base in this UI is `main` (release branch). --> <!-- Change the base to `staging` before submitting unless this is a maintainer-approved mainline change. --> <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue <!-- Every PR should reference a feature request or issue report. If there isn't one yet, open one first to gather opinions: --> <!-- https://github.com/Pasta-Devs/Marinara-Engine/issues/new/choose --> Closes #1030 ## Why this change <!-- What user problem, bug, or goal does this solve? --> - One-click Windows installer users can hit `Download request failed (403): Sidecar runtime install is disabled` when trying to install the local sidecar runtime. They launched through `start.bat` and do not have an obvious `.env` edit path, so the local runtime installer was blocked by default. ## What changed <!-- List the key changes in this PR --> - Default `SIDECAR_RUNTIME_INSTALL_ENABLED=true` in `start.bat` only when the user has not already set the variable. - Documented the Windows launcher default and the `.env` opt-out in `docs/CONFIGURATION.md`. ## Validation <!-- Required: include commands run and/or manual checks performed --> - [ ] `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 <!-- Describe exactly what you tested in a real browser/app, step by step. --> <!-- ⚠️ If an AI agent filled out or ticked these boxes for you, treat them --> <!-- as a TO-DO LIST, not as proof the work is done. Verify each item yourself --> <!-- before submitting. If you haven't verified it, untick the box. --> - Codex route-level repro before fix: `pnpm --filter @marinara-engine/server exec tsx ../../scratch/issue-1030-sidecar-runtime-guard.ts launcher-default` returned `statusCode: 403` with `Sidecar runtime install is disabled`. - Codex route-level verification after fix: the same launcher-default probe returned `statusCode: 200` and reached the stubbed runtime installer. - Codex edge case: explicit opt-out via `SIDECAR_RUNTIME_INSTALL_ENABLED=false` still returned `statusCode: 403`. - Codex edge case: admin-secret authorization still returned `statusCode: 200`. - Codex baseline: `pnpm check` passed locally. - Bunny maintainer-equivalent review pass completed before opening this PR. ## Docs and release impact - [ ] No docs changes needed - [x] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) N/A - command/server launcher behavior; no visual UI change. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:11:32 +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#4898
No description provided.