mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1753] [MERGED] Fix legacy sidecar embedding selection #5261
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#5261
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/1753
Author: @cha1latte
Created: 5/31/2026
Status: ✅ Merged
Merged: 5/31/2026
Merged by: @cha1latte
Base:
refactor← Head:codex/issue-1747-local-sidecar-embeddings📝 Commits (1)
bb83b79Fix legacy sidecar embedding selection📊 Changes
3 files changed (+148 additions, -6 deletions)
View changed files
📝
src-tauri/src/commands/storage/prompts.rs(+136 -4)📝
src/features/catalog/lorebooks/components/LorebookEditor.tsx(+5 -1)📝
src/features/shell/connections/components/ConnectionEditor.tsx(+7 -1)📄 Description
Linked issue
Closes #1747
Why this change
__local_sidecar__). In the refactor, the old managed sidecar runtime is retired, so that legacy id must not be offered or routed as an embedding-capable connection.What changed
__local_sidecar__id before Rust embedding resolution reaches provider transport.__local_sidecar__rows from lorebook vectorization and connection embedding override dropdowns.Refactor impact
Primary owner:
Rust storage / catalog connections and lorebook vectorization
Impact areas reviewed:
src-tauri/src/commands/storage/prompts.rsembedding resolver and lorebook vectorization pathsrc/features/catalog/lorebooks/components/LorebookEditor.tsxSemantic Search embedding pickersrc/features/shell/connections/components/ConnectionEditor.tsxembedding override pickerBoundary notes:
Pressure points touched:
Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses locally before PR push/handoff, including the unused-code checkpnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyCodex-run proof:
cargo test --manifest-path src-tauri/Cargo.toml legacy_local_sidecar -- --nocapturepassed, 4 tests.pnpm checkpassed locally.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch/bugfix-verification.jsonpassed.Manual verification notes
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs changes needed: the refactor docs already state the old managed sidecar is retired and normal embedding-capable connections should be used.
UI evidence
N/A. The visible symptom is the stale Local Model sidecar appearing as an embedding/vectorization choice, but the core fix is the embedding resolver contract plus picker filtering. The behavior is covered by Rust regression tests, TypeScript typecheck, and
pnpm check.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.