mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4432] [Issue]: Switching from stable to staging can leave stale files and fail the build #2404
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#2404
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 (Aug 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4432
Originally assigned to: @SpicyMarinara on GitHub.
Summary
A fresh Marinara Engine 2.34 installation fails to build after switching from the stable channel to staging. Removing the stale file and rebuilding allows the process to progress, but subsequent builds still fail with additional errors.
Expected behavior
Switching from the stable channel to staging should update the working tree cleanly and allow Marinara Engine to install, build, and run successfully.
Actual behavior
The channel switch left a stale source file, causing the staging build to fail. After removing the file, clearing the related stash entry, and running the recommended install/build commands, the build progressed but failed again.
Steps to reproduce
Environment
Logs, screenshots, or video
Attached screenshots: https://cdn.discordapp.com/attachments/1533165246577901658/1533165246896672818/Screenshot_2026-08-01_123017.png?ex=6a6f7ee7&is=6a6e2d67&hm=cfd5b9629ab36bc96fbfa9040354f7291288705b258a71adfddf89e650a814ce&; https://cdn.discordapp.com/attachments/1533165246577901658/1533189859185922058/image.png?ex=6a6f95d3&is=6a6e4453&hm=1c89ab20aeee3dcfd2882325f6104fb053868d3b4d26386ea2b9f23ed279b76e&; https://cdn.discordapp.com/attachments/1533165246577901658/1533190561043845130/image.png?ex=6a6f967b&is=6a6e44fb&hm=108a77f3fddbda734bfe8d32f91cc2abad6b82d531db23e672a7dc89f952a5e5&. Error text was not provided in the Discord context.
Additional context
Related issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4421. Related pull request: https://github.com/Pasta-Devs/Marinara-Engine/pull/4422. Support instructions included deleting packages\shared\src\constants\chat-mode-capabilities.ts, checking git stash list, dropping an auto-stash entry if present, then running pnpm run build. The user reported that the problem began during an attempted update, which had been failing randomly.
Discord thread: Current staging won't install
Discord thread link: https://discord.com/channels/1417099416812392641/1533165246577901658
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (13 messages)
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 (Aug 1, 2026):
Confirmed from the attached screenshots:
packages/shared/src/constants/chat-mode-capabilities.tsis tracked onmainand absent fromstaging.packages/server/src/services/noodle/noodle-private-generation.service.tsis likewise tracked onmainand absent fromstaging.The later Noodle/NoodleR TypeScript errors therefore have the same cause as #4421: additional stale
mainsource survived the channel switch. PR #4422 already fixes the complete case by running a scopedgit clean -fd -- packages/shared/src packages/server/src packages/client/srcbefore the untracked-file stash and before build/install in the manual apply path. That removes both files shown here without touching.env, user data, configuration, or ignored build output.The fix is present on
stagingand in the v2.4.0 release-candidate branch (#4410). Closing this as a duplicate of #4421 / fixed by #4422.