mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #122] [MERGED] Harden sidecar runtime startup and recovery #4474
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#4474
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/122
Author: @ghost
Created: 4/19/2026
Status: ✅ Merged
Merged: 4/20/2026
Merged by: @SpicyMarinara
Base:
main← Head:fix/sidecar-runtime-recovery📝 Commits (4)
b6b5355Harden sidecar runtime startup and recovery33608d1Merge origin/main into fix/sidecar-runtime-recoveryfb13b2dImprove sidecar diagnostics and local test message7f676b4Fix sidecar Docker runtime startup📊 Changes
13 files changed (+2235 additions, -317 deletions)
View changed files
📝
Dockerfile(+7 -0)📝
packages/client/src/components/game/GameSurface.tsx(+36 -0)📝
packages/client/src/components/modals/ModelDownloadModal.tsx(+276 -45)📝
packages/client/src/components/panels/ConnectionsPanel.tsx(+79 -7)📝
packages/client/src/stores/sidecar.store.ts(+156 -4)📝
packages/server/src/app.ts(+1 -1)📝
packages/server/src/routes/sidecar.routes.ts(+45 -4)➕
packages/server/src/services/sidecar/mlx-runtime.service.ts(+358 -0)📝
packages/server/src/services/sidecar/sidecar-inference.service.ts(+164 -24)📝
packages/server/src/services/sidecar/sidecar-model.service.ts(+299 -32)📝
packages/server/src/services/sidecar/sidecar-process.service.ts(+349 -110)📝
packages/server/src/services/sidecar/sidecar-runtime.service.ts(+383 -84)📝
packages/shared/src/types/sidecar.ts(+82 -6)📄 Description
Summary
This PR hardens Marinara's local sidecar runtime so startup failures no longer softlock the app, while also improving runtime selection, recovery, and diagnostics.
/sidecar/statuspolling from repeatedly retrying the same known-bad startup config-sm nonellama-server startup argllama-server, and the last launch commandUser-Facing Changes
Retry StartupReinstall RuntimeContinue Without Local AIRuntime Selection / Recovery
llama-serverfromPATH:MARINARA_SIDECAR_USE_SYSTEM_LLAMA=1MARINARA_SIDECAR_USE_SYSTEM_LLAMA_SERVER=1Verification
pnpm checkNotes
docs/superpowers/🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.