mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7003] [Issue]: Professor Mari can change Marinara's built files (dist) #3921
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#3921
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 @SpicyMarinara on GitHub (Oct 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7003
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Professor Mari can change Marinara's built app files (the
distfolders the app runs from). A broken line written there stops the server from starting until a reinstall, which is what #6984 looks like.Expected behavior
Mari can read build output but never create, edit, move or delete it. To change the app, she edits the source and rebuilds.
Actual behavior
On current staging:
packages/<pkg>/distlike any other workspace path, so write, edit, copy, move and remove all reach it.if(, raw) { }intopackages/server/dist/index.js, create a missing clientdist, and move a package folder away and back.Steps to reproduce
packages/server/dist/index.js, or run a shell command that writes there.SyntaxError.Environment
Logs, screenshots, or video
See #6984 for the reported
SyntaxErrorinpackages/server/dist/services/generation/conversation-command-runtime.js.Additional context
Found while tracing #6984. The only in-app writer that can reach
packages/server/distis Professor Mari's workspace tools. #6994 makes the launchers repair a damaged build; this issue is about not damaging it in the first place.Tracing her shell also showed that a very long one-line command from Mari can freeze Marinara for a minute or more: the check that looks for writes to sensitive files slows down sharply on long commands, and it runs on the server's main thread.
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 (Oct 3, 2026):
Fixed in staging by #7005, and it ships in the next release. Professor Mari can still read the built
distfolders but can no longer create, edit, move or delete anything in them, and a very long shell command from her no longer freezes Marinara. #7004 tracks the translated guide.