mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6732] [Issue]: The client build fails when the checkout path contains "react" #3773
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3773
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kolacheee on GitHub (Sep 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6732
Originally assigned to: @SpicyMarinara on GitHub.
Summary
The client build fails when the checkout path contains the letters "react" anywhere, for example a folder named
me-bestiary-reactionsor a user namedreactor. Every dependency is put into thevendor-reactchunk, which then breaks the 500 kB chunk budget.Expected behavior
Where the repository sits on disk does not change how the client bundle is split, and
pnpm buildpasses.Actual behavior
manualChunksinpackages/client/vite.config.tstests the whole absolute module id:With a checkout at
/home/kolache/Documents/GitHub/me-bestiary-reactions, every id undernode_modulescontains "react", so the other vendor rules below that line never run. The build then stops with:The same commit in a folder without "react" in its path builds with
vendor-reactat 346.52 kB.Steps to reproduce
staging(4629eb913) into a folder whose path contains "react", for examplegit worktree add ../reaction-test origin/staging.pnpm install --frozen-lockfileand thenpnpm check(orpnpm build).Environment
stagingat4629eb913Logs, screenshots, or video
See the build error above.
Additional context
Reading only the part of the id after the last
node_modules/before the vendor tests would make the split independent of the install location. Anything that builds the client from such a folder fails the same way.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Sep 27, 2026):
Taking ownership as @SpicyMarinara in
codex/sept27-assigned-sweep. This is included in the maintainer's assigned-issue sweep againststaging. I am tracing the existing implementation and will keep the fix focused, with the relevant validation recorded on the linked PR.