mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8929] [Issue]: Built-in decision model can't be reinstalled after its runtime goes out of date #8558
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#8558
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 (Nov 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8929
Originally assigned to: @kolacheee on GitHub.
Summary
When an update changes the built-in decision model's runtime pins (for example uv 0.12.0 to 0.13.5 in
DECISION_RUNTIME_MANIFEST), an existing install stops working, and the UI gives no way to repair it. The Decision row turns orange and says "Not available right now", and the header counts it as "1 needs a model". The Built-in model (decisions) window still marks the model Installed and keeps Install selected disabled for it.Expected behavior
When the model is downloaded but the runtime is out of date, the window offers Reinstall. That rebuilds the runtime and keeps the downloaded weights, which
downloadModelalready skips by size and hash. The Decision row's warning should also lead to that window.Actual behavior
decisionRuntimeInstalled()is false becauseruntime-stamp.txtno longer matchesserializeDecisionRuntimeManifestStamp().describeDecisionSlot("decision")then returnsnot_installed.DecisionModelModaldisables Install wheneverselected.id === installedId, without looking atruntimeInstalled.ConnectionDefaults, only theprimaryslot'sno_model/not_installedgets a fix. The decision sidecar slot gets a plain "Unavailable" with no button.POST /api/decision/sidecar/installby hand.Steps to reproduce
DECISION_RUNTIME_MANIFESTdiffers (or editdata/sidecar-runtime/decision/runtime-stamp.txt).Environment
Logs, screenshots, or video
The stamp on disk had
"uv":{"version":"0.12.0",…}, while the manifest now pins0.13.5.Additional context
The workaround is to run
fetch('/api/decision/sidecar/install', {method:'POST', headers:{'content-type':'application/json','x-marinara-csrf':'1'}, body: JSON.stringify({modelId:'open-jev-2b'})})from the browser console. It rebuilds the runtime and keeps the weights.Template check