mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4291] [MERGED] Pin and verify local runtime assets #6319
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#6319
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/4291
Author: @SpicyMarinara
Created: 7/30/2026
Status: ✅ Merged
Merged: 7/30/2026
Merged by: @SpicyMarinara
Base:
staging← Head:security/pin-local-runtime-assets📝 Commits (2)
aa916f3security: pin and verify local runtime assetscdb43b6address runtime integrity review feedback📊 Changes
11 files changed (+1249 additions, -196 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
docs/TROUBLESHOOTING.md(+11 -0)📝
docs/connections/local-model.md(+4 -0)📝
package.json(+2 -1)➕
packages/server/src/assets/mlx-runtime-requirements.in(+11 -0)➕
packages/server/src/assets/mlx-runtime-requirements.lock(+556 -0)📝
packages/server/src/services/sidecar/mlx-runtime.service.ts(+183 -69)➕
packages/server/src/services/sidecar/runtime-integrity-manifest.ts(+215 -0)📝
packages/server/src/services/sidecar/sidecar-download.ts(+14 -0)📝
packages/server/src/services/sidecar/sidecar-runtime.service.ts(+47 -126)➕
scripts/regressions/runtime-integrity.regression.ts(+205 -0)📄 Description
Linked issue
Closes #4285
Why this change
Local-model setup crosses a supply-chain boundary when it downloads and executes or extracts upstream artifacts. Mutable refs and unverified bootstrap paths make the installed bytes depend on upstream state at download time rather than a repository-reviewed expectation.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated proof completed before publication:
pnpm regression:runtime-integritypnpm checkpnpm version:checkgit diff --check staging...security/pin-local-runtime-assetsManual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)English documentation and
CHANGELOG.mdare updated. Translation follow-up: #4289.UI evidence (if applicable)
Not applicable; this changes server-side runtime acquisition and integrity checks.
Summary by CodeRabbit
Security
Documentation
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.