[PR #3176] [MERGED] [codex] Fix Windows server builds from paths with spaces #5829

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3176
Author: @SpicyMarinara
Created: 7/3/2026
Status: ✅ Merged
Merged: 7/3/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/fix-windows-server-build-path-spaces


📝 Commits (3)

  • b92ec66 Fix Windows server build paths with spaces
  • 3e2773e Merge staging into Windows build path branch
  • 4ccf01a Merge staging into Windows build path branch

📊 Changes

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

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/server/scripts/build.mjs (+3 -4)

📄 Description

Summary

  • Runs the server TypeScript build through process.execPath and the resolved typescript/bin/tsc CLI file.
  • Removes the Windows shell fallback from the server build wrapper so install paths containing spaces are not split by cmd/shim resolution.
  • Adds a changelog note for the staging update/build fix.

Why

A Windows user updating to staging from F:\A.I\Marinara Engine\... hit Cannot find module 'F:\A.I\Marinara' during @marinara-engine/server build. The path was being split at the space in Marinara Engine while launching the compiler through shell/shim resolution.

Validation

  • pnpm --filter @marinara-engine/server build
  • node ./scripts/build.mjs from /tmp/Marinara Engine/packages/server symlink path
  • pnpm --filter @marinara-engine/server lint
  • git diff --check

🔄 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/3176 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/3/2026 **Status:** ✅ Merged **Merged:** 7/3/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/fix-windows-server-build-path-spaces` --- ### 📝 Commits (3) - [`b92ec66`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b92ec66c46b689c09ca719122c559b4d22858515) Fix Windows server build paths with spaces - [`3e2773e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3e2773ec4ab583904d9f6f3e6fc8d7ff261d4f7a) Merge staging into Windows build path branch - [`4ccf01a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4ccf01a3c43d50da1c7fbfb6f5acbfecc30233f9) Merge staging into Windows build path branch ### 📊 Changes **2 files changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/server/scripts/build.mjs` (+3 -4) </details> ### 📄 Description ## Summary - Runs the server TypeScript build through `process.execPath` and the resolved `typescript/bin/tsc` CLI file. - Removes the Windows shell fallback from the server build wrapper so install paths containing spaces are not split by `cmd`/shim resolution. - Adds a changelog note for the staging update/build fix. ## Why A Windows user updating to staging from `F:\A.I\Marinara Engine\...` hit `Cannot find module 'F:\A.I\Marinara'` during `@marinara-engine/server build`. The path was being split at the space in `Marinara Engine` while launching the compiler through shell/shim resolution. ## Validation - pnpm --filter @marinara-engine/server build - node ./scripts/build.mjs from `/tmp/Marinara Engine/packages/server` symlink path - pnpm --filter @marinara-engine/server lint - git diff --check --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:19:56 +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#5829
No description provided.